Ardour
9.0-pre0-582-g084a23a80d
|
Functions | |
Gtk::Menu * | shared_popup_menu () |
bool | relay_key_press (GdkEventKey *ev, Gtk::Window *win) |
bool | forward_key_press (GdkEventKey *ev) |
gint | just_hide_it (GdkEventAny *, Gtk::Window *) |
void | add_item_with_sensitivity (Gtk::Menu_Helpers::MenuList &, Gtk::Menu_Helpers::MenuElem, bool) |
bool | engine_is_running () |
unsigned char * | xpm2rgb (const char **xpm, uint32_t &w, uint32_t &h) |
unsigned char * | xpm2rgba (const char **xpm, uint32_t &w, uint32_t &h) |
ArdourCanvas::Points * | get_canvas_points (std::string who, uint32_t npoints) |
Pango::FontDescription | sanitized_font (std::string const &) |
Pango::FontDescription | ardour_font (std::string const &) |
Pango::FontDescription | get_font_for_style (std::string widgetname) |
void | decorate (Gtk::Window &w, Gdk::WMDecoration d) |
bool | key_press_focus_accelerator_handler (Gtk::Window &window, GdkEventKey *ev) |
bool | emulate_key_event (unsigned int) |
Glib::RefPtr< Gdk::Pixbuf > | get_xpm (std::string) |
std::vector< std::string > | get_icon_sets () |
void | get_color_themes (std::map< std::string, std::string > &) |
std::string | get_icon_path (const char *, std::string icon_set=std::string(), bool is_image=true) |
Glib::RefPtr< Gdk::Pixbuf > | get_icon (const char *, std::string icon_set=std::string()) |
const char *const * | get_xpm_data (std::string path) |
std::string | longest (std::vector< std::string > &) |
bool | key_is_legal_for_numeric_entry (guint keyval) |
int | guess_default_ui_scale () |
void | resize_window_to_proportion_of_monitor (Gtk::Window *, int, int) |
std::string | escape_underscores (std::string const &) |
Gdk::Color | round_robin_palette_color () |
Gdk::Color | unique_random_color (std::list< Gdk::Color > &) |
std::string | rate_as_string (float r) |
std::string | samples_as_time_string (ARDOUR::samplecnt_t s, float r, bool show_samples=false) |
std::string | midi_channels_as_string (std::bitset< 16 >) |
bool | windows_overlap (Gtk::Window *a, Gtk::Window *b) |
bool | overwrite_file_dialog (Gtk::Window &parent, std::string title, std::string text) |
bool | running_from_source_tree () |
void | inhibit_screensaver (bool) |
void | copy_patch_changes (std::shared_ptr< ARDOUR::Auditioner >, std::shared_ptr< ARDOUR::Trigger >) |
bool | convert_drop_to_paths (std::vector< std::string > &, const Gtk::SelectionData &) |
void | format_position (ARDOUR::Session *, Temporal::timepos_t const &pos, char *buf, size_t bufsize, bool onoff=true) |
Variables | |
static std::map< std::string, Glib::RefPtr< Gdk::Pixbuf > > | xpm_map |
void ARDOUR_UI_UTILS::add_item_with_sensitivity | ( | Gtk::Menu_Helpers::MenuList & | , |
Gtk::Menu_Helpers::MenuElem | , | ||
bool | |||
) |
Pango::FontDescription ARDOUR_UI_UTILS::ardour_font | ( | std::string const & | ) |
bool ARDOUR_UI_UTILS::convert_drop_to_paths | ( | std::vector< std::string > & | , |
const Gtk::SelectionData & | |||
) |
void ARDOUR_UI_UTILS::copy_patch_changes | ( | std::shared_ptr< ARDOUR::Auditioner > | , |
std::shared_ptr< ARDOUR::Trigger > | |||
) |
void ARDOUR_UI_UTILS::decorate | ( | Gtk::Window & | w, |
Gdk::WMDecoration | d | ||
) |
bool ARDOUR_UI_UTILS::emulate_key_event | ( | unsigned int | ) |
bool ARDOUR_UI_UTILS::engine_is_running | ( | ) |
std::string ARDOUR_UI_UTILS::escape_underscores | ( | std::string const & | ) |
void ARDOUR_UI_UTILS::format_position | ( | ARDOUR::Session * | , |
Temporal::timepos_t const & | pos, | ||
char * | buf, | ||
size_t | bufsize, | ||
bool | onoff = true |
||
) |
bool ARDOUR_UI_UTILS::forward_key_press | ( | GdkEventKey * | ev | ) |
ArdourCanvas::Points* ARDOUR_UI_UTILS::get_canvas_points | ( | std::string | who, |
uint32_t | npoints | ||
) |
void ARDOUR_UI_UTILS::get_color_themes | ( | std::map< std::string, std::string > & | ) |
Pango::FontDescription ARDOUR_UI_UTILS::get_font_for_style | ( | std::string | widgetname | ) |
Glib::RefPtr<Gdk::Pixbuf> ARDOUR_UI_UTILS::get_icon | ( | const char * | , |
std::string | icon_set = std::string() |
||
) |
std::string ARDOUR_UI_UTILS::get_icon_path | ( | const char * | , |
std::string | icon_set = std::string() , |
||
bool | is_image = true |
||
) |
std::vector<std::string> ARDOUR_UI_UTILS::get_icon_sets | ( | ) |
Glib::RefPtr<Gdk::Pixbuf> ARDOUR_UI_UTILS::get_xpm | ( | std::string | ) |
const char* const* ARDOUR_UI_UTILS::get_xpm_data | ( | std::string | path | ) |
int ARDOUR_UI_UTILS::guess_default_ui_scale | ( | ) |
void ARDOUR_UI_UTILS::inhibit_screensaver | ( | bool | ) |
gint ARDOUR_UI_UTILS::just_hide_it | ( | GdkEventAny * | , |
Gtk::Window * | |||
) |
bool ARDOUR_UI_UTILS::key_is_legal_for_numeric_entry | ( | guint | keyval | ) |
bool ARDOUR_UI_UTILS::key_press_focus_accelerator_handler | ( | Gtk::Window & | window, |
GdkEventKey * | ev | ||
) |
std::string ARDOUR_UI_UTILS::longest | ( | std::vector< std::string > & | ) |
std::string ARDOUR_UI_UTILS::midi_channels_as_string | ( | std::bitset< 16 > | ) |
bool ARDOUR_UI_UTILS::overwrite_file_dialog | ( | Gtk::Window & | parent, |
std::string | title, | ||
std::string | text | ||
) |
std::string ARDOUR_UI_UTILS::rate_as_string | ( | float | r | ) |
bool ARDOUR_UI_UTILS::relay_key_press | ( | GdkEventKey * | ev, |
Gtk::Window * | win | ||
) |
void ARDOUR_UI_UTILS::resize_window_to_proportion_of_monitor | ( | Gtk::Window * | , |
int | , | ||
int | |||
) |
Gdk::Color ARDOUR_UI_UTILS::round_robin_palette_color | ( | ) |
bool ARDOUR_UI_UTILS::running_from_source_tree | ( | ) |
std::string ARDOUR_UI_UTILS::samples_as_time_string | ( | ARDOUR::samplecnt_t | s, |
float | r, | ||
bool | show_samples = false |
||
) |
Pango::FontDescription ARDOUR_UI_UTILS::sanitized_font | ( | std::string const & | ) |
Gtk::Menu* ARDOUR_UI_UTILS::shared_popup_menu | ( | ) |
Gdk::Color ARDOUR_UI_UTILS::unique_random_color | ( | std::list< Gdk::Color > & | ) |
bool ARDOUR_UI_UTILS::windows_overlap | ( | Gtk::Window * | a, |
Gtk::Window * | b | ||
) |
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 | ||
) |
|
static |
Definition at line 92 of file gtk2_ardour/utils.h.