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

frame_generic.cpp

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 #include "precomp.h"
00010 #include "frame_generic.h"
00011 #include "API/GUI/component_options.h"
00012 
00013 CL_ComponentOptions CL_Frame_Generic::create_options(
00014         const CL_Rect &pos)
00015 {
00016         CL_ComponentOptions options;
00017 
00018         options.add_option_as_int("x", pos.x1);
00019         options.add_option_as_int("y", pos.y1);
00020         options.add_option_as_int("width", pos.get_width());
00021         options.add_option_as_int("height", pos.get_height());
00022 
00023         return options;
00024 }
00025 
00026 CL_Frame_Generic::CL_Frame_Generic(CL_Frame *self, const CL_ComponentOptions &options, CL_StyleManager *style)
00027 :
00028         frame(self)
00029 {
00030 }

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