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

filedialog_default.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 "filedialog_default.h"
00011 #include "button_default.h"
00012 #include "gui_manager_generic.h"
00013 
00014 CL_FileDialog_Default::CL_FileDialog_Default(
00015         CL_FileDialog *_filedialog,
00016         const CL_ComponentOptions &options,
00017         CL_StyleManager_Default *style) 
00018 :
00019         CL_ComponentStyle(_filedialog),
00020         filedialog(_filedialog)
00021 {
00022         this->style = style;
00023 
00024         slot_paint = filedialog->sig_paint().connect(CL_CreateSlot(this, &CL_FileDialog_Default::on_paint));
00025 }
00026 
00027 void CL_FileDialog_Default::on_paint()
00028 {
00029         style->fill_rect(0, 0, filedialog->get_width(), filedialog->get_height(), GUICOLOR_WINDOW_NORMAL);
00030 }

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