cainfodialog.h

00001 #ifndef CAINFODIALOG_H
00002 #define CAINFODIALOG_H
00003 
00004 #include <ClanLib/core.h>
00005 #include "cadialog.h"
00006 #include "castringlist.h"
00007 
00011 class CAInfoDialog : public CADialog  {
00012 public:
00013     enum InfoType { Info, Warning };
00014 
00015     CAInfoDialog( const char* title,
00016                   const char* text,
00017                   InfoType type=Info,
00018                   bool modal=false,
00019                   CAScreen* screen=0 );
00020     ~CAInfoDialog();
00021 
00022     virtual void buildScreen();
00023     virtual void on_button_release( CL_InputDevice *device, const CL_Key &key );
00024 
00025 private:
00027     CAStringList textList;
00029     CL_Surface* icon;
00031     InfoType type;
00032 };
00033 
00034 #endif

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