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

#include <weathercast.h>

Inheritance diagram for Weathercast:
Inheritance graph
[legend]

Public Member Functions

 Weathercast (const WeatherSystem &ws)
 
virtual ~Weathercast ()
 
void painter (const PG_Rect &src, const ASCString &name, const PG_Rect &dst)
 
bool mouseButtonDown (const SDL_MouseButtonEvent *button)
 
bool mouseMotion (const SDL_MouseMotionEvent *motion)
 
bool mouseClick (SPoint pos)
 
void paintWeatherArea (const WeatherArea *wa, int vMove, int hMove)
 
- 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
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 76 of file weathercast.h.

Constructor & Destructor Documentation

Weathercast::Weathercast ( const WeatherSystem ws)
Weathercast::~Weathercast ( )
virtual

Definition at line 256 of file weathercast.cpp.

Member Function Documentation

bool Weathercast::mouseButtonDown ( const SDL_MouseButtonEvent *  button)

Definition at line 277 of file weathercast.cpp.

References mouseClick().

Referenced by Weathercast().

bool Weathercast::mouseClick ( SPoint  pos)
bool Weathercast::mouseMotion ( const SDL_MouseMotionEvent *  motion)

Definition at line 258 of file weathercast.cpp.

References mouseClick().

Referenced by Weathercast().

void Weathercast::painter ( const PG_Rect &  src,
const ASCString name,
const PG_Rect &  dst 
)
void Weathercast::paintWeatherArea ( const WeatherArea wa,
int  vMove,
int  hMove 
)

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