summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r--gui/objects.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/objects.hpp b/gui/objects.hpp
index 99bf0dbfa..7028956ad 100644
--- a/gui/objects.hpp
+++ b/gui/objects.hpp
@@ -632,16 +632,18 @@ public:
virtual void NotifySelect(size_t item_selected);
protected:
- struct ListData {
+ struct ListItem {
std::string displayName;
std::string variableName;
std::string variableValue;
unsigned int selected;
GUIAction* action;
+ std::vector<Condition> mConditions;
};
protected:
- std::vector<ListData> mList;
+ std::vector<ListItem> mListItems;
+ std::vector<size_t> mVisibleItems; // contains indexes in mListItems of visible items only
std::string mVariable;
std::string currentValue;
ImageResource* mIconSelected;