summaryrefslogtreecommitdiff
path: root/src/util.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-01-20 20:37:16 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2024-01-20 20:37:16 -0500
commitd7bee05ee92bf14c1344d336cfa5398815e8ccc9 (patch)
tree3d3202f3f8ff2309a091880911a5d05430d6ed0b /src/util.hpp
parent15457c49fea25a0347b0368d0707090ba5cf8c3f (diff)
downloadabaddon-portaudio-d7bee05ee92bf14c1344d336cfa5398815e8ccc9.tar.gz
abaddon-portaudio-d7bee05ee92bf14c1344d336cfa5398815e8ccc9.zip
add settings for channel list scrollbar policies
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp3
1 files changed, 3 insertions, 0 deletions
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 <optional>
#include <type_traits>
+#include <gtkmm/enums.h>
#include <sigc++/slot.h>
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);