MCPcopy Create free account
hub / github.com/TankOs/SFGUI / Scrollbar

Method Scrollbar

src/SFGUI/Scrollbar.cpp:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace sfg {
10
11Scrollbar::Scrollbar( Orientation orientation ) :
12 Range( orientation ),
13 m_elapsed_time( 0.f ),
14 m_slider_click_offset( 0.f ),
15 m_page_decreasing( 0 ),
16 m_page_increasing( 0 ),
17 m_dragging( false ),
18 m_decrease_pressed( false ),
19 m_increase_pressed( false ),
20 m_repeat_wait( true )
21{
22}
23
24Scrollbar::Ptr Scrollbar::Create( Orientation orientation ) {
25 auto ptr = Ptr( new Scrollbar( orientation ) );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected