YSTest
PreAlpha_b400_20130424
The YSLib Test Project
首页
相关页面
模块
命名空间
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
ypanel.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_ypanel_h_
29
#define YSL_INC_UI_ypanel_h_ 1
30
31
#include "
ycontrol.h
"
32
#include "
yuicont.h
"
33
34
YSL_BEGIN
35
36
YSL_BEGIN_NAMESPACE
(UI)
37
38
42
class
YF_API
Panel
: public
Control
, protected
MUIContainer
43
{
44
public
:
49
explicit
50
Panel
(
const
Rect
& = {});
51
inline
DefDeMoveCtor
(
Panel
)
52
53
virtual
void
54
operator+=(
IWidget
&);
55
56
virtual
bool
57
operator-=(
IWidget
&);
58
59
using
MUIContainer::Contains
;
60
62
63
using
MUIContainer::GetBegin;
64
using
MUIContainer::GetEnd;
65
DefGetter
(
override
,
WidgetRange
, Children,
66
WidgetRange
(GetBegin(), GetEnd()))
68
74
virtual
void
75
Add(
IWidget
&,
ZOrderType
=
DefaultZOrder
);
76
82
void
83
ClearContents();
84
91
bool
92
MoveToTop
(IWidget&);
93
98
void
99
Refresh(
PaintEventArgs
&&) override;
100
};
101
102
YSL_END_NAMESPACE
(UI)
103
104
YSL_END
105
106
#endif
107
YFramework
include
YSLib
UI
ypanel.h
生成于 2013年 四月 24日 星期三 18:41:28 , 为 YSTest使用
1.8.2