gotoposition.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  ***************************************************************************/
00009 
00010 #ifndef gotopositionH
00011 #define gotopositionH
00012 
00013 #include "../paradialog.h"
00014 
00015 class PG_LineEdit;
00016 class GameMap;
00017 
00018 class GotoPosition: public ASC_PG_Dialog {
00019       PG_LineEdit* xfield;
00020       PG_LineEdit* yfield;
00021       GameMap* gamemap;
00022       
00023       bool ok();
00024       bool cancel();
00025       static const int border  = 20;
00026       bool line1completed();
00027    public:
00028       GotoPosition ( GameMap* gamemap );
00029       int RunModal();
00030 };
00031 
00032 
00033 
00034 
00035 #endif

Generated on Mon May 21 01:26:33 2012 for Advanced Strategic Command by  doxygen 1.5.1