Public Member Functions | Private Attributes

gui::progress_bar Class Reference

#include <progressbar.hpp>

Inheritance diagram for gui::progress_bar:
Inheritance graph
[legend]
Collaboration diagram for gui::progress_bar:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 progress_bar (CVideo &video)
void set_progress_percent (int progress)
void set_text (const std::string &text)
void draw_contents ()

Private Attributes

int progress_
std::string text_

Detailed Description

Definition at line 23 of file progressbar.hpp.


Constructor & Destructor Documentation

gui::progress_bar::progress_bar ( CVideo video  ) 

Definition at line 28 of file progressbar.cpp.


Member Function Documentation

void gui::progress_bar::draw_contents (  )  [virtual]
void gui::progress_bar::set_progress_percent ( int  progress  ) 

Definition at line 31 of file progressbar.cpp.

References progress_, and gui::widget::set_dirty().

Here is the call graph for this function:

void gui::progress_bar::set_text ( const std::string &  text  ) 

Definition at line 37 of file progressbar.cpp.

References gui::widget::set_dirty(), and text_.

Here is the call graph for this function:


Member Data Documentation

Definition at line 34 of file progressbar.hpp.

Referenced by draw_contents(), and set_progress_percent().

std::string gui::progress_bar::text_ [private]

Definition at line 35 of file progressbar.hpp.

Referenced by draw_contents(), and set_text().


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