YSTest
PreAlpha_b500_20140530
The YSLib Test Project
首页
相关页面
模块
命名空间
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
uicontx.h
浏览该文件的文档.
1
/*
2
© 2011-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 YSL_INC_UI_uicontx_h_
29
#define YSL_INC_UI_uicontx_h_ 1
30
31
#include "
YModules.h
"
32
#include YFM_YSLib_UI_YPanel
33
#include YFM_YSLib_UI_Button
34
#include YFM_YSLib_UI_WidgetIteration
35
36
namespace
YSLib
37
{
38
39
namespace
UI
40
{
41
46
class
YF_API
DialogBox
:
public
Control
47
{
48
public
:
50
using
iterator
=
ystdex::subscriptive_iterator<DialogBox, IWidget>
;
51
52
protected
:
57
Thumb
btnClose
;
58
59
public
:
61
explicit
62
DialogBox
(
const
Rect
& = {});
63
65
DefWidgetMemberIteration
(btnClose)
66
};
67
68
73
class
YF_API
DialogPanel
:
public
Panel
74
{
75
protected
:
80
Thumb
btnClose
;
85
Thumb
btnOK
;
86
87
public
:
89
explicit
90
DialogPanel
(
const
Rect
& = {});
91
};
92
93
}
// namespace UI;
94
95
}
// namespace YSLib;
96
97
#endif
98
DefWidgetMemberIteration
#define DefWidgetMemberIteration(...)
定义部件成员下标及部件成员迭代器起始、终止和范围操作。
Definition:
WidgetIteration.h:131
YModules.h
YF_API
#define YF_API
Definition:
Platform.h:64
ystdex::subscriptive_iterator
成员下标迭代器。
Definition:
iterator.hpp:1380
YSLib::UI::Panel
面板。
Definition:
ypanel.h:45
YSLib::UI::Thumb
基本按钮。
Definition:
button.h:46
YSLib::UI::DialogBox
对话框。
Definition:
uicontx.h:46
YSLib::UI::DialogBox::btnClose
Thumb btnClose
关闭按钮。
Definition:
uicontx.h:57
YSLib::UI::Control
控件。
Definition:
ycontrol.h:275
YSLib::Drawing::Rect
屏幕标准矩形:表示屏幕矩形区域。
Definition:
ygdibase.h:416
YSLib::UI::DialogPanel::btnOK
Thumb btnOK
确定按钮。
Definition:
uicontx.h:85
YSLib::UI::DialogPanel::btnClose
Thumb btnClose
关闭按钮。
Definition:
uicontx.h:80
YSLib::UI::DialogPanel
对话面板。
Definition:
uicontx.h:73
YFramework
include
YSLib
UI
uicontx.h
生成于 2014年 五月 30日 星期五 00:14:51 , 为 YSTest使用
1.8.7