added basic BlitzInput struct

This commit is contained in:
Anselm R. Garbe 2006-06-22 11:53:05 +02:00
parent ff0f239614
commit 50eaf26b36

View File

@ -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);