#pragma once #include "UIControl_List.h" class UIControl_MultiList : public UIControl_List { protected: IggyName m_funcAddNewItemLabel, m_funcAddNewItemButton, m_funcAddNewItemCheckBox, m_funcAddNewItemSlider, m_funcAddNewItemTextInput; IggyName m_funcGetCheckBox, m_funcGetSliderValue; IggyName m_funcSetCheckBox, m_funcSetSliderValue; int m_itemCount; int m_iCurrentSelection; int m_min, m_max; int m_current; public: UIControl_MultiList(); bool setupControl(UIScene* scene, IggyValuePath* parent, const std::string& controlName); void AddNewLabel(UIString label); // IDA says no id here void AddNewButton(UIString label, int id); void AddNewCheckbox(UIString label, int id, bool checked); void AddNewSlider(UIString label, int id, int min, int max, int current); void AddNewTextInput(UIString label, int id); void IsCheckbox(UIString label, int id, bool checked); void SetCheckbox(UIString label, int id, bool checked); void GetCheckbox(UIString label, int id, bool checked); void SetSliderValue(UIString label, int id, bool checked); void GetSliderValue(UIString label, int id, bool checked); };