added everything
This commit is contained in:
37
engine/gui/controls/guiCheckBoxCtrl.h
Executable file
37
engine/gui/controls/guiCheckBoxCtrl.h
Executable file
@@ -0,0 +1,37 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (C) GarageGames.com, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef _GUICHECKBOXCTRL_H_
|
||||
#define _GUICHECKBOXCTRL_H_
|
||||
|
||||
#ifndef _GUIBUTTONBASECTRL_H_
|
||||
#include "gui/controls/guiButtonBaseCtrl.h"
|
||||
#endif
|
||||
|
||||
class GuiCheckBoxCtrl : public GuiButtonBaseCtrl
|
||||
{
|
||||
typedef GuiButtonBaseCtrl Parent;
|
||||
|
||||
bool mUseInactiveState;
|
||||
|
||||
protected:
|
||||
public:
|
||||
S32 mIndent;
|
||||
DECLARE_CONOBJECT(GuiCheckBoxCtrl);
|
||||
GuiCheckBoxCtrl();
|
||||
|
||||
void setStateOn(S32 state);
|
||||
virtual const char* getScriptValue();
|
||||
|
||||
virtual void onMouseDown(const GuiEvent& event);
|
||||
virtual void onMouseUp(const GuiEvent& event);
|
||||
virtual void onAction();
|
||||
void onRender(Point2I offset, const RectI &updateRect);
|
||||
bool onWake();
|
||||
|
||||
static void initPersistFields();
|
||||
};
|
||||
|
||||
#endif //_GUI_CHECKBOX_CTRL_H
|
||||
Reference in New Issue
Block a user