00001 00023 #ifndef INC_MGUI_FORMCOLORSPREAD_H 00024 #define INC_MGUI_FORMCOLORSPREAD_H 00025 00026 #ifndef INC_MGUI_FORM_H 00027 #include <mgui/form.h> 00028 #endif 00029 00030 00031 #ifndef GENERATING_DOXYGEN_OUTPUT 00032 class COLORSPREAD; 00033 #endif 00034 00035 namespace MGUI { 00036 00038 class FORM_COLORSPREAD : public MGUI::FORM_COMPOSITE { 00039 public: 00040 00042 enum STYLE { 00043 STYLE_Default = 0x00, 00044 STYLE_Stacked = 0x01, 00045 }; 00046 00048 FORM_COLORSPREAD (); 00049 00051 virtual ~FORM_COLORSPREAD (); 00052 00054 void Create ( 00055 LAYOUT_PANE_BASE& PaneParent, 00056 const MISTRING& LabelStr, 00057 int width = 256, 00058 STYLE style = STYLE_Default, 00059 LAYOUT_SIZEALIGN SizeAlign = LAYOUT_SIZEALIGN_FixedHeight 00060 ); 00061 00063 const COLORSPREAD& GetValues () const; 00064 00066 void SetDelegateOnChange ( 00067 DELEGATE_VOID_NOPARMS delegate 00068 ); 00069 00071 void SetValues ( 00072 const COLORSPREAD& values 00073 ); 00074 00075 private: 00076 #ifndef GENERATING_DOXYGEN_OUTPUT 00077 class PRIV; 00078 PRIV *m_pPriv; 00079 #endif 00080 }; 00081 00082 } // End namespace MGUI 00083 00084 #endif // INC_MGUI_FORMCOLORSPREAD_H
1.6.1