00001 /* 00002 ClanGUI, copyrights by various people. Have a look in the CREDITS file. 00003 00004 This sourcecode is distributed using the Library GNU Public Licence, 00005 version 2 or (at your option) any later version. Please read LICENSE 00006 for details. 00007 */ 00008 00009 #ifndef header_button_default 00010 #define header_button_default 00011 00012 #include "API/GUI/button.h" 00013 #include "API/GUI/stylemanager_default.h" 00014 #include "API/GUI/component_style.h" 00015 00016 class CL_Font; 00017 class CL_Surface; 00018 00019 class CL_Button_Default : public CL_ComponentStyle 00020 { 00021 public: 00022 CL_Button_Default( 00023 CL_Button *button, 00024 const CL_ComponentOptions &options, 00025 CL_StyleManager_Default *style); 00026 00027 virtual ~CL_Button_Default(); 00028 00029 private: 00030 CL_Slot slot_paint; 00031 void on_paint(); 00032 00033 CL_Button *button; 00034 00035 CL_StyleManager_Default *style; 00036 CL_ResourceManager *resources; 00037 CL_Font *font; 00038 CL_Font *font_disabled; 00039 }; 00040 00041 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001