28 #ifndef YSL_INC_UI_YComponent_h_
29 #define YSL_INC_UI_YComponent_h_ 1
32 #include YFM_YSLib_Core_YGDIBase
33 #include YFM_YSLib_Core_YFunc
34 #include YFM_YSLib_Core_YMessageDefinition
35 #include YFM_YSLib_Adaptor_YContainer
57 template<
typename _type>
78 struct CursorEventArgs;
86 struct InputEventArgs;
88 struct PaintEventArgs;
90 struct RoutedEventArgs;
94 class WidgetController;
104 using
HBrush = std::function<
void(PaintEventArgs&&)>;
108 using Drawing::PixelType;
111 using Drawing::
Color;
113 using Drawing::
Point;
120 using Drawing::PaintContext;
string to_string(const GBinaryGroup< _type > &val)
转换为字符串。
#define DefMessageTarget(_id, _type)
std::function< void(PaintEventArgs &&)> HBrush
画刷回调函数。
FwdDeclI(IWidget) class ImageBrush
YF_API string to_string(const Rect &)
const PixelType * ConstBitmapPtr