YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
阅读器设置界面。 更多...
#include "ReaderSettingUI.h"
函数 | |
String | FetchEncodingString (MTextList::IndexType i) |
取编码字符串。 | |
lblAreaDown ({20, 108, 216, 72}) | |
btnFontSizeDecrease ({20, 32, 80, 22}) | |
btnFontSizeIncrease ({148, 32, 80, 22}) | |
btnSetUpBack ({20, 64, 80, 22}) | |
btnSetDownBack ({148, 64, 80, 22}) | |
btnTextColor ({20, 96, 80, 22}) | |
ddlFont ({148, 96, 80, 22}, FetchFontFamilyNames()) | |
ddlEncoding ({20, 128, 192, 22}, share_raw(newTextList::ListType(Encodings|ystdex::get_value,(Encodings+arrlen(Encodings))|ystdex::get_value))) | |
cbSmoothScroll ({20, 160, 72, 18}) | |
ddlScrollTiming ({96, 160, 128, 22}) | |
boxColor (Point(4, 80)) | |
pColor () | |
current_encoding () | |
scroll_duration () | |
smooth_scroll_duration () | |
阅读器设置界面。
在文件 ReaderSettingUI.cpp 中定义.
boxColor | ( | Point(4, 80) | ) |
btnFontSizeDecrease | ( | {20, 32, 80, 22} | ) |
btnFontSizeIncrease | ( | {148, 32, 80, 22} | ) |
btnSetDownBack | ( | {148, 64, 80, 22} | ) |
btnSetUpBack | ( | {20, 64, 80, 22} | ) |
btnTextColor | ( | {20, 96, 80, 22} | ) |
cbSmoothScroll | ( | {20, 160, 72, 18} | ) |
current_encoding | ( | ) |
ddlEncoding | ( | {20, 128, 192, 22} | , |
share_raw(newTextList::ListType(Encodings|ystdex::get_value,(Encodings+arrlen(Encodings))|ystdex::get_value)) | |||
) |
ddlFont | ( | {148, 96, 80, 22} | , |
FetchFontFamilyNames() | |||
) |
ddlScrollTiming | ( | {96, 160, 128, 22} | ) |
String FetchEncodingString | ( | MTextList::IndexType | ) |
取编码字符串。
在文件 ReaderSettingUI.cpp 第 36 行定义.
参考 ystdex::arrlen(),Encodings,ystdex::to_string() , 以及 YB_LIKELY.
参考自 ShlTextReader::SettingSession::SettingSession().
lblAreaDown | ( | {20, 108, 216, 72} | ) |
pColor | ( | ) |
scroll_duration | ( | ) |
smooth_scroll_duration | ( | ) |
在文件 ReaderSettingUI.cpp 第 62 行定义.
参考 YSLib::UI::AddWidgets(),boxColor(),btnFontSizeDecrease(),btnFontSizeIncrease(),btnSetDownBack(),btnSetUpBack(),btnTextColor(),cbSmoothScroll(),ddlEncoding(),ddlFont(),ddlScrollTiming(),YSLib::UI::Invalidate(),lblAreaDown(),YSLib::UI::SetVisibleOf(),YB_LIKELY , 以及 yunseq().