Public Member Functions | Private Member Functions | Private Attributes

gui2::teditor_set_starting_position Class Reference

#include <editor_set_starting_position.hpp>

Inheritance diagram for gui2::teditor_set_starting_position:
Inheritance graph
[legend]
Collaboration diagram for gui2::teditor_set_starting_position:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 teditor_set_starting_position (unsigned current_player, unsigned maximum_players, const std::vector< map_location > &starting_positions)
unsigned result () const

Private Member Functions

virtual const std::string & window_id () const
 Inherited from tdialog, implemented by REGISTER_DIALOG.
void pre_show (CVideo &video, twindow &window)
 Inherited from tdialog.
void post_show (twindow &window)
 Inherited from tdialog.

Private Attributes

unsigned players_
unsigned selection_
std::vector< map_locationstarting_positions_

Detailed Description

Definition at line 27 of file editor_set_starting_position.hpp.


Constructor & Destructor Documentation

gui2::teditor_set_starting_position::teditor_set_starting_position ( unsigned  current_player,
unsigned  maximum_players,
const std::vector< map_location > &  starting_positions 
)

Definition at line 66 of file editor_set_starting_position.cpp.


Member Function Documentation

void gui2::teditor_set_starting_position::post_show ( twindow window  )  [private, virtual]

Inherited from tdialog.

Reimplemented from gui2::tdialog.

Definition at line 110 of file editor_set_starting_position.cpp.

References gui2::tdialog::get_retval(), gui2::tlistbox::get_selected_row(), gui2::twindow::OK, and selection_.

Here is the call graph for this function:

void gui2::teditor_set_starting_position::pre_show ( CVideo video,
twindow window 
) [private, virtual]
unsigned gui2::teditor_set_starting_position::result (  )  const [inline]

Definition at line 32 of file editor_set_starting_position.hpp.

References selection_.

virtual const std::string& gui2::teditor_set_starting_position::window_id (  )  const [private, virtual]

Inherited from tdialog, implemented by REGISTER_DIALOG.

Implements gui2::tdialog.


Member Data Documentation

Definition at line 35 of file editor_set_starting_position.hpp.

Definition at line 35 of file editor_set_starting_position.hpp.

Referenced by post_show(), pre_show(), and result().

Definition at line 36 of file editor_set_starting_position.hpp.

Referenced by pre_show().


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

Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:06 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs