YSTest: uicontx.h 源文件

YSTest PreAlpha_b400_20130424 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
uicontx.h
浏览该文件的文档.
1 ﻿/*
2 Copyright by FrankHB 2011 - 2013.
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 "ypanel.h"
32 #include "button.h"
33 #include "WidgetIteration.h"
34
35 YSL_BEGIN
36
37 YSL_BEGIN_NAMESPACE(UI)
38
39
43 class YF_API DialogBox : public Control
44 {
45 public:
47 typedef ystdex::subscriptive_iterator<DialogBox, IWidget> Iterator;
48
49 protected:
54 Thumb btnClose;
55
56 public:
58 explicit
59 DialogBox(const Rect& = {});
60
62 DefWidgetMemberIteration(btnClose)
63 };
64
65
70 class YF_API DialogPanel : public Panel
71 {
72 protected:
77 Thumb btnClose;
82 Thumb btnOK;
83
84 public:
86 explicit
87 DialogPanel(const Rect& = {});
88 };
89
90 YSL_END_NAMESPACE(UI)
91
92 YSL_END
93
94 #endif
95