DoubleSlider improvement

+ added thicks selection by mouse in the DoubleSlider
 + Click on the Unlock icon on DoubleSlider => set Min and Max slider values
This commit is contained in:
YuSanka 2018-11-27 11:08:34 +01:00
parent 3f0ea223d1
commit db4ceaa5fa
2 changed files with 39 additions and 0 deletions

View file

@ -719,6 +719,7 @@ protected:
void enter_window(wxMouseEvent& event, const bool enter);
bool is_point_in_rect(const wxPoint& pt, const wxRect& rect);
int is_point_near_tick(const wxPoint& pt);
bool is_horizontal() const { return m_style == wxSL_HORIZONTAL; }
double get_scroll_step();