diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-11-03 17:34:02 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-11-03 17:34:02 +0100 |
commit | 80ac118655841f32ff816fb13ac647e7c8799599 (patch) | |
tree | ab8ee579bf3c53aad4e830a0c66aaf862b9ca18e /include | |
parent | 6f404ddc8e59c3ca3aa20d1bb0b40a0904df1747 (diff) |
Put things together, making desktop menu work
Diffstat (limited to 'include')
-rw-r--r-- | include/rofi.h | 2 | ||||
-rw-r--r-- | include/textbox.h | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/include/rofi.h b/include/rofi.h index 23faa1d6..e1580b20 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -251,7 +251,7 @@ typedef struct _Settings /** bg image */ unsigned int fake_transparency; /** dpi */ - int dpi; + int dpi; } Settings; /** Global Settings structure. */ diff --git a/include/textbox.h b/include/textbox.h index 7fb53305..9b0c4090 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -49,14 +49,15 @@ typedef enum NORMAL = 0, URGENT = 1, ACTIVE = 2, + MARKUP = 4, // Alternating row. - ALT = 4, + ALT = 8, // Render font highlighted (inverted colors.) - HIGHLIGHT = 8, + HIGHLIGHT = 16, FMOD_MASK = ( ALT | HIGHLIGHT ), - STATE_MASK = ~( ALT | HIGHLIGHT ) + STATE_MASK = ~( MARKUP | ALT | HIGHLIGHT ) } TextBoxFontType; textbox* textbox_create ( TextboxFlags flags, |