#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/ScrolledWindow.hpp>
Public Member Functions | |
| ScrolledWindow (wxWindow *parent, wxWindowID id, wxPoint position, wxSize size, long style, int marginWidth=0, int scrollbarWidth=4, int tipLength=0) | |
| void | OnMouseWheel (wxMouseEvent &event) |
| void | SetTipColor (wxColour color) |
| bool | SetBackgroundColour (const wxColour &color) override |
| void | SetMarginColor (wxColour color) |
| void | SetScrollbarColor (wxColour color) |
| void | SetScrollbarTip (int len) |
| virtual void | SetVirtualSize (int x, int y) |
| virtual void | SetVirtualSize (wxSize &size) |
| wxPanel * | GetPanel () |
| bool | IsBothDirections () |
| virtual void | SetScrollbars (int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=false) override |
Private Member Functions | |
| void | OnSize (wxSizeEvent &WXUNUSED(event)) |
| void | OnScroll (wxScrollWinEvent &event) |
Private Attributes | |
| wxPanel * | m_userPanel |
| wxWindow * | m_scroll_win |
| MyScrollbar * | m_rightScrollbar |
| MyScrollbar * | m_bottomScrollbar |
| wxWindow * | m_verticalSplitter |
| wxSplitterWindow * | m_horizontalSplitter |
| int | m_marginWidth |
| bool | m_bothDirections |
| ScrolledWindow::ScrolledWindow | ( | wxWindow * | parent, |
| wxWindowID | id, | ||
| wxPoint | position, | ||
| wxSize | size, | ||
| long | style, | ||
| int | marginWidth = 0, | ||
| int | scrollbarWidth = 4, | ||
| int | tipLength = 0 ) |
References m_bothDirections, m_bottomScrollbar, m_horizontalSplitter, m_marginWidth, m_rightScrollbar, m_scroll_win, m_userPanel, m_verticalSplitter, OnMouseWheel(), OnScroll(), OnSize(), and style.
|
inline |
References m_userPanel.
|
inline |
References m_bothDirections.
| void ScrolledWindow::OnMouseWheel | ( | wxMouseEvent & | event | ) |
References m_rightScrollbar.
Referenced by ScrolledWindow().
|
private |
References m_bottomScrollbar, and m_rightScrollbar.
Referenced by ScrolledWindow().
|
private |
References m_bottomScrollbar, m_horizontalSplitter, m_marginWidth, m_rightScrollbar, m_userPanel, and m_verticalSplitter.
Referenced by ScrolledWindow().
|
override |
References m_scroll_win, m_userPanel, and m_verticalSplitter.
| void ScrolledWindow::SetMarginColor | ( | wxColour | color | ) |
References m_bottomScrollbar, and m_rightScrollbar.
| void ScrolledWindow::SetScrollbarColor | ( | wxColour | color | ) |
References m_bottomScrollbar, and m_rightScrollbar.
|
overridevirtual |
References m_bottomScrollbar, and m_rightScrollbar.
Referenced by SetVirtualSize(), and SetVirtualSize().
| void ScrolledWindow::SetScrollbarTip | ( | int | len | ) |
References m_bottomScrollbar, and m_rightScrollbar.
| void ScrolledWindow::SetTipColor | ( | wxColour | color | ) |
References m_bottomScrollbar, and m_rightScrollbar.
|
virtual |
References SetScrollbars().
|
virtual |
References SetScrollbars().
|
private |
Referenced by ScrolledWindow(), and IsBothDirections().
|
private |
Referenced by ScrolledWindow(), OnScroll(), OnSize(), SetMarginColor(), SetScrollbarColor(), SetScrollbars(), SetScrollbarTip(), and SetTipColor().
|
private |
Referenced by ScrolledWindow(), and OnSize().
|
private |
Referenced by ScrolledWindow(), and OnSize().
|
private |
Referenced by ScrolledWindow(), OnMouseWheel(), OnScroll(), OnSize(), SetMarginColor(), SetScrollbarColor(), SetScrollbars(), SetScrollbarTip(), and SetTipColor().
|
private |
Referenced by ScrolledWindow(), and SetBackgroundColour().
|
private |
Referenced by ScrolledWindow(), GetPanel(), OnSize(), and SetBackgroundColour().
|
private |
Referenced by ScrolledWindow(), OnSize(), and SetBackgroundColour().