From 59635919ea4825fa50059bca3aebb9c84e84e410 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 18 Jul 2016 23:49:26 +0200 Subject: Add selection indicator to dmenu mode. --- include/textbox.h | 19 ++++++++++--------- include/view.h | 2 ++ 2 files changed, 12 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/textbox.h b/include/textbox.h index 455904f8..94c981be 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -39,15 +39,16 @@ typedef struct typedef enum { - TB_AUTOHEIGHT = 1 << 0, - TB_AUTOWIDTH = 1 << 1, - TB_LEFT = 1 << 16, - TB_RIGHT = 1 << 17, - TB_CENTER = 1 << 18, - TB_EDITABLE = 1 << 19, - TB_MARKUP = 1 << 20, - TB_WRAP = 1 << 21, - TB_PASSWORD = 1 << 22, + TB_AUTOHEIGHT = 1 << 0, + TB_AUTOWIDTH = 1 << 1, + TB_LEFT = 1 << 16, + TB_RIGHT = 1 << 17, + TB_CENTER = 1 << 18, + TB_EDITABLE = 1 << 19, + TB_MARKUP = 1 << 20, + TB_WRAP = 1 << 21, + TB_PASSWORD = 1 << 22, + TB_INDICATOR = 1 << 23, } TextboxFlags; typedef enum diff --git a/include/view.h b/include/view.h index 28f4e438..5ce93d09 100644 --- a/include/view.h +++ b/include/view.h @@ -24,6 +24,8 @@ typedef enum MENU_NORMAL_WINDOW = 2, /** ERROR dialog */ MENU_ERROR_DIALOG = 4, + /** INDICATOR */ + MENU_INDICATOR = 8, } MenuFlags; /** -- cgit v1.2.3