Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CargoEditor Class Reference

Inheritance diagram for CargoEditor:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CargoEditor (PG_Widget *parent, ContainerBase *my_container)
bool eventKeyDown (const SDL_KeyboardEvent *key)
 Overridable Eventhandler for a SDL_KeyboardEvent message.
 ~CargoEditor ()

Constructor & Destructor Documentation

CargoEditor::CargoEditor PG_Widget parent,
ContainerBase my_container
[inline]
 

Definition at line 120 of file cargoeditor.cpp.

References PG_Rect::Height(), PG_Rect::PG_Rect(), PG_Button::sigClick, and PG_Rect::Width().

CargoEditor::~CargoEditor  )  [inline]
 

Definition at line 192 of file cargoeditor.cpp.


Member Function Documentation

bool CargoEditor::eventKeyDown const SDL_KeyboardEvent *  key  )  [inline, virtual]
 

Overridable Eventhandler for a SDL_KeyboardEvent message.

This handler is called when a key changed it's state from unpressed to pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.

Parameters:
key SDL_KeyboardEvent message
Returns:
Notifies the message pump if this message is processed by this object or it should be routed to the next message receiver.

Reimplemented from PG_MessageObject.

Definition at line 156 of file cargoeditor.cpp.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:16:34 2008 for Advanced Strategic Command by  doxygen 1.4.2