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);
52
DefDeMoveCtor
(
ProgressBar
)
53
54
59
void
60
SetMaxValue(
ValueType
);
61
DefSetter
(
ValueType
, Value, value)
62
63
67
using
GMRange<float>::GetMaxValue
;
72
using
GMRange<float>::GetValue
;
73
78
void
79
Refresh
(
PaintEventArgs
&&)
override
;
80
};
81
82
}
// namespace UI;
83
84
}
// namespace YSLib;
85
86
#endif
87
YSLib::GMRange
范围模块类。
Definition:
yobject.h:532
YSLib::UI::Refresh
void Refresh(PaintEventArgs &&) override
刷新:按指定参数绘制界面并更新状态。
YModules.h
YSLib::UI::PaintEventArgs
部件绘制参数。
Definition:
ywgtevt.h:276
YF_API
#define YF_API
Definition:
Platform.h:64
YSLib::UI::Control
控件。
Definition:
ycontrol.h:275
YSLib::Drawing::Rect
屏幕标准矩形:表示屏幕矩形区域。
Definition:
ygdibase.h:416
DefSetter
#define DefSetter(_t, _n, _m)
Definition:
YBaseMacro.h:188
YSLib::GMRange< float >::ValueType
float ValueType
Definition:
yobject.h:535
YSLib::UI::DefDeMoveCtor
Selected const shared_ptr< ListType > const pair< Color, Color > & DefDeMoveCtor(TextList) DefPredMem(const ynothrow
YSLib::UI::ProgressBar
进度条。
Definition:
progress.h:46
YFramework
include
YSLib
UI
progress.h
生成于 2014年 五月 30日 星期五 00:14:51 , 为 YSTest使用
1.8.7