Advanced Strategic Command
Public Member Functions | List of all members
GotoPosition Class Reference

#include <gotoposition.h>

Inheritance diagram for GotoPosition:
Inheritance graph
[legend]

Public Member Functions

 GotoPosition (GameMap *gamemap)
 
int RunModal ()
 
- Public Member Functions inherited from ASC_PG_Dialog
 ASC_PG_Dialog (PG_Widget *parent, const PG_Rect &r, const ASCString &windowtext, WindowFlags flags=DEFAULT, const ASCString &style="Window", int heightTitlebar=25)
 
PG_Button * AddStandardButton (const ASCString &name)
 
void StandardButtonDirection (StandardButtonDirectonType dir)
 
int RunModal ()
 

Additional Inherited Members

- Public Types inherited from ASC_PG_Dialog
enum  StandardButtonDirectonType { Vertical, Horizontal }
 
- Static Public Member Functions inherited from ASC_PG_Dialog
static PG_Rect centerRectangle (const PG_Rect &rect)
 
- Protected Member Functions inherited from ASC_PG_Dialog
virtual bool closeWindow ()
 
bool quitModalLoopW (PG_Button *button, int value)
 
bool quitModalLoop (int value)
 
virtual bool eventKeyDown (const SDL_KeyboardEvent *key)
 
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller
 

Detailed Description

Definition at line 18 of file gotoposition.h.

Constructor & Destructor Documentation

GotoPosition::GotoPosition ( GameMap gamemap)

Definition at line 51 of file gotoposition.cpp.

References ASC_PG_Dialog::AddStandardButton().

Member Function Documentation

int GotoPosition::RunModal ( )

Definition at line 66 of file gotoposition.cpp.

References ASC_PG_Dialog::RunModal().

Referenced by executeUserAction().


The documentation for this class was generated from the following files: