gui2::tvertical_scrollbar Class Reference

A vertical scrollbar. More...

#include <vertical_scrollbar.hpp>

Inheritance diagram for gui2::tvertical_scrollbar:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tvertical_scrollbar ()

Private Member Functions

unsigned get_length () const
 Inherited from tscrollbar.
unsigned minimum_positioner_length () const
 Inherited from tscrollbar.
unsigned offset_before () const
 Inherited from tscrollbar.
unsigned offset_after () const
 Inherited from tscrollbar.
bool on_positioner (const tpoint &coordinate) const
 Inherited from tscrollbar.
int get_length_difference (const tpoint &original, const tpoint &current) const
 Inherited from tscrollbar.
const std::string & get_control_type () const
 Inherited from tcontrol.


Detailed Description

A vertical scrollbar.

Definition at line 23 of file vertical_scrollbar.hpp.


Constructor & Destructor Documentation

gui2::tvertical_scrollbar::tvertical_scrollbar (  )  [inline]

Definition at line 27 of file vertical_scrollbar.hpp.


Member Function Documentation

unsigned gui2::tvertical_scrollbar::get_length (  )  const [inline, private, virtual]

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 35 of file vertical_scrollbar.hpp.

References gui2::twidget::get_height().

unsigned gui2::tvertical_scrollbar::minimum_positioner_length (  )  const [private, virtual]

unsigned gui2::tvertical_scrollbar::offset_before (  )  const [private, virtual]

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 55 of file vertical_scrollbar.cpp.

References gui2::tcontrol::config(), and gui2::tvertical_scrollbar_definition::tresolution::top_offset.

unsigned gui2::tvertical_scrollbar::offset_after (  )  const [private, virtual]

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 64 of file vertical_scrollbar.cpp.

References gui2::tvertical_scrollbar_definition::tresolution::bottom_offset, and gui2::tcontrol::config().

bool gui2::tvertical_scrollbar::on_positioner ( const tpoint coordinate  )  const [private, virtual]

int gui2::tvertical_scrollbar::get_length_difference ( const tpoint original,
const tpoint current 
) const [inline, private, virtual]

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 50 of file vertical_scrollbar.hpp.

References gui2::tpoint::y.

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

Inherited from tcontrol.

Implements gui2::tcontrol.

Definition at line 54 of file vertical_scrollbar.hpp.

References type.


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