cadialog.h

00001 #ifndef CADIALOG_H
00002 #define CADIALOG_H
00003 
00004 #include <ClanLib/core.h>
00005 #include <ClanLib/signals.h>
00006 #include <ClanLib/display.h>
00007 #include "cascreen.h"
00008 
00012 class CADialog : public CAScreen {
00013 public:
00014     CADialog( bool modal=false, CAScreen* screen=0 );
00015     ~CADialog();
00016 
00017     virtual int run();
00018     virtual void buildScreen();
00019 
00020     virtual void on_button_release( CL_InputDevice *device, const CL_Key &key ) = 0;
00021 
00022     virtual void resize( int w, int h );
00023 
00024 protected:
00026 
00027 
00028     int left;
00030     int right;
00032     int top;
00034     int bottom;
00036     int width;
00038     int height;
00044     bool modal;
00046     CAScreen* screen;
00047 
00048 public:
00049     CL_Slot slot;
00050 };
00051 
00052 #endif

Generated on Tue Nov 28 06:48:28 2006 by  doxygen 1.5.0