Advanced Strategic Command
gotoposition.h
Go to the documentation of this file.
1 /***************************************************************************
2  * *
3  * This program is free software; you can redistribute it and/or modify *
4  * it under the terms of the GNU General Public License as published by *
5  * the Free Software Foundation; either version 2 of the License, or *
6  * (at your option) any later version. *
7  * *
8  ***************************************************************************/
9 
10 #ifndef gotopositionH
11 #define gotopositionH
12 
13 #include "../paradialog.h"
14 
15 class PG_LineEdit;
16 class GameMap;
17 
18 class GotoPosition: public ASC_PG_Dialog {
19  PG_LineEdit* xfield;
20  PG_LineEdit* yfield;
21  GameMap* gamemap;
22 
23  bool ok();
24  bool cancel();
25  static const int border = 20;
26  bool line1completed();
27  public:
28  GotoPosition ( GameMap* gamemap );
29  int RunModal();
30 };
31 
32 
33 
34 
35 #endif
Adapter class for using Paragui Dialogs in ASC. This class transfers the event control from ASC to Pa...
Definition: paradialog.h:127
GotoPosition(GameMap *gamemap)
The map. THE central structure of ASC, which holds everything not globally available together...
Definition: gamemap.h:182