diff options
author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2024-02-17 16:42:00 +0000 |
---|---|---|
committer | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2024-02-17 16:42:00 +0000 |
commit | d9a15e56d42e45f021c01d527df67863100840a7 (patch) | |
tree | 7e01ec814a1eae74db53522a2de40f1f81f3f43f /guifs.h | |
parent | c51962a648b3f38fc378ad0081b1d1aa037142d5 (diff) |
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 { |