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_popupmenu_default 00010 #define header_popupmenu_default 00011 00012 #include "API/GUI/popupmenu.h" 00013 #include "API/GUI/component_style.h" 00014 00015 class CL_StyleManager_Default; 00016 class CL_ResourceManager; 00017 00018 class CL_PopupMenu_Default : public CL_ComponentStyle 00019 { 00020 public: 00021 CL_PopupMenu_Default( 00022 CL_PopupMenu *popupmenu, 00023 const CL_ComponentOptions &options, 00024 CL_StyleManager_Default *style); 00025 00026 virtual ~CL_PopupMenu_Default() { return; }; 00027 00028 void adjust_size(); 00029 00030 private: 00031 void on_paint(); 00032 CL_Slot slot_paint; 00033 00034 CL_PopupMenu *popupmenu; 00035 00036 bool initialized; 00037 00038 CL_StyleManager_Default *style; 00039 CL_ResourceManager *resources; 00040 }; 00041 00042 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001