use syntactic sugar
[ardour.git] / gtk2_ardour / midi_scroomer.h
index a0021de92626926471e47b6c8d7dd0936b8d557e..bbf1ec3d64672582205c343c99ef4a5a6e9f701e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2008 Paul Davis 
+    Copyright (C) 2008 Paul 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
 #ifndef __ardour_midi_scroomer_h__
 #define __ardour_midi_scroomer_h__
 
-#include <gtkmm2ext/scroomer.h>
-#include <gdkmm/pixbuf.h>
+#include "widgets/scroomer.h"
 
-class MidiScroomer : public Gtkmm2ext::Scroomer {
+class MidiScroomer : public ArdourWidgets::Scroomer
+{
 public:
        MidiScroomer(Gtk::Adjustment&);
        ~MidiScroomer();
 
        bool on_expose_event(GdkEventExpose*);
-
        void on_size_request(Gtk::Requisition*);
-       void on_size_allocate(Gtk::Allocation&);
 
        void get_colors(double color[], Component comp);
 };