Public Member Functions | Private Types | Private Member Functions | Private Attributes

storyscreen::controller Class Reference

#include <controller.hpp>

Collaboration diagram for storyscreen::controller:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 controller (display &disp, const vconfig &data, const std::string &scenario_name, int segment_index, int total_segments)
STORY_RESULT show (START_POSITION startpos=START_BEGINNING)
 Display all story screen parts in a first..last sequence.

Private Types

typedef boost::shared_ptr< partpart_pointer_type
typedef boost::shared_ptr
< part_ui
render_pointer_type

Private Member Functions

void resolve_wml (const vconfig &cfg)

Private Attributes

displaydisp_
const resize_lock disp_resize_lock_
const events::event_context evt_context_
std::string scenario_name_
int segment_index_
int total_segments_
std::vector< part_pointer_typeparts_

Detailed Description

Definition at line 46 of file controller.hpp.


Member Typedef Documentation

typedef boost::shared_ptr< part > storyscreen::controller::part_pointer_type [private]

Definition at line 58 of file controller.hpp.

typedef boost::shared_ptr< part_ui > storyscreen::controller::render_pointer_type [private]

Definition at line 59 of file controller.hpp.


Constructor & Destructor Documentation

storyscreen::controller::controller ( display disp,
const vconfig data,
const std::string &  scenario_name,
int  segment_index,
int  total_segments 
)

Definition at line 46 of file controller.cpp.

References ASSERT_LOG, resolve_wml(), and resources::state_of_game.

Here is the call graph for this function:


Member Function Documentation

void storyscreen::controller::resolve_wml ( const vconfig cfg  )  [private]
STORY_RESULT storyscreen::controller::show ( START_POSITION  startpos = START_BEGINNING  ) 

Display all story screen parts in a first..last sequence.

Definition at line 126 of file controller.cpp.

References _, ASSERT_LOG, storyscreen::part_ui::BACK, disp_, LOG_NG, storyscreen::part_ui::NEXT, parts_, storyscreen::part_ui::QUIT, segment_index_, storyscreen::part_ui::show(), storyscreen::START_BEGINNING, storyscreen::START_END, and display::video().

Referenced by show_story().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 64 of file controller.hpp.

Referenced by show().

Definition at line 65 of file controller.hpp.

Definition at line 66 of file controller.hpp.

Definition at line 73 of file controller.hpp.

Referenced by resolve_wml(), and show().

Definition at line 68 of file controller.hpp.

Referenced by resolve_wml().

Definition at line 69 of file controller.hpp.

Referenced by show().

Definition at line 70 of file controller.hpp.


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:26:03 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs