From 67ca34039c1c81c6e0102386c723fd09bbc040e2 Mon Sep 17 00:00:00 2001 From: gotmor Date: Sat, 22 Dec 2007 14:35:58 +0000 Subject: 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 --- dzen.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dzen.h') 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; }; -- cgit v1.2.3-54-g00ecf