YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
progress.h
浏览该文件的文档.
1 /*
2  © 2011-2014 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 YSL_INC_UI_progress_h_
29 #define YSL_INC_UI_progress_h_ 1
30 
31 #include "YModules.h"
32 #include YFM_YSLib_UI_YControl
33 //#include YFM_YSLib_Service_YResource
34 //#include YFM_YSLib_UI_YStyle
35 
36 namespace YSLib
37 {
38 
39 namespace UI
40 {
41 
46 class YF_API ProgressBar : public Control, protected GMRange<float>
47 {
48 public:
50  explicit
51  ProgressBar(const Rect& = {}, ValueType = 0xFF);
53 
54 
59  void
60  SetMaxValue(ValueType);
61  DefSetter(ValueType, Value, value)
62 
63 
73 
78  void
79  Refresh(PaintEventArgs&&) override;
80 };
81 
82 } // namespace UI;
83 
84 } // namespace YSLib;
85 
86 #endif
87 
范围模块类。
Definition: yobject.h:532
void Refresh(PaintEventArgs &&) override
刷新:按指定参数绘制界面并更新状态。
部件绘制参数。
Definition: ywgtevt.h:276
#define YF_API
Definition: Platform.h:64
控件。
Definition: ycontrol.h:275
屏幕标准矩形:表示屏幕矩形区域。
Definition: ygdibase.h:416
#define DefSetter(_t, _n, _m)
Definition: YBaseMacro.h:188
Selected const shared_ptr< ListType > const pair< Color, Color > & DefDeMoveCtor(TextList) DefPredMem(const ynothrow
进度条。
Definition: progress.h:46