mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
30 lines
611 B
C++
30 lines
611 B
C++
#pragma once
|
|
|
|
#include "V8DataModel/GuiObject.h"
|
|
#include "V8DataModel/GuiText.h"
|
|
|
|
namespace RBX {
|
|
|
|
extern const char* const sTextLabel;
|
|
|
|
class TextLabel
|
|
: public DescribedCreatable<TextLabel, GuiLabel, sTextLabel>
|
|
, public GuiTextMixin
|
|
{
|
|
typedef DescribedCreatable<TextLabel, GuiLabel, sTextLabel> Super;
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// IAdornable
|
|
/*override*/ void render2d(Adorn* adorn);
|
|
/*override*/ void render2dContext(Adorn* adorn, const Instance* context);
|
|
|
|
public:
|
|
TextLabel();
|
|
|
|
DECLARE_GUI_TEXT_MIXIN();
|
|
|
|
};
|
|
|
|
} // namespace RBX
|