YSTest
PreAlpha_b400_20130424
The YSLib Test Project
首页
相关页面
模块
命名空间
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
ycomp.h
浏览该文件的文档.
1
/*
2
Copyright by FrankHB 2010 - 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
33
#ifndef YSL_INC_UI_ycomp_h_
34
#define YSL_INC_UI_ycomp_h_ 1
35
36
#include "../Core/ygdibase.h"
37
#include "../Core/yfunc.hpp"
38
#include "../Core/ymsgdef.h"
39
#include "../Adaptor/ycont.h"
40
41
YSL_BEGIN
42
43
YSL_BEGIN_NAMESPACE
(Drawing)
44
45
46
class Image;
47
48
YSL_END_NAMESPACE
(Drawing)
49
50
YSL_BEGIN_NAMESPACE
(UI)
51
52
class AController;
53
FwdDeclI
(IWidget)
55
class ImageBrush;
57
58
struct InputEventArgs;
59
struct KeyEventArgs;
60
struct TouchEventArgs;
61
struct PaintEventArgs;
62
class Renderer;
63
struct RoutedEventArgs;
65
class SolidBrush;
66
struct UIEventArgs;
67
class WidgetController;
69
class
Window
;
70
71
72
//类型别名。
77
typedef std::function<
void
(PaintEventArgs&&)>
HBrush
;
78
79
80
//名称引用。
81
using Drawing::
PixelType
;
82
using Drawing::
BitmapPtr
;
83
using Drawing::
ConstBitmapPtr
;
84
using Drawing::
Color
;
85
86
using Drawing::
Point
;
87
using Drawing::
Vec
;
88
using Drawing::
Size
;
89
using Drawing::
Rect
;
90
91
using Drawing::
Graphics
;
93
using Drawing::
PaintContext
;
94
95
YSL_END_NAMESPACE
(UI)
96
98
YSL_BEGIN_NAMESPACE
(Messaging)
99
100
DefMessageTarget
(
SM_PAINT
, shared_ptr<UI::IWidget>)
101
102
YSL_END_NAMESPACE
(Messaging)
103
104
YSL_END
105
106
#endif
107
YFramework
include
YSLib
UI
ycomp.h
生成于 2013年 四月 24日 星期三 18:41:28 , 为 YSTest使用
1.8.2