Classes | Public Member Functions | Private Member Functions | Private Attributes

gui2::tmp_change_control Class Reference

#include <mp_change_control.hpp>

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

List of all members.

Classes

class  controller
 The controller acts upon the model. More...
class  model
 The model is an interface defining the data to be displayed or otherwise acted upon in the user interface. More...
class  view
 The view is an interface that displays data (the model) and routes user commands to the controller to act upon that data. More...

Public Member Functions

 tmp_change_control (events::menu_handler *mh)
boost::shared_ptr< viewget_view ()

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)
 Actions to be taken after the window has been shown.

Private Attributes

events::menu_handlermenu_handler_
boost::shared_ptr< viewview_

Detailed Description

Definition at line 25 of file mp_change_control.hpp.


Constructor & Destructor Documentation

gui2::tmp_change_control::tmp_change_control ( events::menu_handler mh  )  [explicit]

Definition at line 374 of file mp_change_control.cpp.


Member Function Documentation

boost::shared_ptr< tmp_change_control::view > gui2::tmp_change_control::get_view (  ) 

Definition at line 380 of file mp_change_control.cpp.

References view_.

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

Actions to be taken after the window has been shown.

At this point the registered fields already stored their values (if the OK has been pressed).

Parameters:
window The window which has been shown.

Reimplemented from gui2::tdialog.

Definition at line 391 of file mp_change_control.cpp.

References gui2::tdialog::get_retval(), menu_handler_, and view_.

Here is the call graph for this function:

void gui2::tmp_change_control::pre_show ( CVideo video,
twindow window 
) [private, virtual]

Inherited from tdialog.

Reimplemented from gui2::tdialog.

Definition at line 385 of file mp_change_control.cpp.

References view_.

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

Inherited from tdialog, implemented by REGISTER_DIALOG.

Implements gui2::tdialog.


Member Data Documentation

Definition at line 42 of file mp_change_control.hpp.

Referenced by post_show().

boost::shared_ptr<view> gui2::tmp_change_control::view_ [private]

Definition at line 43 of file mp_change_control.hpp.

Referenced by get_view(), post_show(), and 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:31 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs