]> git.lizzy.rs Git - irrlicht.git/blob - include/IGUIColorSelectDialog.h
Fix COSOperator::getSystemMemory
[irrlicht.git] / include / IGUIColorSelectDialog.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef __I_GUI_COLOR_SELECT_DIALOG_H_INCLUDED__\r
6 #define __I_GUI_COLOR_SELECT_DIALOG_H_INCLUDED__\r
7 \r
8 #include "IGUIElement.h"\r
9 \r
10 namespace irr\r
11 {\r
12 namespace gui\r
13 {\r
14 \r
15         //! Standard color chooser dialog.\r
16         class IGUIColorSelectDialog : public IGUIElement\r
17         {\r
18         public:\r
19 \r
20                 //! constructor\r
21                 IGUIColorSelectDialog(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)\r
22                         : IGUIElement(EGUIET_COLOR_SELECT_DIALOG, environment, parent, id, rectangle) {}\r
23 \r
24                 //! get chosen color as usual SColor struct\r
25                 virtual video::SColor getColor() =0;\r
26 \r
27                 //! get chosen color as HSL values\r
28                 virtual video::SColorHSL getColorHSL() =0;\r
29 \r
30         };\r
31 \r
32 \r
33 } // end namespace gui\r
34 } // end namespace irr\r
35 \r
36 #endif\r
37 \r