diff options
Diffstat (limited to 'guifs.h')
-rw-r--r-- | guifs.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -8,6 +8,7 @@ enum { Ptext, Ptextcolour, Pmenus, + Pscroll, Pmax, }; @@ -38,6 +39,10 @@ enum { Xmax, }; +enum { + ScrollbarWidth = 12, +}; + typedef struct Colour Colour; typedef struct Spacing Spacing; typedef struct MenuSpec MenuSpec; @@ -70,6 +75,7 @@ union PropVal { Spacing *spacing; MenuSpec *menus; int orientation; + int scroll; Rune *text; }; @@ -77,7 +83,7 @@ struct PropSpec { char *name; PropVal (*def)(int, int); char *(*print)(PropVal); - char *(*parse)(char *, PropVal *); + char *(*parse)(char *, int, PropVal *); }; struct Prop { |