aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-12-22 14:35:58 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-12-22 14:35:58 +0000
commit67ca34039c1c81c6e0102386c723fd09bbc040e2 (patch)
treeb0d6467742c4a95bfec35baa49792237b27df090 /dzen.h
parent8267971cf3e888709413ece5cfd1f73e360a7753 (diff)
downloaddzen-67ca34039c1c81c6e0102386c723fd09bbc040e2.tar.gz
dzen-67ca34039c1c81c6e0102386c723fd09bbc040e2.zip
added "-expand" option. automatically grows/srinks the window to fit the
input width git-svn-id: http://dzen.googlecode.com/svn/trunk@177 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'dzen.h')
-rw-r--r--dzen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dzen.h b/dzen.h
index 59d2fcf..3488157 100644
--- a/dzen.h
+++ b/dzen.h
@@ -32,6 +32,9 @@
/* gui data structures */
enum { ColFG, ColBG, ColLast };
+/* exapansion directions */
+enum { noexpand, left, right, both };
+
typedef struct DZEN Dzen;
typedef struct Fnt Fnt;
typedef struct TW TWIN;
@@ -53,6 +56,8 @@ struct TW {
Window win;
Drawable drawable;
char alignment;
+ int expand;
+ int x_right_corner;
Bool ishidden;
};