textcomponent.pkg
来自「cegui界面库」· PKG 代码 · 共 23 行
PKG
23 行
/*********************************************************************
TextComponent
**********************************************************************/
class TextComponent : public FalagardComponentBase
{
string getText() const;
void setText(string text);
string getFont() const;
void setFont(string font);
VerticalTextFormatting getVerticalFormatting() const;
void setVerticalFormatting(VerticalTextFormatting fmt);
HorizontalTextFormatting getHorizontalFormatting() const;
void setHorizontalFormatting(HorizontalTextFormatting fmt);
//void writeXMLToStream(OutStream& out_stream) const;
bool isTextFetchedFromProperty() const;
string getTextPropertySource() const;
void setTextPropertySource(string property);
bool isFontFetchedFromProperty() const;
string getFontPropertySource() const;
void setFontPropertySource(string property);
TextComponent();
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?