arsa  2.7
IGUIColorSelectDialog.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_GUI_COLOR_SELECT_DIALOG_H_INCLUDED__
6 #define __I_GUI_COLOR_SELECT_DIALOG_H_INCLUDED__
7 
8 #include "IGUIElement.h"
9 
10 namespace irr
11 {
12 namespace gui
13 {
14 
17  {
18  public:
19 
22  : IGUIElement(EGUIET_COLOR_SELECT_DIALOG, environment, parent, id, rectangle) {}
23 
25  virtual video::SColor getColor() =0;
26 
28  virtual video::SColorHSL getColorHSL() =0;
29 
30  };
31 
32 
33 } // end namespace gui
34 } // end namespace irr
35 
36 #endif
37 
GLuint id
virtual video::SColorHSL getColorHSL()=0
get chosen color as HSL values
Everything in the Irrlicht Engine can be found in this namespace.
Definition: CARSADPad.h:6
GUI Environment. Used as factory and manager of all other GUI elements.
IGUIColorSelectDialog(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
virtual video::SColor getColor()=0
get chosen color as usual SColor struct
signed int s32
32 bit signed variable.
Definition: irrTypes.h:70
A color select open dialog (IGUIColorSelectDialog)
Class representing a 32 bit ARGB color.
Definition: SColor.h:316
Base class of all GUI elements.
Definition: IGUIElement.h:23
Standard color chooser dialog.
Class representing a color in HSL format.
Definition: SColor.h:707