YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
设置面板。 更多...
#include <ReaderSettingUI.h>
Public 成员函数 | |
SettingPanel () | |
SettingPanel & | operator<< (const ReaderSetting &) |
读取设置。 | |
SettingPanel & | operator>> (ReaderSetting &) |
保存设置。 | |
void | UpdateInfo () |
更新示例文本。 | |
Protected 属性 | |
Label | lblAreaUp |
标签:文本区域示例。 | |
Label | lblAreaDown |
Button | btnFontSizeDecrease |
按钮:字体大小递减/递增。 | |
Button | btnFontSizeIncrease |
Button | btnSetUpBack |
按钮:设置。 | |
Button | btnSetDownBack |
Button | btnTextColor |
DropDownList | ddlFont |
下拉列表:字体设置。 | |
DropDownList | ddlEncoding |
下拉列表:编码设置。 | |
CheckButton | cbSmoothScroll |
复选按钮:选定自动光滑滚屏。 | |
DropDownList | ddlScrollTiming |
下拉列表:自动滚屏时间设置。 | |
ColorBox | boxColor |
Private 属性 | |
Color * | pColor |
当前设置的颜色指针。 | |
Text::Encoding | current_encoding |
当前设置的编码。 | |
std::chrono::milliseconds | scroll_duration |
滚屏间隔。 | |
std::chrono::milliseconds | smooth_scroll_duration |
平滑滚屏间隔。 | |
友元 | |
class | ShlTextReader |
友元类:共享设置状态。 | |
SettingPanel::SettingPanel | ( | ) |
在文件 ReaderSettingUI.cpp 第 48 行定义.
SettingPanel & SettingPanel::operator<< | ( | const ReaderSetting & | s | ) |
读取设置。
在文件 ReaderSettingUI.cpp 第 179 行定义.
参考 cbSmoothScroll,ddlFont,ReaderSetting::DownColor,ReaderSetting::Font,ReaderSetting::FontColor,YSLib::Drawing::Font::GetFamilyName(),lblAreaDown,lblAreaUp,scroll_duration,ReaderSetting::ScrollDuration,smooth_scroll_duration,ReaderSetting::SmoothScroll,ReaderSetting::SmoothScrollDuration,ReaderSetting::UpColor,UpdateInfo() , 以及 yunseq().
SettingPanel & SettingPanel::operator>> | ( | ReaderSetting & | s | ) |
保存设置。
在文件 ReaderSettingUI.cpp 第 196 行定义.
参考 cbSmoothScroll,ReaderSetting::DownColor,ReaderSetting::Font,ReaderSetting::FontColor,lblAreaDown,lblAreaUp,scroll_duration,ReaderSetting::ScrollDuration,smooth_scroll_duration,ReaderSetting::SmoothScroll,ReaderSetting::SmoothScrollDuration,ReaderSetting::UpColor , 以及 yunseq().
void SettingPanel::UpdateInfo | ( | ) |
更新示例文本。
在文件 ReaderSettingUI.cpp 第 209 行定义.
参考 lblAreaUp , 以及 ystdex::to_string().
参考自 operator<<().
|
friend |
|
protected |
在文件 ReaderSettingUI.h 第 93 行定义.
|
protected |
|
protected |
在文件 ReaderSettingUI.h 第 67 行定义.
|
protected |
在文件 ReaderSettingUI.h 第 72 行定义.
|
protected |
|
protected |
在文件 ReaderSettingUI.h 第 72 行定义.
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
在文件 ReaderSettingUI.h 第 62 行定义.
参考自 operator<<(),operator>>() , 以及 ShlTextReader::SettingSession::SettingSession().
|
protected |
标签:文本区域示例。
在文件 ReaderSettingUI.h 第 62 行定义.
参考自 operator<<(),operator>>(),ShlTextReader::SettingSession::SettingSession() , 以及 UpdateInfo().
|
private |
|
private |
|
private |