#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/Scrollbar.hpp>
Public Member Functions | |
| MyScrollbar (wxWindow *parent, wxWindowID id, wxPoint position, wxSize size, ScrolledWindow *scrolledWindow, long direction, int scrollbarWidth, int tipLength=0) | |
| void | SetViewStart (int start) |
| void | SetTipColor (wxColour color) |
| void | SetMarginColor (wxColour color) |
| void | SetScrollbarColor (wxColour color) |
| void | SetScrollbarTip (int len) |
| void | SetVirtualDim (int pixelsPerUnit, int noUnits) |
Private Member Functions | |
| void | OnPaint (wxPaintEvent &event) |
| void | OnSize (wxSizeEvent &WXUNUSED(event)) |
| void | OnEraseBackground (wxEraseEvent &event) |
| void | OnMouseLeftDown (wxMouseEvent &event) |
| void | OnMouseLeftUp (wxMouseEvent &event) |
| void | OnMouseMove (wxMouseEvent &event) |
| void | OnMouseWheel (wxMouseEvent &event) |
Private Attributes | |
| long | m_direction |
| int | m_virtualDim |
| int | m_actualDim |
| int | m_pixelsPerUnit |
| int | m_viewStartInPixels |
| int | m_viewStartInScrollUnits |
| int | m_scrollbarWidth |
| int | m_marginWidth |
| int | m_previousMouse |
| int | m_mouseLocation |
| int | m_tipLength |
| int | m_minSliderSize |
| wxColour | m_tipColor |
| wxColour | m_marginColor |
| wxColour | m_scrollbarColor |
| ScrolledWindow * | m_scrolledWindow |
| MyScrollbar::MyScrollbar | ( | wxWindow * | parent, |
| wxWindowID | id, | ||
| wxPoint | position, | ||
| wxSize | size, | ||
| ScrolledWindow * | scrolledWindow, | ||
| long | direction, | ||
| int | scrollbarWidth, | ||
| int | tipLength = 0 ) |
References m_actualDim, m_direction, m_marginColor, m_marginWidth, m_minSliderSize, m_scrollbarColor, m_scrollbarWidth, m_scrolledWindow, m_tipColor, m_tipLength, m_viewStartInPixels, m_viewStartInScrollUnits, m_virtualDim, OnEraseBackground(), OnMouseLeftDown(), OnMouseLeftUp(), OnMouseMove(), OnMouseWheel(), OnPaint(), and OnSize().
|
private |
Referenced by MyScrollbar().
|
private |
References BEFORE_SCROLLBAR, m_actualDim, m_direction, m_minSliderSize, m_mouseLocation, m_pixelsPerUnit, m_previousMouse, m_viewStartInScrollUnits, m_virtualDim, MAX, and ON_SCROLLBAR.
Referenced by MyScrollbar().
|
private |
References m_mouseLocation, and NOWHERE.
Referenced by MyScrollbar().
|
private |
References m_actualDim, m_direction, m_marginWidth, m_mouseLocation, m_pixelsPerUnit, m_previousMouse, m_scrolledWindow, m_viewStartInPixels, m_viewStartInScrollUnits, m_virtualDim, ON_SCROLLBAR, and SetViewStart().
Referenced by MyScrollbar().
|
private |
References m_actualDim, m_direction, m_marginWidth, m_pixelsPerUnit, m_scrolledWindow, m_viewStartInPixels, m_viewStartInScrollUnits, m_virtualDim, SCROLL_D_MOTION, and SetViewStart().
Referenced by MyScrollbar().
|
private |
References m_actualDim, m_direction, m_marginColor, m_marginWidth, m_minSliderSize, m_pixelsPerUnit, m_scrollbarColor, m_scrollbarWidth, m_scrolledWindow, m_tipColor, m_tipLength, m_viewStartInScrollUnits, and m_virtualDim.
Referenced by MyScrollbar().
|
private |
References m_actualDim, m_direction, m_marginWidth, and m_virtualDim.
Referenced by MyScrollbar().
| void MyScrollbar::SetMarginColor | ( | wxColour | color | ) |
References m_marginColor.
| void MyScrollbar::SetScrollbarColor | ( | wxColour | color | ) |
References m_scrollbarColor.
| void MyScrollbar::SetScrollbarTip | ( | int | len | ) |
References m_tipLength.
| void MyScrollbar::SetTipColor | ( | wxColour | color | ) |
References m_tipColor.
| void MyScrollbar::SetViewStart | ( | int | start | ) |
References m_viewStartInPixels, and m_viewStartInScrollUnits.
Referenced by OnMouseMove(), and OnMouseWheel().
| void MyScrollbar::SetVirtualDim | ( | int | pixelsPerUnit, |
| int | noUnits ) |
References m_pixelsPerUnit, and m_virtualDim.
|
private |
Referenced by MyScrollbar(), OnMouseLeftDown(), OnMouseMove(), OnMouseWheel(), OnPaint(), and OnSize().
|
private |
Referenced by MyScrollbar(), OnMouseLeftDown(), OnMouseMove(), OnMouseWheel(), OnPaint(), and OnSize().
|
private |
Referenced by MyScrollbar(), OnPaint(), and SetMarginColor().
|
private |
Referenced by MyScrollbar(), OnMouseMove(), OnMouseWheel(), OnPaint(), and OnSize().
|
private |
Referenced by MyScrollbar(), OnMouseLeftDown(), and OnPaint().
|
private |
Referenced by OnMouseLeftDown(), OnMouseLeftUp(), and OnMouseMove().
|
private |
Referenced by OnMouseLeftDown(), OnMouseMove(), OnMouseWheel(), OnPaint(), and SetVirtualDim().
|
private |
Referenced by OnMouseLeftDown(), and OnMouseMove().
|
private |
Referenced by MyScrollbar(), OnPaint(), and SetScrollbarColor().
|
private |
Referenced by MyScrollbar(), and OnPaint().
|
private |
Referenced by MyScrollbar(), OnMouseMove(), OnMouseWheel(), and OnPaint().
|
private |
Referenced by MyScrollbar(), OnPaint(), and SetTipColor().
|
private |
Referenced by MyScrollbar(), OnPaint(), and SetScrollbarTip().
|
private |
Referenced by MyScrollbar(), OnMouseMove(), OnMouseWheel(), and SetViewStart().
|
private |
Referenced by MyScrollbar(), OnMouseLeftDown(), OnMouseMove(), OnMouseWheel(), OnPaint(), and SetViewStart().
|
private |
Referenced by MyScrollbar(), OnMouseLeftDown(), OnMouseMove(), OnMouseWheel(), OnPaint(), OnSize(), and SetVirtualDim().