Planeshift
Public Member Functions

pawsEEdit Class Reference

#include <pawseedit.h>

List of all members.

Public Member Functions

const char * GetMapFile () const
 Returns the file path of the loaded map.
iView * GetView ()
 Returns the CS viewport of the preview window.
bool LoadMap (const char *mapFile)
 Loads the given map.
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
 pawsEEdit ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
 ~pawsEEdit ()

Detailed Description

Definition at line 35 of file pawseedit.h.


Constructor & Destructor Documentation

pawsEEdit::pawsEEdit ( )
pawsEEdit::~pawsEEdit ( )

Member Function Documentation

const char* pawsEEdit::GetMapFile ( ) const

Returns the file path of the loaded map.

Returns:
The file path of the loaded map.
iView* pawsEEdit::GetView ( )

Returns the CS viewport of the preview window.

Returns:
the iView viewport
bool pawsEEdit::LoadMap ( const char *  mapFile)

Loads the given map.

Parameters:
mapFilePath to the map to load.
Returns:
True on success.
bool pawsEEdit::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is pressed.

Parameters:
buttonThe button pressed.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

bool pawsEEdit::PostSetup ( ) [virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented from pawsWidget.


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