Public Member Functions | Private Member Functions | Private Attributes

MapProperties Class Reference

Primary tool window displayed in the map editor. More...

#include <MapProperties.h>

Inheritance diagram for MapProperties:
Window Control Broadcaster Listener

List of all members.

Public Member Functions

 MapProperties (int x, int y)
 ~MapProperties ()
void setMap (Map *map)

Private Member Functions

void windowInit ()
 Instructs derived Window objects to initialize themselves.
void push (Event *event)
void loadAudio ()
void startAudio ()
void stopAudio ()
void saveProperties ()
void freeMusic ()

Private Attributes

MapmMap
MusicmMusic
LabellblMapName
LabellblBGMusic
ButtonbtnApply
ButtonbtnOkay
ButtonbtnCancel
ButtonbtnPlay
ButtonbtnStop
TextFieldtxtMapName
ListBoxlstBGMusic

Detailed Description

Primary tool window displayed in the map editor.


Constructor & Destructor Documentation

MapProperties::MapProperties ( int  x,
int  y 
)
MapProperties::~MapProperties (  )  [inline]

Member Function Documentation

void MapProperties::freeMusic (  )  [private]
void MapProperties::loadAudio (  )  [private]

Loads all TileSets from the TileSets directory.

void MapProperties::push ( Event event  )  [private, virtual]

Reimplemented from Control.

void MapProperties::saveProperties (  )  [private]
void MapProperties::setMap ( Map map  ) 

Sets the Map to modify.

Parameters:
A pointer to a fully constructed Map object. Must not be NULL.
void MapProperties::startAudio (  )  [private]
void MapProperties::stopAudio (  )  [private]
void MapProperties::windowInit (  )  [private, virtual]

Instructs derived Window objects to initialize themselves.

Note:
This function must be overridden in derived objects.

When deriving a Window Control, windowInit() must be overridden. This is the function where one would create and add new Control objects as well as specify various attributes such as color, size, position, etc.

Reimplemented from Window.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines