aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/UIControl_Button.h
blob: 7369e8a0f0af9f362c69ad11b4e15de10f404426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 string &controlName);

	void init(UIString label, int id);
	//void init(const wstring &label, int id) { init(UIString::CONSTANT(label), id); }

	virtual void ReInit();

	void setEnable(bool enable);
};