mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
30 lines
681 B
C++
30 lines
681 B
C++
#pragma once
|
|
|
|
#include "V8DataModel/GuiObject.h"
|
|
#include "V8DataModel/GuiText.h"
|
|
|
|
namespace RBX
|
|
{
|
|
extern const char* const sGuiTextButton;
|
|
|
|
class GuiTextButton
|
|
: public DescribedCreatable<GuiTextButton, GuiButton, sGuiTextButton>
|
|
, public GuiTextMixin
|
|
{
|
|
private:
|
|
typedef DescribedCreatable<GuiTextButton, GuiButton, sGuiTextButton> Super;
|
|
public:
|
|
GuiTextButton();
|
|
GuiTextButton(Verb* v);
|
|
|
|
DECLARE_GUI_TEXT_MIXIN();
|
|
|
|
private:
|
|
////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// IAdornable
|
|
/*override*/ void render2d(Adorn* adorn);
|
|
/*override*/ void render2dContext(Adorn* adorn, const Instance* context);
|
|
};
|
|
}
|