A vertical scrollbar. More...
#include <vertical_scrollbar.hpp>


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 ¤t) const |
| Inherited from tscrollbar. | |
| const std::string & | get_control_type () const |
| Inherited from tcontrol. | |
A vertical scrollbar.
Definition at line 24 of file vertical_scrollbar.hpp.
| gui2::tvertical_scrollbar::tvertical_scrollbar | ( | ) | [inline] |
Definition at line 28 of file vertical_scrollbar.hpp.
| 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().

| 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().

| 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().

| 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().

| 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.

| 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.

| Generated by doxygen 1.7.1 on Thu May 24 2012 01:23:37 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |