mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-08 15:18:26 +00:00
30 lines
962 B
C++
30 lines
962 B
C++
#pragma once
|
|
|
|
#include "UIControl_ButtonList.h"
|
|
|
|
class UIControl_SaveList : public UIControl_ButtonList {
|
|
private:
|
|
IggyName m_funcSetTextureName;
|
|
|
|
public:
|
|
virtual bool setupControl(UIScene* scene, IggyValuePath* parent,
|
|
const std::string& controlName);
|
|
|
|
using UIControl_ButtonList::addItem;
|
|
|
|
void addItem(const std::wstring& label);
|
|
void addItem(const std::string& label);
|
|
|
|
void addItem(const std::wstring& label, int data);
|
|
void addItem(const std::string& label, int data);
|
|
|
|
void addItem(const std::string& label, const std::wstring& iconName);
|
|
void addItem(const std::wstring& label, const std::wstring& iconName);
|
|
void setTextureName(int iId, const std::wstring& iconName);
|
|
|
|
private:
|
|
void addItem(const std::string& label, const std::wstring& iconName,
|
|
int data);
|
|
void addItem(const std::wstring& label, const std::wstring& iconName,
|
|
int data);
|
|
}; |