improved resizable scrollbar functionality

This commit is contained in:
itsmattkc
2021-01-23 08:19:04 +11:00
parent 03dc971a4b
commit ec4d061857
4 changed files with 94 additions and 63 deletions
+8 -1
View File
@@ -205,10 +205,17 @@ private:
QVector<QObject*> wheel_passthrough_objects_;
int scrollbar_start_width_;
double scrollbar_start_value_;
double scrollbar_start_scale_;
bool scrollbar_top_handle_;
private slots:
void UpdateMaximumScroll();
void ScrollBarResized(const double& multiplier);
void ScrollBarResizeBegan(int current_bar_width, bool top_handle);
void ScrollBarResizeMoved(int new_bar_width);
/**
* @brief Slot to handle page scrolling of the playhead