From 56ce332315b9b9fdd8f2bff8e00c9471be8b5594 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 30 Jul 2015 15:04:32 -0500 Subject: Allow listbox to have a list of check boxes For an example of how to implement a list of check boxes, see: http://bit.ly/1Giacw2 https://gerrit.omnirom.org/#/c/14284/2/ Change-Id: I0752a084625f4a0ef8cc6d99597f2fb9aa2ab9e0 --- gui/objects.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/objects.hpp') diff --git a/gui/objects.hpp b/gui/objects.hpp index f8569d6ea..624db07f9 100644 --- a/gui/objects.hpp +++ b/gui/objects.hpp @@ -632,6 +632,7 @@ public: protected: struct ListData { std::string displayName; + std::string variableName; std::string variableValue; unsigned int selected; GUIAction* action; @@ -643,6 +644,7 @@ protected: std::string currentValue; ImageResource* mIconSelected; ImageResource* mIconUnselected; + bool isCheckList; }; class GUIPartitionList : public GUIScrollList -- cgit v1.2.3