X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fgtkmm2ext%2Fgtkmm2ext%2Fclick_box.h;h=5c56a1b3e8ce858028fb13def95d2097ade53fcd;hb=4dc63966f0872efe768dad61eb9b8785d06b92d1;hp=ea0041e5409a6a56e9122fe3bc4860bb762103bc;hpb=d63e8ba0e8eeda4f53684bbd20f027c0cd6f7c89;p=ardour.git diff --git a/libs/gtkmm2ext/gtkmm2ext/click_box.h b/libs/gtkmm2ext/gtkmm2ext/click_box.h index ea0041e540..5c56a1b3e8 100644 --- a/libs/gtkmm2ext/gtkmm2ext/click_box.h +++ b/libs/gtkmm2ext/gtkmm2ext/click_box.h @@ -1,5 +1,5 @@ /* - Copyright (C) 1999 Paul Barton-Davis + Copyright (C) 1999 Paul Barton-Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,11 +27,12 @@ #include #include -#include +#include "gtkmm2ext/visibility.h" +#include "gtkmm2ext/auto_spin.h" namespace Gtkmm2ext { -class ClickBox : public Gtk::DrawingArea, public AutoSpin +class LIBGTKMM2EXT_API ClickBox : public Gtk::DrawingArea, public AutoSpin { public: ClickBox (Gtk::Adjustment *adj, const std::string &name, bool round_to_steps = false); @@ -56,6 +57,7 @@ class ClickBox : public Gtk::DrawingArea, public AutoSpin void style_changed (const Glib::RefPtr &); bool button_press_handler (GdkEventButton *); bool button_release_handler (GdkEventButton *); + bool on_scroll_event (GdkEventScroll*); sigc::slot _printer; };