Horizon
preferences_util.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include "util/scroll_direction.hpp"
4 
5 namespace horizon {
6 void preferences_provider_attach_canvas(class CanvasGL *ca, bool layer);
7 void preferences_apply_to_canvas(class CanvasGL *ca, const class Preferences &prefs);
8 void preferences_apply_appearance(const class Preferences &prefs);
9 struct DeviceInfo {
10  GdkInputSource src;
11  ScrollDirection zoom;
12  ScrollDirection pan;
13 };
14 DeviceInfo preferences_get_device_info(GdkDevice *dev, const class InputDevicesPrefs &prefs);
15 } // namespace horizon
Definition: input_devices_prefs.hpp:6
Definition: preferences_util.hpp:9