diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2009-05-21 17:30:45 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2009-05-21 17:30:45 +0000 |
commit | 882e3a690a38b447f00bd14bfdfea88e9ad49f93 (patch) | |
tree | 840071f5ecd2bdac73e3dcf2037f65bab0ad8c37 /gtk2_ardour/utils.h | |
parent | d1ee2a06cab5b4e08e12f352d91721442d8851de (diff) |
A different fix for record crash, use pixfufs instead of canvas text in markers, use leftmost_frame instead of querying canvas coords when scrolling (speeds up canvas scrolling somewhat), remove old include, remove first_action_message and some other unused methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@5108 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index b6ce0160ea..eb74864a78 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -89,4 +89,11 @@ bool key_is_legal_for_numeric_entry (guint keyval); void reset_dpi (); void set_pango_fontsize (); +inline guint8 convert_color_channel (guint8 src, guint8 alpha); +void convert_bgra_to_rgba (guint8 const* src, + guint8* dst, + int width, + int height); + + #endif /* __ardour_gtk_utils_h__ */ |