From c01391c12399081eb3c418142c59885f76011145 Mon Sep 17 00:00:00 2001 From: that Date: Thu, 9 Jul 2015 00:19:58 +0200 Subject: gui: allow listbox to be used as menu and as read-only list Also enable string insertion for list items. Example how to make a menu item: 255 If no element and no actions on any items exist, the list is read only and no item selection is possible. Change-Id: Ib2668a982df2514484d44faa0396dd17550f39f3 --- gui/objects.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/objects.hpp') diff --git a/gui/objects.hpp b/gui/objects.hpp index be1f9734f..f8569d6ea 100644 --- a/gui/objects.hpp +++ b/gui/objects.hpp @@ -634,6 +634,7 @@ protected: std::string displayName; std::string variableValue; unsigned int selected; + GUIAction* action; }; protected: -- cgit v1.2.3