Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

scrollbar_default.h

Go to the documentation of this file.
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_scrollbar_default
00010 #define header_scrollbar_default
00011 
00012 #include "API/GUI/scrollbar.h"
00013 #include "API/GUI/stylemanager_default.h"
00014 #include "API/GUI/component_style.h"
00015 
00016 class CL_ResourceManager;
00017 class CL_Surface;
00018 
00019 class CL_ScrollBar_Default : public CL_ComponentStyle
00020 {
00021 public:
00022         CL_ScrollBar_Default(
00023                 CL_ScrollBar *scrollbar,
00024                 const CL_ComponentOptions &options,
00025                 CL_StyleManager_Default *style);
00026         
00027         virtual ~CL_ScrollBar_Default();
00028 
00029 private:
00030         void on_paint();
00031         void on_increase();
00032         void on_decrease();
00033 
00034         CL_Slot slot_paint;
00035         CL_Slot slot_increase;
00036         CL_Slot slot_decrease;
00037 
00038         CL_ScrollBar *scrollbar;
00039 
00040 /*      int slider_offset;
00041         int slider_size;
00042         int button_size;
00043 */
00044         CL_Button *button_increase;
00045         CL_Button *button_decrease;
00046 
00047         CL_StyleManager_Default *style;
00048         CL_ResourceManager *resources;
00049         CL_Surface *sur_increase_normal;
00050         CL_Surface *sur_increase_toggled;
00051         CL_Surface *sur_decrease_normal;
00052         CL_Surface *sur_decrease_toggled;
00053 };
00054 
00055 #endif

Generated at Wed Apr 4 19:54:03 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001