gui2::tlistbox::trow Class Reference

Collaboration diagram for gui2::tlistbox::trow:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 trow (const tbuilder_grid &list_builder_, const t_string &label)
void select (const bool sel=true)
tgridgrid ()
const tgridgrid () const
void set_height (const unsigned height)
unsigned get_height () const
const surfacecanvas () const
surfacecanvas ()
bool get_selected () const

Private Member Functions

void init_in_grid (tgrid *grid, const t_string &label)
void select_in_grid (tgrid *grid, const bool sel)

Private Attributes

tgridgrid_
unsigned height_
surface canvas_
bool selected_


Detailed Description

Definition at line 197 of file listbox.hpp.


Constructor & Destructor Documentation

gui2::tlistbox::trow::trow ( const tbuilder_grid list_builder_,
const t_string label 
)

Definition at line 502 of file listbox.cpp.

References grid_, and init_in_grid().


Member Function Documentation

void gui2::tlistbox::trow::select ( const bool  sel = true  ) 

Definition at line 535 of file listbox.cpp.

References grid_, select_in_grid(), and selected_.

tgrid* gui2::tlistbox::trow::grid (  )  [inline]

const tgrid* gui2::tlistbox::trow::grid (  )  const [inline]

Definition at line 205 of file listbox.hpp.

References grid_.

void gui2::tlistbox::trow::set_height ( const unsigned  height  )  [inline]

Definition at line 207 of file listbox.hpp.

References height_.

Referenced by gui2::tlistbox::set_size().

unsigned gui2::tlistbox::trow::get_height (  )  const [inline]

Definition at line 208 of file listbox.hpp.

References height_.

Referenced by gui2::tlistbox::draw(), and gui2::tlistbox::find_widget().

const surface& gui2::tlistbox::trow::canvas (  )  const [inline]

Definition at line 210 of file listbox.hpp.

References canvas_.

Referenced by gui2::tlistbox::draw(), and gui2::tlistbox::set_size().

surface& gui2::tlistbox::trow::canvas (  )  [inline]

Definition at line 211 of file listbox.hpp.

References canvas_.

bool gui2::tlistbox::trow::get_selected (  )  const [inline]

Definition at line 213 of file listbox.hpp.

References selected_.

void gui2::tlistbox::trow::init_in_grid ( tgrid grid,
const t_string label 
) [private]

void gui2::tlistbox::trow::select_in_grid ( tgrid grid,
const bool  sel 
) [private]


Member Data Documentation

Definition at line 216 of file listbox.hpp.

Referenced by grid(), select(), and trow().

unsigned gui2::tlistbox::trow::height_ [private]

Definition at line 218 of file listbox.hpp.

Referenced by get_height(), and set_height().

Definition at line 220 of file listbox.hpp.

Referenced by canvas().

Definition at line 222 of file listbox.hpp.

Referenced by get_selected(), and select().


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