aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/WebView.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/WebView.hpp')
-rw-r--r--src/widgets/WebView.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/WebView.hpp b/src/widgets/WebView.hpp
index c861b6e..0900ea6 100644
--- a/src/widgets/WebView.hpp
+++ b/src/widgets/WebView.hpp
@@ -37,6 +37,9 @@ class WebView : public QWebEngineView {
public:
WebView(uint32_t webview_id, QWebEngineProfile *profile, QWidget *parent_node = nullptr);
void open_devtools();
+ void scroll_increment(int deltax, int deltay);
+ void scroll_to_top();
+ void scroll_to_bottom();
DEFINE_GETTER(get_id, id)