Public Member Functions | Private Member Functions | Friends

gui2::tscrollbar_panel Class Reference

Visible container to hold multiple widgets. More...

#include <scrollbar_panel.hpp>

Inheritance diagram for gui2::tscrollbar_panel:
Inheritance graph
[legend]
Collaboration diagram for gui2::tscrollbar_panel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 tscrollbar_panel (const unsigned canvas_count=2)
 Constructor.
bool get_active () const
 Inherited from tcontrol.
unsigned get_state () const
 Inherited from tcontrol.

Private Member Functions

const std::string & get_control_type () const
 Inherited from tcontrol.
void set_self_active (const bool)
 Inherited from tcontainer_.

Friends

struct implementation::tbuilder_scrollbar_panel

Detailed Description

Visible container to hold multiple widgets.

This widget can draw items beyond the widgets it holds and in front of them. A panel is always active so these functions return dummy values.

Definition at line 33 of file scrollbar_panel.hpp.


Constructor & Destructor Documentation

gui2::tscrollbar_panel::tscrollbar_panel ( const unsigned  canvas_count = 2  )  [inline, explicit]

Constructor.

Parameters:
canvas_count The canvas count for tcontrol.

Definition at line 44 of file scrollbar_panel.hpp.


Member Function Documentation

bool gui2::tscrollbar_panel::get_active (  )  const [inline, virtual]

Inherited from tcontrol.

Reimplemented from gui2::tscrollbar_container.

Definition at line 50 of file scrollbar_panel.hpp.

const std::string & gui2::tscrollbar_panel::get_control_type (  )  const [private, virtual]

Inherited from tcontrol.

Reimplemented from gui2::tscrollbar_container.

Definition at line 30 of file scrollbar_panel.cpp.

References type.

unsigned gui2::tscrollbar_panel::get_state (  )  const [inline, virtual]

Inherited from tcontrol.

Reimplemented from gui2::tscrollbar_container.

Definition at line 53 of file scrollbar_panel.hpp.

void gui2::tscrollbar_panel::set_self_active ( const   bool  )  [inline, private, virtual]

Inherited from tcontainer_.

Implements gui2::tcontainer_.

Definition at line 61 of file scrollbar_panel.hpp.


Friends And Related Function Documentation

Reimplemented from gui2::tscrollbar_container.

Definition at line 36 of file scrollbar_panel.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:23:22 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs