nux-0.9.48
|
#include <Nux/HScrollBar.h>
Public Member Functions | |
HScrollBar (NUX_FILE_LINE_PROTO) | |
~HScrollBar () | |
virtual long | ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) |
void | DrawLeftTriangle (GraphicsEngine &GfxContext, int width, int height, const Geometry &geo, BasePainter &painter) |
void | DrawRightTriangle (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 | RecvStartScrollRight (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvStartScrollLeft (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvEndScrollRight (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvEndScrollLeft (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 > | OnScrollLeft |
sigc::signal< void, float, int > | OnScrollRight |
sigc::signal< void > | sigHScrollBarSliderMouseDown |
bool | b_MouseDownTimer |
bool | b_MouseUpTimer |
float | m_color_factor |
Protected Member Functions | |
virtual long | PostLayoutManagement (long LayoutResult) |
bool | AtMinimum () |
bool | AtMaximum () |
Protected Attributes | |
HLayout * | hlayout |
InputArea * | m_SlideBar |
InputArea * | m_LeftThumb |
InputArea * | m_RightThumb |
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 * | left_callback |
TimerFunctor * | right_callback |
TimerFunctor * | trackleft_callback |
TimerFunctor * | trackright_callback |
TimerHandle | m_LeftTimerHandler |
TimerHandle | m_RightTimerHandler |
TimerHandle | m_TrackLeftTimerHandler |
TimerHandle | m_TrackRightTimerHandler |
Point | m_TrackMouseCoord |
Friends | |
class | HLayout |
class | VLayout |
class | Layout |
nux::HScrollBar::HScrollBar | ( | NUX_FILE_LINE_PROTO | ) |
nux::HScrollBar::~HScrollBar | ( | ) |
bool nux::HScrollBar::AtMaximum | ( | ) | [protected] |
bool nux::HScrollBar::AtMinimum | ( | ) | [protected] |
void nux::HScrollBar::ComputeScrolling | ( | ) |
virtual void nux::HScrollBar::Draw | ( | GraphicsEngine & | GfxContext, |
bool | force_draw | ||
) | [virtual] |
Implements nux::ScrollBar.
void nux::HScrollBar::DrawLeftTriangle | ( | GraphicsEngine & | GfxContext, |
int | width, | ||
int | height, | ||
const Geometry & | geo, | ||
BasePainter & | painter | ||
) |
void nux::HScrollBar::DrawRightTriangle | ( | GraphicsEngine & | GfxContext, |
int | width, | ||
int | height, | ||
const Geometry & | geo, | ||
BasePainter & | painter | ||
) |
void nux::HScrollBar::OnSliderMouseDown | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::OnSliderMouseDrag | ( | int | x, |
int | y, | ||
int | dx, | ||
int | dy, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::OnSliderMouseUp | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
virtual long nux::HScrollBar::PostLayoutManagement | ( | long | LayoutResult | ) | [protected, virtual] |
Reimplemented from nux::View.
virtual long nux::HScrollBar::ProcessEvent | ( | IEvent & | ievent, |
long | TraverseInfo, | ||
long | ProcessEventInfo | ||
) | [virtual] |
Implements nux::View.
void nux::HScrollBar::RecvEndScrollLeft | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::RecvEndScrollRight | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::RecvStartScrollLeft | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::RecvStartScrollRight | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::RecvTrackMouseDown | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::RecvTrackMouseDrag | ( | int | x, |
int | y, | ||
int | dx, | ||
int | dy, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::RecvTrackMouseUp | ( | int | x, |
int | y, | ||
unsigned long | button_flags, | ||
unsigned long | key_flags | ||
) |
void nux::HScrollBar::SetContainerSize | ( | int | x, |
int | y, | ||
int | w, | ||
int | h | ||
) |
void nux::HScrollBar::SetContentOffset | ( | float | dx, |
float | dy | ||
) |
void nux::HScrollBar::SetContentSize | ( | int | x, |
int | y, | ||
int | w, | ||
int | h | ||
) |
void nux::HScrollBar::SetParameterName | ( | const char * | parameter_name | ) |
void nux::HScrollBar::SetValue | ( | float | value | ) |
friend class HLayout [friend] |
friend class VLayout [friend] |
TimerFunctor* nux::HScrollBar::callback [protected] |
HLayout* nux::HScrollBar::hlayout [protected] |
TimerFunctor* nux::HScrollBar::left_callback [protected] |
int nux::HScrollBar::m_containerHeight [protected] |
int nux::HScrollBar::m_containerWidth [protected] |
int nux::HScrollBar::m_contentHeight [protected] |
float nux::HScrollBar::m_contentOffsetX [protected] |
float nux::HScrollBar::m_contentOffsetY [protected] |
int nux::HScrollBar::m_contentWidth [protected] |
InputArea* nux::HScrollBar::m_LeftThumb [protected] |
TimerHandle nux::HScrollBar::m_LeftTimerHandler [protected] |
InputArea* nux::HScrollBar::m_RightThumb [protected] |
TimerHandle nux::HScrollBar::m_RightTimerHandler [protected] |
InputArea* nux::HScrollBar::m_SlideBar [protected] |
int nux::HScrollBar::m_SlideBarOffsetX [protected] |
int nux::HScrollBar::m_SlideBarOffsetY [protected] |
int nux::HScrollBar::m_SliderDragPositionX [protected] |
int nux::HScrollBar::m_SliderDragPositionY [protected] |
InputArea* nux::HScrollBar::m_Track [protected] |
int nux::HScrollBar::m_TrackHeight [protected] |
TimerHandle nux::HScrollBar::m_TrackLeftTimerHandler [protected] |
Point nux::HScrollBar::m_TrackMouseCoord [protected] |
TimerHandle nux::HScrollBar::m_TrackRightTimerHandler [protected] |
int nux::HScrollBar::m_TrackWidth [protected] |
sigc::signal<void, float, int> nux::HScrollBar::OnScrollLeft |
sigc::signal<void, float, int> nux::HScrollBar::OnScrollRight |
TimerFunctor* nux::HScrollBar::right_callback [protected] |
sigc::signal<void> nux::HScrollBar::sigClick |
sigc::signal<void> nux::HScrollBar::sigHScrollBarSliderMouseDown |
float nux::HScrollBar::stepX [protected] |
float nux::HScrollBar::stepY [protected] |
TimerFunctor* nux::HScrollBar::trackleft_callback [protected] |
TimerFunctor* nux::HScrollBar::trackright_callback [protected] |