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

frame_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_frame_default
00010 #define header_frame_default
00011 
00012 #include "API/GUI/frame.h"
00013 #include "API/GUI/stylemanager_default.h"
00014 #include "API/GUI/component_style.h"
00015 
00016 class CL_Surface;
00017 
00018 class CL_Frame_Default : public CL_ComponentStyle
00019 {
00020 public:
00021         CL_Frame_Default(
00022                 CL_Frame *frame, 
00023                 const CL_ComponentOptions &options,
00024                 CL_StyleManager_Default *style);
00025 
00026         virtual ~CL_Frame_Default();
00027 
00028 private:
00029         CL_Slot slot_paint;
00030         void on_paint();
00031 
00032         CL_Frame *frame;
00033 
00034         std::string surface;
00035         enum Mode
00036         {
00037                 center,
00038                 stretch,
00039                 tile
00040         } mode;
00041         
00042         CL_StyleManager_Default *style;
00043         CL_ResourceManager *resources;
00044         CL_Surface *sur_surface;
00045 };
00046 
00047 #endif

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