YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ReaderSettingUI.h
浏览该文件的文档.
1 /*
2  Copyright by FrankHB 2013.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
28 #ifndef INC_YReader_ReaderSettingUI_h_
29 #define INC_YReader_ReaderSettingUI_h_ 1
30 
31 #include "ReaderSetting.h"
32 #include "ColorPicker.h"
33 
34 namespace YReader
35 {
36 
41 String
43 
44 
49 class SettingPanel : public DialogPanel
50 {
55  friend class ShlTextReader;
56 
57 protected:
72 
73 private:
89  std::chrono::milliseconds scroll_duration;
94  std::chrono::milliseconds smooth_scroll_duration;
95 
96 public:
97  SettingPanel();
98 
103  SettingPanel&
104  operator<<(const ReaderSetting&);
105 
110  SettingPanel&
112 
117  void
118  UpdateInfo();
119 };
120 
121 } // namespace YReader;
122 
123 #endif
124 
typename ListType::size_type IndexType
索引类型。
Definition: label.h:149
下拉列表。
Definition: ComboList.h:230
动态部件。
Definition: Loader.h:247
Label lblAreaUp
标签:文本区域示例。
文本阅读器 Shell 。
Definition: ShlReader.h:215
阅读器设置。
Definition: ReaderSetting.h:41
SettingPanel & operator<<(const ReaderSetting &)
读取设置。
阅读器设置。
DropDownList ddlScrollTiming
下拉列表:自动滚屏时间设置。
std::chrono::milliseconds smooth_scroll_duration
平滑滚屏间隔。
拾色框。
Definition: ColorPicker.h:45
Text::Encoding current_encoding
当前设置的编码。
void UpdateInfo()
更新示例文本。
标签。
Definition: label.h:104
设置面板。
String FetchEncodingString(MTextList::IndexType)
取编码字符串。
Color * pColor
当前设置的颜色指针。
颜色。
Definition: Video.h:339
std::chrono::milliseconds scroll_duration
滚屏间隔。
拾色器。
对话面板。
Definition: uicontx.h:73
SettingPanel & operator>>(ReaderSetting &)
保存设置。