diff options
Diffstat (limited to 'dzen.h')
-rw-r--r-- | dzen.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -28,6 +28,7 @@ typedef struct DZEN Dzen; typedef struct Fnt Fnt; typedef struct TW TWIN; typedef struct SW SWIN; +typedef struct _Sline Sline; struct Fnt { XFontStruct *xfont; @@ -37,6 +38,12 @@ struct Fnt { int height; }; +struct _Sline { + unsigned long fg; + unsigned long bg; + char * text; +}; + /* title window */ struct TW { int x, y, width, height; @@ -56,9 +63,12 @@ struct SW { Drawable *drawable; /* input buffer */ - char **tbuf; + //char **tbuf; + Sline *tbuf; int tsize; int tcnt; + /* line fg colors */ + unsigned long *tcol; int max_lines; int first_line_vis; |