YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
SettingPanel类 参考

设置面板。 更多...

#include <ReaderSettingUI.h>

类 SettingPanel 继承关系图:
SettingPanel 的协作图:

Public 成员函数

 SettingPanel ()
 
SettingPaneloperator<< (const ReaderSetting &)
 读取设置。
 
SettingPaneloperator>> (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
 友元类:共享设置状态。
 

详细描述

设置面板。

自从
build 275

在文件 ReaderSettingUI.h48 行定义.

构造及析构函数说明

SettingPanel::SettingPanel ( )

在文件 ReaderSettingUI.cpp48 行定义.

成员函数说明

void SettingPanel::UpdateInfo ( )

更新示例文本。

自从
build 280

在文件 ReaderSettingUI.cpp209 行定义.

参考 lblAreaUp , 以及 ystdex::to_string().

参考自 operator<<().

函数调用图:

这是这个函数的调用关系图:

友元及相关函数文档

friend class ShlTextReader
friend

友元类:共享设置状态。

自从
build 287

在文件 ReaderSettingUI.h54 行定义.

类成员变量说明

ColorBox SettingPanel::boxColor
protected

在文件 ReaderSettingUI.h93 行定义.

Button SettingPanel::btnFontSizeDecrease
protected

按钮:字体大小递减/递增。

自从
build 280

在文件 ReaderSettingUI.h67 行定义.

Button SettingPanel::btnFontSizeIncrease
protected

在文件 ReaderSettingUI.h67 行定义.

Button SettingPanel::btnSetDownBack
protected

在文件 ReaderSettingUI.h72 行定义.

Button SettingPanel::btnSetUpBack
protected

按钮:设置。

自从
build 279

在文件 ReaderSettingUI.h72 行定义.

Button SettingPanel::btnTextColor
protected

在文件 ReaderSettingUI.h72 行定义.

CheckButton SettingPanel::cbSmoothScroll
protected

复选按钮:选定自动光滑滚屏。

自从
build 329

在文件 ReaderSettingUI.h87 行定义.

参考自 operator<<() , 以及 operator>>().

Text::Encoding SettingPanel::current_encoding
private

当前设置的编码。

自从
build 292

在文件 ReaderSettingUI.h106 行定义.

DropDownList SettingPanel::ddlEncoding
protected

下拉列表:编码设置。

自从
build 290

在文件 ReaderSettingUI.h82 行定义.

参考自 ShlTextReader::SettingSession::SettingSession().

DropDownList SettingPanel::ddlFont
protected

下拉列表:字体设置。

自从
build 282

在文件 ReaderSettingUI.h77 行定义.

参考自 operator<<().

DropDownList SettingPanel::ddlScrollTiming
protected

下拉列表:自动滚屏时间设置。

自从
build 292

在文件 ReaderSettingUI.h92 行定义.

Label SettingPanel::lblAreaDown
protected
Label SettingPanel::lblAreaUp
protected

标签:文本区域示例。

注解
不加入 SettingPanel 容器,加入上屏桌面。
自从
build 280

在文件 ReaderSettingUI.h62 行定义.

参考自 operator<<(),operator>>(),ShlTextReader::SettingSession::SettingSession() , 以及 UpdateInfo().

Color* SettingPanel::pColor
private

当前设置的颜色指针。

注解
为空指针时忽略。
自从
build 279

在文件 ReaderSettingUI.h101 行定义.

std::chrono::milliseconds SettingPanel::scroll_duration
private

滚屏间隔。

自从
build 292

在文件 ReaderSettingUI.h111 行定义.

参考自 operator<<() , 以及 operator>>().

std::chrono::milliseconds SettingPanel::smooth_scroll_duration
private

平滑滚屏间隔。

自从
build 292

在文件 ReaderSettingUI.h116 行定义.

参考自 operator<<() , 以及 operator>>().


该类的文档由以下文件生成: