YSTest
PreAlpha_b400_20130424
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
YSL_BEGIN_NAMESPACE
(YReader)
35
36
40
String
41
FetchEncodingString
(MTextList::IndexType);
42
43
48
class
SettingPanel
: public DialogPanel
49
{
54
friend
class
ShlTextReader
;
55
56
protected
:
62
Label
lblAreaUp
,
lblAreaDown
;
67
Button
btnFontSizeDecrease
,
btnFontSizeIncrease
;
72
Button
btnSetUpBack
,
btnSetDownBack
,
btnTextColor
;
77
DropDownList
ddlFont
;
82
DropDownList
ddlEncoding
;
87
CheckButton
cbSmoothScroll
;
92
DropDownList
ddlScrollTiming
;
93
ColorBox
boxColor
;
94
95
private
:
101
Color
*
pColor
;
106
Text::Encoding
current_encoding
;
111
std::chrono::milliseconds
scroll_duration
;
116
std::chrono::milliseconds
smooth_scroll_duration
;
117
118
public
:
119
SettingPanel
();
120
125
SettingPanel
&
126
operator<<
(
const
ReaderSetting
&);
127
132
SettingPanel
&
133
operator>>
(
ReaderSetting
&);
134
139
void
140
UpdateInfo();
141
};
142
143
YSL_END_NAMESPACE
(YReader)
144
145
#endif
146
YSTest_ARM9
include
ReaderSettingUI.h
生成于 2013年 四月 24日 星期三 18:41:27 , 为 YSTest使用
1.8.2