diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-05 21:35:47 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-05 21:35:47 +0000 |
commit | a80aaeba7971a7d1acdbc5107fcdbae1f0b4e593 (patch) | |
tree | dc0bf7d0d8984d14adfa4d86073db09dbe0d117e /gtk2_ardour/utils.h | |
parent | d3755ba3b34b83c5d29d848be6d1504907af7215 (diff) |
mouse zoom focus; mouse scrubbing becomes mouse shuttling; use nframes64_t more; add mouse_frame() method to get mouse position & whether its in one of the two canvases; add color_from_style() utility function (though its not used)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2595 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index cae78f3d0a..74a6eebd21 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -67,6 +67,8 @@ Pango::FontDescription* get_font_for_style (std::string widgetname); uint32_t rgba_from_style (std::string, uint32_t, uint32_t, uint32_t, uint32_t, std::string = "fg", int = Gtk::STATE_NORMAL, bool = true); +Gdk::Color color_from_style (std::string widget_style_name, int state, std::string attr); + void decorate (Gtk::Window& w, Gdk::WMDecoration d); bool canvas_item_visible (ArdourCanvas::Item* item); |