mirror of
https://github.com/0intro/wmii
synced 2025-01-27 04:23:22 +03:00
added basic BlitzInput struct
This commit is contained in:
parent
ff0f239614
commit
50eaf26b36
@ -15,6 +15,7 @@ typedef enum BlitzAlign BlitzAlign;
|
||||
typedef struct BlitzColor BlitzColor;
|
||||
typedef struct BlitzFont BlitzFont;
|
||||
typedef struct BlitzBrush BlitzBrush;
|
||||
typedef struct BlitzInput BlitzInput;
|
||||
|
||||
struct Blitz {
|
||||
Display *display;
|
||||
@ -59,6 +60,16 @@ struct BlitzBrush {
|
||||
XRectangle rect; /* relative rect */
|
||||
};
|
||||
|
||||
struct BlitzInput {
|
||||
char *text;
|
||||
char *selstart;
|
||||
char *selend;
|
||||
char *cursor;
|
||||
unsigned int size;
|
||||
BlitzBrush norm;
|
||||
BlitzBrush sel;
|
||||
};
|
||||
|
||||
/* color.c */
|
||||
int blitz_loadcolor(Blitz *blitz, BlitzColor *c);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user