summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-09-26 13:33:39 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-09-26 13:33:39 +0000
commitaad157337c5db676fdb39f5faefbb764f500702a (patch)
treecacded6988b69d5fb8ef6bdeba18c505f04851ce /gtk2_ardour/utils.h
parent0d2ddbe52aad707af38e40764d69413672241157 (diff)
correct version of: port cairo ARGB/BGRA -> pixbuf RGBA patch from recent 2.X commit (restores text on canvas), in which i move some functions around, rename stuff and add comments
git-svn-id: svn://localhost/ardour2/branches/3.0@7846 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index 58cc1c25bf..fbfba08a77 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -85,25 +85,10 @@ 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);
-
-Glib::RefPtr<Gdk::Pixbuf> pixbuf_from_string (const std::string& name,
- Pango::FontDescription* font,
- int clip_width,
- int clip_height,
- Gdk::Color);
-
void resize_window_to_proportion_of_monitor (Gtk::Window*, int, int);
std::string escape_underscores (std::string const &);
void control_link (PBD::ScopedConnectionList& scl, boost::shared_ptr<PBD::Controllable> c, Gtk::Adjustment& a);
-int physical_screen_height (Glib::RefPtr<Gdk::Window>);
-int physical_screen_width (Glib::RefPtr<Gdk::Window>);
-
#endif /* __ardour_gtk_utils_h__ */