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"
38# pragma warning(disable : 4251)
137 bool colourRect_ColourRectClickedHandler(
const EventArgs& e);
140 static std::map<Window*, int> s_colourPickerWindows;
142 bool d_shareColourPickerControlsWindow;
Base class for the ColourPickerControls widget.
Definition: Controls.h:48
Base class for the ColourPicker widget.
Definition: ColourPicker.h:47
static const String WidgetTypeName
Window factory name.
Definition: ColourPicker.h:57
static const String ColourRectName
Widget name for the open button (colour rect) component.
Definition: ColourPicker.h:101
~ColourPicker(void)
Destructor for ColourPicker class.
static const String EventOpenedPicker
Definition: ColourPicker.h:64
static const String EventAcceptedColour
Definition: ColourPicker.h:77
static const String EventClosedPicker
Definition: ColourPicker.h:70
void initialiseComponents(void)
Initialises the Window based object ready for use.
ColourPicker(const String &type, const String &name)
Constructor for ColourPicker class.
void createColourPickerControlsWindow(const String &colourPickerControlsStyle)
Creates the ColourPickerControls window.
void destroy(void)
Internal destroy method which actually just adds the window and any parent destructed child windows t...
void initialiseColourPickerControlsWindow()
Initialises the properties for the creation of the ColourPickerControls window and decides if a new w...
Window * getColourRect(void)
Return a Window pointer to the ColourRect component widget for this ColourPicker.
void setColour(const Colour &newColour)
Set the current colour of the colour picker manually and refresh the ColourPicker elements accordingl...
Colour d_selectedColour
selected colour of the ColourPickerControls
Definition: ColourPicker.h:147
static const String EventNamespace
Namespace for global events.
Definition: ColourPicker.h:55
Colour getColour()
Return the current colour of the colour picker.
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
String class used within the GUI system.
Definition: String.h:64
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: InputEvent.h:252
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:151
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1