aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
Diffstat (limited to 'dzen.h')
-rw-r--r--dzen.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/dzen.h b/dzen.h
index be82e44..654cdb6 100644
--- a/dzen.h
+++ b/dzen.h
@@ -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;