mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 00:03:37 +00:00
22 lines
504 B
C++
22 lines
504 B
C++
#pragma once
|
|
|
|
#include "UIControl_Base.h"
|
|
|
|
class UIControl_Button : public UIControl_Base {
|
|
private:
|
|
IggyName m_funcEnableButton;
|
|
|
|
public:
|
|
UIControl_Button();
|
|
|
|
virtual bool setupControl(UIScene* scene, IggyValuePath* parent,
|
|
const std::string& controlName);
|
|
|
|
void init(UIString label, int id);
|
|
// void init(const std::wstring &label, int id) {
|
|
// init(UIString::CONSTANT(label), id); }
|
|
|
|
virtual void ReInit();
|
|
|
|
void setEnable(bool enable);
|
|
}; |