15 typedef std::shared_ptr<CGUIListItem> CGUIListItemPtr;
25 VIEW_TYPE m_type = VIEW_TYPE_NONE;
28 IGUIContainer(
int parentID,
int controlID,
float posX,
float posY,
float width,
float height)
29 :
CGUIControl(parentID, controlID, posX, posY, width, height)
33 bool IsContainer()
const override {
return true; }
35 VIEW_TYPE GetType()
const {
return m_type; }
36 const std::string& GetLabel()
const {
return m_label; }
37 void SetType(VIEW_TYPE type,
const std::string &label)
43 virtual CGUIListItemPtr GetListItem(
int offset,
unsigned int flag = 0)
const = 0;
44 virtual std::string GetLabel(
int info)
const = 0;
Base class for controls.
Definition: GUIControl.h:75
Definition: IGUIContainer.h:22