diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2009-06-02 17:45:18 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2009-06-02 17:45:18 +0000 |
commit | 2641231cb2125a0188264e833c6e6e77202910a9 (patch) | |
tree | b29c2b2a8fe70da2637aa3efd92bf7c87df34cb0 /gtk2_ardour/utils.h | |
parent | beef5e20ce6402e55c974d6126db8db6c7a13d7c (diff) |
Fix memory leak in name text pixbuf generation, move RegionView::_height to TimeAxisViewItem, clean up name_highlight vs name_text code (removes assumpton that one implied the other), fix mouse offset when track resizing past the smallest size, reinstate zooming to 1 frame per pixel.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5117 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index 48ebfe2a4b..88c8536cc2 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -92,5 +92,9 @@ void convert_bgra_to_rgba (guint8 const* src, guint8* dst, int width, int height); +Glib::RefPtr<Gdk::Pixbuf> pixbuf_from_ustring (const Glib::ustring& name, + Pango::FontDescription* font, + int clip_width, + int clip_height); #endif /* __ardour_gtk_utils_h__ */ |