Public Member Functions | Private Member Functions

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 maximum_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 on_bar (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 24 of file vertical_scrollbar.hpp.


Constructor & Destructor Documentation

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

Definition at line 28 of file vertical_scrollbar.hpp.


Member Function Documentation

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

Inherited from tcontrol.

Implements gui2::tcontrol.

Definition at line 89 of file vertical_scrollbar.cpp.

References type.

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

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 36 of file vertical_scrollbar.hpp.

References gui2::twidget::get_height().

Here is the call graph for this function:

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 57 of file vertical_scrollbar.hpp.

References gui2::tpoint::y.

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

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 38 of file vertical_scrollbar.cpp.

References gui2::tcontrol::config().

Here is the call graph for this function:

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

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 30 of file vertical_scrollbar.cpp.

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

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 54 of file vertical_scrollbar.cpp.

References gui2::tcontrol::config().

Here is the call graph for this function:

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

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 46 of file vertical_scrollbar.cpp.

References gui2::tcontrol::config().

Here is the call graph for this function:

int gui2::tvertical_scrollbar::on_bar ( const tpoint coordinate  )  const [private, virtual]

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 71 of file vertical_scrollbar.cpp.

References gui2::twidget::get_height(), gui2::tscrollbar_::get_positioner_length(), gui2::tscrollbar_::get_positioner_offset(), gui2::twidget::get_width(), gui2::tpoint::x, and gui2::tpoint::y.

Here is the call graph for this function:

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

Inherited from tscrollbar.

Implements gui2::tscrollbar_.

Definition at line 62 of file vertical_scrollbar.cpp.

References gui2::tscrollbar_::get_positioner_length(), gui2::tscrollbar_::get_positioner_offset(), gui2::twidget::get_width(), gui2::tpoint::x, and gui2::tpoint::y.

Here is the call graph for this function:


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