mirror of
https://github.com/tribes2/engine.git
synced 2026-01-20 19:54:46 +00:00
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
//-----------------------------------------------------------------------------
|
|
// V12 Engine
|
|
//
|
|
// Copyright (c) 2001 GarageGames.Com
|
|
// Portions Copyright (c) 2001 by Sierra Online, Inc.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef _EDITORCHECKBOXCTRL_H_
|
|
#define _EDITORCHECKBOXCTRL_H_
|
|
|
|
#ifndef _GUICHECKBOXCTRL_H_
|
|
#include "GUI/guiCheckBoxCtrl.h"
|
|
#endif
|
|
|
|
// JFF - move into gui once finished
|
|
|
|
class EditorCheckBoxCtrl : public GuiCheckBoxCtrl
|
|
{
|
|
private:
|
|
typedef GuiCheckBoxCtrl Parent;
|
|
|
|
protected:
|
|
TextureHandle mTextureHandle;
|
|
StringTableEntry mBitmapName;
|
|
ColorI mMouseOverColor;
|
|
F32 mDepressedAlpha;
|
|
|
|
public:
|
|
DECLARE_CONOBJECT(EditorCheckBoxCtrl);
|
|
|
|
EditorCheckBoxCtrl();
|
|
|
|
// SimObject
|
|
static void initPersistFields();
|
|
static void consoleInit();
|
|
|
|
// GuiControl
|
|
bool onWake();
|
|
void onSleep();
|
|
|
|
void setBitmap(const char *name);
|
|
void onRender(Point2I offset, const RectI &updateRect, GuiControl *firstResponder);
|
|
};
|
|
#endif
|