diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-11-30 14:05:39 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-11-30 14:05:39 +0100 |
commit | 544229d975f4c7eecc80c7a16b7fec4587d4079c (patch) | |
tree | bbfc2fab5ce53866e69b183456ade5f8b3acf41a /include | |
parent | f3897b2a60d10e5c3298e1980484f371194d7b56 (diff) |
Issue #287 mark selected rows.
Diffstat (limited to 'include')
-rw-r--r-- | include/textbox.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/textbox.h b/include/textbox.h index 70bd441b..ce0dc1d2 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -47,15 +47,16 @@ typedef enum NORMAL = 0, URGENT = 1, ACTIVE = 2, - MARKUP = 4, + SELECTED = 4, + MARKUP = 8, // Alternating row. - ALT = 8, + ALT = 16, // Render font highlighted (inverted colors.) - HIGHLIGHT = 16, + HIGHLIGHT = 32, FMOD_MASK = ( ALT | HIGHLIGHT ), - STATE_MASK = ~( MARKUP | ALT | HIGHLIGHT ) + STATE_MASK = ~( SELECTED | MARKUP | ALT | HIGHLIGHT ) } TextBoxFontType; textbox* textbox_create ( TextboxFlags flags, |