ardour
Namespaces | Functions | Variables
utils.h File Reference
#include <string>
#include <cmath>
#include <vector>
#include "ardour/types.h"
#include <gdkmm/types.h>
#include <gtkmm/menushell.h>
#include "canvas/types.h"

Go to the source code of this file.

Namespaces

 PBD
 
 Gtk
 
 ArdourCanvas
 
 ARDOUR_UI_UTILS
 

Functions

gint ARDOUR_UI_UTILS::just_hide_it (GdkEventAny *, Gtk::Window *)
 
void ARDOUR_UI_UTILS::add_item_with_sensitivity (Gtk::Menu_Helpers::MenuList &, Gtk::Menu_Helpers::MenuElem, bool)
 
unsigned char * ARDOUR_UI_UTILS::xpm2rgb (const char **xpm, uint32_t &w, uint32_t &h)
 
unsigned char * ARDOUR_UI_UTILS::xpm2rgba (const char **xpm, uint32_t &w, uint32_t &h)
 
ArdourCanvas::Points * ARDOUR_UI_UTILS::get_canvas_points (std::string who, uint32_t npoints)
 
Pango::FontDescription ARDOUR_UI_UTILS::sanitized_font (std::string const &)
 
Pango::FontDescription ARDOUR_UI_UTILS::get_font_for_style (std::string widgetname)
 
void ARDOUR_UI_UTILS::decorate (Gtk::Window &w, Gdk::WMDecoration d)
 
void ARDOUR_UI_UTILS::set_color_from_rgb (Gdk::Color &, uint32_t)
 
void ARDOUR_UI_UTILS::set_color_from_rgba (Gdk::Color &, uint32_t)
 
uint32_t ARDOUR_UI_UTILS::gdk_color_to_rgba (Gdk::Color const &)
 
uint32_t ARDOUR_UI_UTILS::contrasting_text_color (uint32_t c)
 
bool ARDOUR_UI_UTILS::relay_key_press (GdkEventKey *ev, Gtk::Window *win)
 
bool ARDOUR_UI_UTILS::forward_key_press (GdkEventKey *ev)
 
bool ARDOUR_UI_UTILS::key_press_focus_accelerator_handler (Gtk::Window &window, GdkEventKey *ev)
 
bool ARDOUR_UI_UTILS::emulate_key_event (Gtk::Widget *, unsigned int)
 
Glib::RefPtr< Gdk::Pixbuf > ARDOUR_UI_UTILS::get_xpm (std::string)
 
std::vector< std::string > ARDOUR_UI_UTILS::get_icon_sets ()
 
std::string ARDOUR_UI_UTILS::get_icon_path (const char *, std::string icon_set=std::string(), bool is_image=true)
 
Glib::RefPtr< Gdk::Pixbuf > ARDOUR_UI_UTILS::get_icon (const char *, std::string icon_set=std::string())
 
const char *const * ARDOUR_UI_UTILS::get_xpm_data (std::string path)
 
std::string ARDOUR_UI_UTILS::longest (std::vector< std::string > &)
 
bool ARDOUR_UI_UTILS::key_is_legal_for_numeric_entry (guint keyval)
 
void ARDOUR_UI_UTILS::reset_dpi ()
 
void ARDOUR_UI_UTILS::set_pango_fontsize ()
 
void ARDOUR_UI_UTILS::resize_window_to_proportion_of_monitor (Gtk::Window *, int, int)
 
std::string ARDOUR_UI_UTILS::escape_underscores (std::string const &)
 
std::string ARDOUR_UI_UTILS::escape_angled_brackets (std::string const &)
 
Gdk::Color ARDOUR_UI_UTILS::unique_random_color (std::list< Gdk::Color > &)
 
std::string ARDOUR_UI_UTILS::rate_as_string (float r)
 

Variables

static std::map< std::string,
Glib::RefPtr< Gdk::Pixbuf > > 
ARDOUR_UI_UTILS::xpm_map