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:
51 
52 protected:
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:
86 
87 public:
89  explicit
90  DialogPanel(const Rect& = {});
91 };
92 
93 } // namespace UI;
94 
95 } // namespace YSLib;
96 
97 #endif
98 
#define DefWidgetMemberIteration(...)
定义部件成员下标及部件成员迭代器起始、终止和范围操作。
#define YF_API
Definition: Platform.h:64
成员下标迭代器。
Definition: iterator.hpp:1380
面板。
Definition: ypanel.h:45
基本按钮。
Definition: button.h:46
对话框。
Definition: uicontx.h:46
Thumb btnClose
关闭按钮。
Definition: uicontx.h:57
控件。
Definition: ycontrol.h:275
屏幕标准矩形:表示屏幕矩形区域。
Definition: ygdibase.h:416
Thumb btnOK
确定按钮。
Definition: uicontx.h:85
Thumb btnClose
关闭按钮。
Definition: uicontx.h:80
对话面板。
Definition: uicontx.h:73