29 #ifndef _CEGUIColourPicker_h_
30 #define _CEGUIColourPicker_h_
32 #include "CEGUI/CommonDialogs/Module.h"
33 #include "CEGUI/CommonDialogs/ColourPicker/Controls.h"
34 #include "CEGUI/Window.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
87 void setColour(
const Colour& newColour);
96 void initialiseComponents(
void);
109 void initialiseColourPickerControlsWindow();
121 void createColourPickerControlsWindow(
const String& colourPickerControlsStyle);
134 Window* getColourRect(
void);
136 bool colourRect_ColourRectClickedHandler(
const EventArgs& e);
139 static std::map<Window*, int> s_colourPickerWindows;
141 bool d_shareColourPickerControlsWindow;
151 #if defined(_MSC_VER)
152 # pragma warning(pop)
Colour d_selectedColour
selected colour of the ColourPickerControls
Definition: ColourPicker.h:146
static const String EventClosedPicker
Definition: ColourPicker.h:70
Base class for the ColourPicker widget.
Definition: ColourPicker.h:46
static const String EventNamespace
Namespace for global events.
Definition: ColourPicker.h:55
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Base class used as the argument to all subscribers Event object.
Definition: EventArgs.h:49
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:149
static const String WidgetTypeName
Window factory name.
Definition: ColourPicker.h:57
Class representing colour values within the system.
Definition: Colour.h:44
static const String ColourRectName
Widget name for the open button (colour rect) component.
Definition: ColourPicker.h:100
Base class for the ColourPickerControls widget.
Definition: Controls.h:47
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: InputEvent.h:251
static const String EventAcceptedColour
Definition: ColourPicker.h:77
static const String EventOpenedPicker
Definition: ColourPicker.h:64
String class used within the GUI system.
Definition: String.h:62