diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-12-22 14:35:58 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-12-22 14:35:58 +0000 |
commit | 67ca34039c1c81c6e0102386c723fd09bbc040e2 (patch) | |
tree | b0d6467742c4a95bfec35baa49792237b27df090 /dzen.h | |
parent | 8267971cf3e888709413ece5cfd1f73e360a7753 (diff) | |
download | dzen-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; }; |