Public Member Functions | Private Attributes

editor::map_context_refresher Class Reference

Utility class to properly refresh the display when the map context object is replaced without duplicating code. More...

Collaboration diagram for editor::map_context_refresher:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 map_context_refresher (context_manager &ec, const map_context &other_mc)
 ~map_context_refresher ()
void refresh ()

Private Attributes

context_managerec_
bool size_changed_
bool refreshed_

Detailed Description

Utility class to properly refresh the display when the map context object is replaced without duplicating code.

Definition at line 48 of file context_manager.cpp.


Constructor & Destructor Documentation

editor::map_context_refresher::map_context_refresher ( context_manager ec,
const map_context other_mc 
) [inline]

Definition at line 51 of file context_manager.cpp.

editor::map_context_refresher::~map_context_refresher (  )  [inline]

Definition at line 55 of file context_manager.cpp.

References refresh(), and refreshed_.

Here is the call graph for this function:


Member Function Documentation

void editor::map_context_refresher::refresh (  )  [inline]

Member Data Documentation

Definition at line 72 of file context_manager.cpp.

Referenced by refresh().

Definition at line 74 of file context_manager.cpp.

Referenced by ~map_context_refresher().

Definition at line 73 of file context_manager.cpp.


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

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