Crazy Eddie's GUI System
0.8.7
|
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)
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)
static const String ColourRectName
Widget name for the open button (colour rect) component.
Definition: ColourPicker.h:100
Base class for the ColourPicker widget.
Definition: ColourPicker.h:47
static const String WidgetTypeName
Window factory name.
Definition: ColourPicker.h:57
Colour d_selectedColour
selected colour of the ColourPickerControls
Definition: ColourPicker.h:146
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
static const String EventAcceptedColour
Definition: ColourPicker.h:77
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: InputEvent.h:252
Base class for the ColourPickerControls widget.
Definition: Controls.h:48
Colour getColour()
Return the current colour of the colour picker.
static const String EventOpenedPicker
Definition: ColourPicker.h:64
static const String EventNamespace
Namespace for global events.
Definition: ColourPicker.h:55
void initialiseColourPickerControlsWindow()
Initialises the properties for the creation of the ColourPickerControls window and decides if a new w...
~ColourPicker(void)
Destructor for ColourPicker class.
static const String EventClosedPicker
Definition: ColourPicker.h:70
ColourPicker(const String &type, const String &name)
Constructor for ColourPicker class.
void setColour(const Colour &newColour)
Set the current colour of the colour picker manually and refresh the ColourPicker elements accordingl...
void createColourPickerControlsWindow(const String &colourPickerControlsStyle)
Creates the ColourPickerControls window.
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:151
void initialiseComponents(void)
Initialises the Window based object ready for use.
String class used within the GUI system.
Definition: String.h:64
Class representing colour values within the system.
Definition: Colour.h:46
Base class used as the argument to all subscribers Event object.
Definition: EventArgs.h:51
Window * getColourRect(void)
Return a Window pointer to the ColourRect component widget for this ColourPicker.