|
nux-0.9.46
|
#include <Nux/VScrollBar.h>
Public Member Functions | |
| VScrollBar (NUX_FILE_LINE_PROTO) | |
| ~VScrollBar () | |
| virtual long | ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) |
| void | DrawDownTriangle (GraphicsEngine &GfxContext, int width, int height, const Geometry &geo, BasePainter &painter) |
| void | DrawUpTriangle (GraphicsEngine &GfxContext, int width, int height, const Geometry &geo, BasePainter &painter) |
| virtual void | Draw (GraphicsEngine &GfxContext, bool force_draw) |
| void | SetContainerSize (int x, int y, int w, int h) |
| void | SetContentSize (int x, int y, int w, int h) |
| void | SetContentOffset (float dx, float dy) |
| void | ComputeScrolling () |
| void | SetValue (float value) |
| void | SetParameterName (const char *parameter_name) |
| void | RecvStartScrollDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvStartScrollUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvEndScrollDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvEndScrollUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvTrackMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvTrackMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvTrackMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags) |
| void | OnSliderMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | OnSliderMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | OnSliderMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags) |
Data Fields | |
| sigc::signal< void > | sigClick |
| sigc::signal< void, float, int > | OnScrollUp |
| sigc::signal< void, float, int > | OnScrollDown |
| sigc::signal< void > | sigVScrollBarSliderMouseDown |
| bool | b_MouseDownTimer |
| bool | b_MouseUpTimer |
| float | m_color_factor |
Protected Member Functions | |
| virtual long | PostLayoutManagement (long LayoutResult) |
| bool | AtMinimum () |
| bool | AtMaximum () |
Protected Attributes | |
| VLayout * | vlayout |
| InputArea * | m_SlideBar |
| InputArea * | m_TopThumb |
| InputArea * | m_BottomThumb |
| InputArea * | m_Track |
| int | m_contentWidth |
| int | m_contentHeight |
| float | m_contentOffsetX |
| float | m_contentOffsetY |
| int | m_containerWidth |
| int | m_containerHeight |
| int | m_TrackWidth |
| int | m_TrackHeight |
| int | m_SlideBarOffsetX |
| int | m_SlideBarOffsetY |
| float | stepX |
| float | stepY |
| int | m_SliderDragPositionX |
| int | m_SliderDragPositionY |
| TimerFunctor * | callback |
| TimerFunctor * | up_callback |
| TimerFunctor * | down_callback |
| TimerFunctor * | trackup_callback |
| TimerFunctor * | trackdown_callback |
| TimerHandle | m_UpTimerHandler |
| TimerHandle | m_DownTimerHandler |
| TimerHandle | m_TrackUpTimerHandler |
| TimerHandle | m_TrackDownTimerHandler |
| Point | m_TrackMouseCoord |
Friends | |
| class | HLayout |
| class | VLayout |
| class | Layout |
| nux::VScrollBar::VScrollBar | ( | NUX_FILE_LINE_PROTO | ) |
| nux::VScrollBar::~VScrollBar | ( | ) |
| bool nux::VScrollBar::AtMaximum | ( | ) | [protected] |
| bool nux::VScrollBar::AtMinimum | ( | ) | [protected] |
| void nux::VScrollBar::ComputeScrolling | ( | ) |
| virtual void nux::VScrollBar::Draw | ( | GraphicsEngine & | GfxContext, |
| bool | force_draw | ||
| ) | [virtual] |
Implements nux::ScrollBar.
| void nux::VScrollBar::DrawDownTriangle | ( | GraphicsEngine & | GfxContext, |
| int | width, | ||
| int | height, | ||
| const Geometry & | geo, | ||
| BasePainter & | painter | ||
| ) |
| void nux::VScrollBar::DrawUpTriangle | ( | GraphicsEngine & | GfxContext, |
| int | width, | ||
| int | height, | ||
| const Geometry & | geo, | ||
| BasePainter & | painter | ||
| ) |
| void nux::VScrollBar::OnSliderMouseDown | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::OnSliderMouseDrag | ( | int | x, |
| int | y, | ||
| int | dx, | ||
| int | dy, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::OnSliderMouseUp | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| virtual long nux::VScrollBar::PostLayoutManagement | ( | long | LayoutResult | ) | [protected, virtual] |
Reimplemented from nux::View.
| virtual long nux::VScrollBar::ProcessEvent | ( | IEvent & | ievent, |
| long | TraverseInfo, | ||
| long | ProcessEventInfo | ||
| ) | [virtual] |
Implements nux::View.
| void nux::VScrollBar::RecvEndScrollDown | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::RecvEndScrollUp | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::RecvStartScrollDown | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::RecvStartScrollUp | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::RecvTrackMouseDown | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::RecvTrackMouseDrag | ( | int | x, |
| int | y, | ||
| int | dx, | ||
| int | dy, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::RecvTrackMouseUp | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::VScrollBar::SetContainerSize | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
| void nux::VScrollBar::SetContentOffset | ( | float | dx, |
| float | dy | ||
| ) |
| void nux::VScrollBar::SetContentSize | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
| void nux::VScrollBar::SetParameterName | ( | const char * | parameter_name | ) |
| void nux::VScrollBar::SetValue | ( | float | value | ) |
friend class HLayout [friend] |
friend class VLayout [friend] |
TimerFunctor* nux::VScrollBar::callback [protected] |
TimerFunctor* nux::VScrollBar::down_callback [protected] |
InputArea* nux::VScrollBar::m_BottomThumb [protected] |
int nux::VScrollBar::m_containerHeight [protected] |
int nux::VScrollBar::m_containerWidth [protected] |
int nux::VScrollBar::m_contentHeight [protected] |
float nux::VScrollBar::m_contentOffsetX [protected] |
float nux::VScrollBar::m_contentOffsetY [protected] |
int nux::VScrollBar::m_contentWidth [protected] |
TimerHandle nux::VScrollBar::m_DownTimerHandler [protected] |
InputArea* nux::VScrollBar::m_SlideBar [protected] |
int nux::VScrollBar::m_SlideBarOffsetX [protected] |
int nux::VScrollBar::m_SlideBarOffsetY [protected] |
int nux::VScrollBar::m_SliderDragPositionX [protected] |
int nux::VScrollBar::m_SliderDragPositionY [protected] |
InputArea* nux::VScrollBar::m_TopThumb [protected] |
InputArea* nux::VScrollBar::m_Track [protected] |
TimerHandle nux::VScrollBar::m_TrackDownTimerHandler [protected] |
int nux::VScrollBar::m_TrackHeight [protected] |
Point nux::VScrollBar::m_TrackMouseCoord [protected] |
TimerHandle nux::VScrollBar::m_TrackUpTimerHandler [protected] |
int nux::VScrollBar::m_TrackWidth [protected] |
TimerHandle nux::VScrollBar::m_UpTimerHandler [protected] |
| sigc::signal<void, float, int> nux::VScrollBar::OnScrollDown |
| sigc::signal<void, float, int> nux::VScrollBar::OnScrollUp |
| sigc::signal<void> nux::VScrollBar::sigClick |
| sigc::signal<void> nux::VScrollBar::sigVScrollBarSliderMouseDown |
float nux::VScrollBar::stepX [protected] |
float nux::VScrollBar::stepY [protected] |
TimerFunctor* nux::VScrollBar::trackdown_callback [protected] |
TimerFunctor* nux::VScrollBar::trackup_callback [protected] |
TimerFunctor* nux::VScrollBar::up_callback [protected] |
VLayout* nux::VScrollBar::vlayout [protected] |