YSTest
PreAlpha_b500_20140530
The YSLib Test Project
首页
相关页面
模块
命名空间
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
ColorPicker.h
浏览该文件的文档.
1
/*
2
© 2012-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 INC_YReader_ColorPicker_h_
29
#define INC_YReader_ColorPicker_h_ 1
30
31
#include <
YSLib/UI/YModules.h
>
32
#include YFM_YSLib_UI_UIContainerEx
33
#include YFM_YSLib_UI_Scroll
34
35
namespace
YSLib
36
{
37
38
namespace
UI
39
{
40
45
class
ColorBox
:
public
DialogPanel
46
{
47
public
:
49
using
DialogPanel::btnOK
;
50
51
protected
:
56
Control
ctlColorArea
;
61
HorizontalTrack
trRed
,
trGreen
,
trBlue
;
66
Label
lblRed
,
lblGreen
,
lblBlue
;
67
68
public
:
69
ColorBox
(
const
Point
&,
Color
c
=
ColorSpace::White
);
70
75
DefGetter
(
const
,
Color
,
Color
, GetColorRef())
76
77
private:
82
Color
&
83
GetColorRef() const;
84
85
public:
86
void
87
SetColor
(
Color
);
88
};
89
90
}
// namespace UI;
91
92
}
// namespace YSLib;
93
94
#endif
95
YSLib::UI::ColorBox::lblRed
Label lblRed
颜色分量标签。
Definition:
ColorPicker.h:66
YSLib::UI::ColorBox::ctlColorArea
Control ctlColorArea
颜色区域。
Definition:
ColorPicker.h:56
YModules.h
YSLib::UI::ColorBox::ColorBox
ColorBox(const Point &, Color c=ColorSpace::White)
Definition:
ColorPicker.cpp:43
YSLib::UI::ColorBox::lblBlue
Label lblBlue
Definition:
ColorPicker.h:66
YSLib::UI::ColorBox::SetColor
void SetColor(Color)
取当前选定的颜色。
Definition:
ColorPicker.cpp:80
YSLib::UI::Panel::DefGetter
DefGetter(override, WidgetRange, Children, WidgetRange(begin(), end())) virtual void Add(IWidget &
按指定 Z 顺序向部件组添加部件,并设置指针。
YSLib::UI::ColorBox::lblGreen
Label lblGreen
Definition:
ColorPicker.h:66
YSLib::UI::HorizontalTrack
水平轨道。
Definition:
scroll.h:252
platform::Consoles::White
Definition:
Video.h:475
YSLib::UI::Control
控件。
Definition:
ycontrol.h:275
YSLib::UI::ColorBox
拾色框。
Definition:
ColorPicker.h:45
YSLib::Drawing::GBinaryGroup< SPos >
YSLib::UI::Label
标签。
Definition:
label.h:104
YSLib::UI::DialogPanel::btnOK
Thumb btnOK
确定按钮。
Definition:
uicontx.h:85
YSLib::UI::ColorBox::trGreen
HorizontalTrack trGreen
Definition:
ColorPicker.h:61
YSLib::UI::ColorBox::trRed
HorizontalTrack trRed
颜色分量轨道。
Definition:
ColorPicker.h:61
platform::Consoles::Color
Color
控制台颜色枚举。
Definition:
Video.h:458
YSLib::UI::ColorBox::trBlue
HorizontalTrack trBlue
Definition:
ColorPicker.h:61
CHRLib::c
c
Definition:
chrproc.h:76
YSLib::UI::DialogPanel
对话面板。
Definition:
uicontx.h:73
YSTest
include
ColorPicker.h
生成于 2014年 五月 30日 星期五 00:14:49 , 为 YSTest使用
1.8.7