|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
标签模块。 更多...
#include <label.h>


Public 属性 | |
| Drawing::Font | Font |
| 字体。 更多... | |
| Drawing::Padding | Margin |
| 文本和容器的间距。 更多... | |
| TextAlignment | HorizontalAlignment |
| 文本水平和竖直对齐属性。 更多... | |
| TextAlignment | VerticalAlignment |
| bool | AutoWrapLine |
| 启用自动换行。 更多... | |
| String | Text |
| 标签文本。 更多... | |
| Color | |
| MLabel (const Drawing::Font &={}, TextAlignment=TextAlignment::Left) | |
| 构造:使用指定字体。 更多... | |
| DefDeMoveCtor (MLabel) virtual DefDeDtor(MLabel) void DrawText(const Size & | |
| 绘制文本。 更多... | |
| const PaintContext &virtual void | DrawClippedText (const Graphics &, const Rect &, Drawing::TextState &) |
| 绘制剪切文本:使用指定的图形接口上下文、相对于部件的边界和文本状态。 更多... | |
额外继承的成员函数 | |
Private 成员函数 继承自 ystdex::noncopyable | |
| noncopyable (const noncopyable &)=delete | |
| 禁止复制构造。 更多... | |
| noncopyable & | operator= (const noncopyable &)=delete |
| 禁止赋值复制。 更多... | |
| noncopyable ()=default | |
protected 构造:默认实现。 更多... | |
| ~noncopyable ()=default | |
protected 析构:默认实现。 更多... | |
|
explicit |
| YSLib::UI::MLabel::DefDeMoveCtor | ( | MLabel | ) | const |
绘制文本。
|
virtual |
绘制剪切文本:使用指定的图形接口上下文、相对于部件的边界和文本状态。
被 YSLib::UI::TextBox 重载.
参考 AutoWrapLine, YSLib::Drawing::DrawClippedText() , 以及 Text.
参考自 YSLib::UI::TextBox::DrawClippedText().


| bool YSLib::UI::MLabel::AutoWrapLine |
| Drawing::Font YSLib::UI::MLabel::Font |
| TextAlignment YSLib::UI::MLabel::HorizontalAlignment |
| Drawing::Padding YSLib::UI::MLabel::Margin |
| String YSLib::UI::MLabel::Text |
标签文本。
参考自 DrawClippedText(), YSLib::UI::TextBox::DrawClippedText(), YSLib::UI::TextBox::PaintDefaultCaret(), YSLib::UI::TextBox::ReplaceSelection(), YSLib::UI::ColorBox::SetColor(), YReader::ShlTextReader::SettingSession::SettingSession(), YSLib::UI::TextBox::TextBox(), YReader::ReaderBox::UpdateData(), YReader::TextInfoBox::UpdateData() , 以及 YReader::SettingPanel::UpdateInfo().
| TextAlignment YSLib::UI::MLabel::VerticalAlignment |