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 22 of file progressbar.hpp.


Constructor & Destructor Documentation

gui::progress_bar::progress_bar ( CVideo video  ) 

Definition at line 26 of file progressbar.cpp.


Member Function Documentation

void gui::progress_bar::set_progress_percent ( int  progress  ) 

Definition at line 29 of file progressbar.cpp.

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

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

Definition at line 35 of file progressbar.cpp.

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

void gui::progress_bar::draw_contents (  )  [virtual]


Member Data Documentation

Definition at line 33 of file progressbar.hpp.

Referenced by draw_contents(), and set_progress_percent().

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

Definition at line 34 of file progressbar.hpp.

Referenced by draw_contents(), and set_text().


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