From d7bee05ee92bf14c1344d336cfa5398815e8ccc9 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:37:16 -0500 Subject: add settings for channel list scrollbar policies --- src/util.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util.hpp') diff --git a/src/util.hpp b/src/util.hpp index fc9568b..f839eca 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -14,6 +14,7 @@ #include #include +#include #include namespace Glib { @@ -38,6 +39,8 @@ bool IsFolder(std::string_view path); bool IsFile(std::string_view path); uint64_t TimeToEpoch(int year, int month, int day, int hour, int minute, int seconds); + +Gtk::PolicyType TranslateScrollPolicy(const std::string &str); } // namespace util void LaunchBrowser(const Glib::ustring &url); -- cgit v1.2.3