YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ReaderSetting.h
浏览该文件的文档.
1 /*
2  © 2012-2013 FrankHB.
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_ReaderSetting_h_
29 #define INC_YReader_ReaderSetting_h_ 1
30 
31 #include "Shells.h"
32 #include YFM_YSLib_Core_ValueNode
33 
34 namespace YReader
35 {
36 
42 {
43 public:
55  std::chrono::milliseconds ScrollDuration;
60  std::chrono::milliseconds SmoothScrollDuration;
61 
63 
64  ReaderSetting();
69 
72 
74  explicit
75  operator ValueNode::Container() const;
76 
77  DefGetter(const ynothrow, std::chrono::milliseconds, TimerSetting,
80 };
81 
82 } // namespace YReader;
83 
84 #endif
85 
std::chrono::milliseconds ScrollDuration
滚屏间隔。
Definition: ReaderSetting.h:55
set< ValueNode > Container
Definition: ValueNode.h:48
#define DefDeCopyCtor(_t)
Definition: YBaseMacro.h:136
阅读器设置。
Definition: ReaderSetting.h:41
#define DefGetter(_q, _t, _n,...)
Definition: YBaseMacro.h:180
#define DefDeMoveCtor(_t)
Definition: YBaseMacro.h:141
bool SmoothScroll
平滑滚屏。
Definition: ReaderSetting.h:50
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
Definition: ydef.h:514
值类型节点。
Definition: ValueNode.h:45
Shell 框架逻辑。
Color
控制台颜色枚举。
Definition: Video.h:458
std::chrono::milliseconds SmoothScrollDuration
平滑滚屏间隔。
Definition: ReaderSetting.h:60
#define DefDeMoveAssignment(_t)
Definition: YBaseMacro.h:159
字体:字模,包含字型、样式和大小。
Definition: Font.h:546
#define DefDeCopyAssignment(_t)
Definition: YBaseMacro.h:154