summaryrefslogtreecommitdiff
path: root/gtk2_ardour/led.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-05-06 18:40:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-05-06 18:40:37 +0000
commitf2ceb5c3404bb3e7f4ccc5bb3f2236f593775d73 (patch)
treeb8cc08678ab9b4e189a5cd97ae16f425fe8ab0b4 /gtk2_ardour/led.h
parente1ed9467dc9f9ffec7549958b1bca27b753e8742 (diff)
lots of odds and ends to do with solo isolate and its GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@7072 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/led.h')
-rw-r--r--gtk2_ardour/led.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/led.h b/gtk2_ardour/led.h
index 6350a36ba3..06ac7454df 100644
--- a/gtk2_ardour/led.h
+++ b/gtk2_ardour/led.h
@@ -37,7 +37,8 @@ class LED : public CairoWidget
protected:
void render (cairo_t *);
void on_size_request (Gtk::Requisition* req);
-
+ void on_realize ();
+
private:
int32_t _visual_state;
bool _active;
@@ -46,6 +47,8 @@ class LED : public CairoWidget
float _red;
float _green;
float _blue;
+
+ void set_colors_from_style ();
};
#endif /* __gtk2_ardour_led_h__ */