neoGFX
Cross-platform C++ app/game engine
|
#include <scrollbar.hpp>
Classes | |
struct | no_transition |
Public Member Functions | |
scrollbar (i_scrollbar_container &aContainer, scrollbar_orientation aOrientation, scrollbar_style aStyle=scrollbar_style::Normal, bool aIntegerPositions=true) | |
~scrollbar () | |
i_scrollbar_container & | container () const override |
scrollbar_orientation | orientation () const override |
scrollbar_style | style () const override |
scrollbar_style | type () const override |
void | set_style (scrollbar_style aStyle) override |
bool | always_visible () const override |
bool | always_hidden () const override |
void | show () override |
void | hide () override |
bool | visible () const override |
bool | auto_hide () const override |
void | set_auto_hide (bool aAutoHide) override |
bool | auto_hidden () const override |
scrollbar_zone | zone () const override |
void | push_zone () override |
scrollbar_zone | pop_zone () override |
value_type | position () const override |
value_type | effective_position () const override |
value_type | maximum_position () const override |
bool | set_position (value_type aPosition) override |
value_type | minimum () const override |
void | set_minimum (value_type aMinimum) override |
value_type | maximum () const override |
void | set_maximum (value_type aMaximum) override |
value_type | step () const override |
void | set_step (value_type aStep) override |
value_type | page () const override |
void | set_page (value_type aPage) override |
bool | locked () const override |
void | lock (value_type aPosition) override |
void | unlock () override |
dimension | width () const override |
void | render (i_graphics_context &aGc) const override |
rect | element_geometry (scrollbar_element aElement) const override |
scrollbar_element | element_at (const point &aPosition) const override |
void | update (const update_params_t &aUpdateParams=update_params_t()) override |
scrollbar_element | clicked_element () const override |
void | click_element (scrollbar_element aElement) override |
void | unclick_element () override |
scrollbar_element | hovering_element () const override |
void | hover_element (scrollbar_element aElement) override |
void | unhover_element () override |
void | pause () override |
void | resume () override |
void | track () override |
void | untrack () override |
bool | transition_set () const noexcept override |
void | set_transition (easing aTransition, double aTransitionDuration=0.5, bool aOnlyWhenPaging=true) override |
void | clear_transition () override |
bool | is_widget () const final |
const i_widget & | as_widget () const final |
i_widget & | as_widget () |
rect | element_rect (skin_element aElement) const override |
Public Member Functions inherited from neogfx::object< i_scrollbar > | |
i_object & | as_object () override |
void | class_name (neolib::i_string &aClassName) const override |
neogfx::object_type | object_type () const override |
void | property_changed (i_property &) override |
const i_properties & | properties () const override |
i_properties & | properties () override |
void | register_property (i_property &aProperty) override |
const neogfx::property_map & | property_map () const override |
Public Member Functions inherited from neolib::object< Base > | |
define_declared_event (Destroying, destroying) | |
define_declared_event (Destroyed, destroyed) | |
object (lifetime_state aState=lifetime_state::Creating) | |
~object () | |
void | set_destroying () override |
void | set_destroyed () override |
bool | is_alive () const final |
bool | is_destroyed () const final |
Public Member Functions inherited from neolib::lifetime< Base > | |
lifetime (lifetime_state aState=lifetime_state::Alive) | |
virtual | ~lifetime () |
lifetime_state | object_state () const final |
std::shared_ptr< std::atomic< lifetime_state > > | object_state_ptr () const final |
bool | is_creating () const final |
bool | is_destroying () const final |
void | set_alive () override |
Public Member Functions inherited from neolib::i_lifetime | |
virtual | ~i_lifetime ()=default |
Public Member Functions inherited from neogfx::i_properties | |
uint32_t | count () const |
std::string | name (uint32_t aIndex) const |
const i_property & | property (uint32_t aIndex) const |
i_property & | property (uint32_t aIndex) |
Public Member Functions inherited from neogfx::i_skinnable_item | |
virtual | ~i_skinnable_item ()=default |
Static Public Member Functions | |
static dimension | width (scrollbar_style aStyle) |
Additional Inherited Members | |
Public Types inherited from neolib::lifetime< Base > | |
typedef neolib::destroyed_flag | destroyed_flag |
Protected Member Functions inherited from neogfx::i_properties | |
neogfx::property_map & | property_map () |
Definition at line 34 of file scrollbar.hpp.
neogfx::scrollbar::scrollbar | ( | i_scrollbar_container & | aContainer, |
scrollbar_orientation | aOrientation, | ||
scrollbar_style | aStyle = scrollbar_style::Normal , |
||
bool | aIntegerPositions = true |
||
) |
neogfx::scrollbar::~scrollbar | ( | ) |
|
override |
|
override |
i_widget & neogfx::scrollbar::as_widget | ( | ) |
|
finalvirtual |
Implements neogfx::i_skinnable_item.
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
overridevirtual |
Implements neogfx::i_skinnable_item.
|
override |
|
override |
|
override |
|
finalvirtual |
Implements neogfx::i_skinnable_item.
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
overridenoexcept |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
static |
|
override |