|
void | ~ScrollBarContainer () |
|
void | ScrollFixedAmount (bool down, float amount) |
|
void | ScrollToPos (float pos) |
|
void | ScrollToBottom () |
|
void | ScrollToTop () |
|
float | GetContentYPos () |
|
float | GetRootHeight () |
|
void | UpdateScroller () |
|
void | OnWidgetScriptInit (Widget w) |
|
protected void | StopScrolling () |
|
protected void | UpdateScroll (int mouse_x, int mouse_y, bool is_dragging) |
|
override bool | OnMouseButtonDown (Widget w, int x, int y, int button) |
|
override bool | OnMouseButtonUp (Widget w, int x, int y, int button) |
|
override bool | OnMouseWheel (Widget w, int x, int y, int wheel) |
|
override bool | OnResize (Widget w, int x, int y) |
|
◆ ~ScrollBarContainer()
◆ GetContentYPos()
◆ GetRootHeight()
◆ OnMouseButtonDown()
◆ OnMouseButtonUp()
◆ OnMouseWheel()
◆ OnResize()
◆ OnWidgetScriptInit()
void OnWidgetScriptInit |
( |
Widget |
w | ) |
|
|
inlineprivate |
◆ ScrollFixedAmount()
void ScrollFixedAmount |
( |
bool |
down, |
|
|
float |
amount |
|
) |
| |
|
inlineprivate |
◆ ScrollToBottom()
◆ ScrollToPos()
void ScrollToPos |
( |
float |
pos | ) |
|
|
inlineprivate |
◆ ScrollToTop()
◆ StopScrolling()
protected void StopScrolling |
( |
| ) |
|
|
inlineprivate |
◆ UpdateScroll()
protected void UpdateScroll |
( |
int |
mouse_x, |
|
|
int |
mouse_y, |
|
|
bool |
is_dragging |
|
) |
| |
|
inlineprivate |
◆ UpdateScroller()
References Content, Invert, m_content_height, m_position, m_root, m_root_height, ScrollBar, and Scroller.
Referenced by OnMouseWheel(), OnResize(), OnWidgetScriptInit(), ScrollFixedAmount(), ScrollToBottom(), ScrollToPos(), ScrollToTop(), and UpdateScroll().
◆ Content
◆ Invert
◆ m_content_height
protected float m_content_height |
|
private |
◆ m_position
protected float m_position |
|
private |
◆ m_root
◆ m_root_height
protected float m_root_height |
|
private |
◆ m_scrolling
protected bool m_scrolling |
|
private |
◆ m_scrolling_mouse_pos
protected int m_scrolling_mouse_pos |
|
private |
◆ m_scrolling_start_pos
protected float m_scrolling_start_pos |
|
private |
◆ ScrollBar
◆ Scroller
◆ WHEEL_STEP
const int WHEEL_STEP = 20 |
|
private |
The documentation for this class was generated from the following file: