gui::floating_textbox Class Reference

#include <floating_textbox.hpp>

Collaboration diagram for gui::floating_textbox:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 floating_textbox ()
TEXTBOX_MODE mode () const
const util::scoped_ptr
< gui::button > & 
check () const
const util::scoped_ptr
< gui::textbox > & 
box () const
void close (game_display &gui)
void update_location (game_display &gui)
void show (gui::TEXTBOX_MODE mode, const std::string &label, const std::string &check_label, bool checked, game_display &gui)
void tab (std::vector< team > &teams, const unit_map &units, game_display &gui)
bool active () const

Private Attributes

util::scoped_ptr< gui::textboxbox_
util::scoped_ptr< gui::buttoncheck_
TEXTBOX_MODE mode_
std::string label_string_
int label_


Detailed Description

Definition at line 33 of file floating_textbox.hpp.


Constructor & Destructor Documentation

gui::floating_textbox::floating_textbox (  ) 

Definition at line 28 of file floating_textbox.cpp.


Member Function Documentation

TEXTBOX_MODE gui::floating_textbox::mode (  )  const [inline]

Definition at line 37 of file floating_textbox.hpp.

References mode_.

Referenced by play_controller::enter_textbox().

const util::scoped_ptr<gui::button>& gui::floating_textbox::check (  )  const [inline]

Definition at line 38 of file floating_textbox.hpp.

References check_.

Referenced by events::menu_handler::do_speak().

const util::scoped_ptr<gui::textbox>& gui::floating_textbox::box (  )  const [inline]

Definition at line 39 of file floating_textbox.hpp.

References box_.

Referenced by events::menu_handler::do_speak(), and play_controller::enter_textbox().

void gui::floating_textbox::close ( game_display gui  ) 

void gui::floating_textbox::update_location ( game_display gui  ) 

void gui::floating_textbox::show ( gui::TEXTBOX_MODE  mode,
const std::string &  label,
const std::string &  check_label,
bool  checked,
game_display gui 
)

void gui::floating_textbox::tab ( std::vector< team > &  teams,
const unit_map units,
game_display gui 
)

bool gui::floating_textbox::active (  )  const [inline]


Member Data Documentation

Definition at line 49 of file floating_textbox.hpp.

Referenced by active(), box(), close(), show(), tab(), and update_location().

Definition at line 50 of file floating_textbox.hpp.

Referenced by check(), close(), show(), and update_location().

Definition at line 52 of file floating_textbox.hpp.

Referenced by close(), mode(), show(), and tab().

std::string gui::floating_textbox::label_string_ [private]

Definition at line 54 of file floating_textbox.hpp.

Referenced by show(), and update_location().

Definition at line 55 of file floating_textbox.hpp.

Referenced by close(), and update_location().


The documentation for this class was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs