Ardour
9.0-pre0-427-gd2a3450e2f
|
#include <ui_config.h>
Public Types | |
typedef std::map< std::string, Gtkmm2ext::Color > | Colors |
typedef std::map< std::string, std::string > | ColorAliases |
typedef std::map< std::string, Gtkmm2ext::SVAModifier > | Modifiers |
Public Types inherited from PBD::Configuration | |
typedef std::vector< std::string > | Metadata |
Public Member Functions | |
void | load_rc_file (bool themechange, bool allow_own=true) |
int | load_state () |
int | save_state () |
int | load_defaults () |
int | load_color_theme (bool allow_own) |
void | map_parameters (std::function< void(std::string)> &) |
int | set_state (const XMLNode &, int version) |
XMLNode & | get_state () const |
XMLNode & | get_variables (std::string const &) const |
void | set_variables (const XMLNode &) |
std::string | color_file_name (bool use_my, bool with_version, bool fallback=false) const |
void | set_alias (std::string const &name, std::string const &alias) |
void | set_color (const std::string &name, Gtkmm2ext::Color) |
void | set_modifier (std::string const &, Gtkmm2ext::SVAModifier svam) |
Gtkmm2ext::Color | quantized (Gtkmm2ext::Color) const |
Gtkmm2ext::Color | color (const std::string &, bool *failed=0) const |
Gtkmm2ext::Color | color_mod (std::string const &color, std::string const &modifier) const |
Gtkmm2ext::Color | color_mod (const Gtkmm2ext::Color &color, std::string const &modifier) const |
Gtkmm2ext::SVAModifier | modifier (const std::string &) const |
void | reset_dpi () |
float | get_ui_scale () |
void | parameter_changed (std::string) |
int | pre_gui_init () |
UIConfiguration * | post_gui_init () |
Public Member Functions inherited from ArdourWidgets::UIConfigurationBase | |
virtual bool | get_all_floating_windows_are_dialogs () const =0 |
virtual bool | get_widget_prelight () const =0 |
virtual Pango::FontDescription | get_NormalFont () const =0 |
virtual Pango::FontDescription | get_SmallFont () const =0 |
virtual Pango::FontDescription | get_NormalMonospaceFont () const =0 |
virtual Pango::FontDescription | get_SmallMonospaceFont () const =0 |
virtual Pango::FontDescription | get_ArdourSmallFont () const =0 |
Public Member Functions inherited from PBD::Configuration | |
Configuration () | |
virtual | ~Configuration () |
Public Member Functions inherited from PBD::Stateful | |
Stateful () | |
virtual | ~Stateful () |
virtual bool | apply_change (PropertyBase const &) |
PropertyChange | apply_changes (PropertyList const &) |
const OwnedPropertyList & | properties () const |
void | add_property (PropertyBase &s) |
void | add_extra_xml (XMLNode &) |
XMLNode * | extra_xml (const std::string &str, bool add_if_missing=false) |
void | save_extra_xml (const XMLNode &) |
const PBD::ID & | id () const |
bool | set_id (const XMLNode &) |
void | set_id (const std::string &) |
void | reset_id () |
void | clear_changes () |
virtual void | clear_owned_changes () |
PropertyList * | get_changes_as_properties (PBD::Command *) const |
virtual void | rdiff (std::vector< PBD::Command * > &) const |
bool | changed () const |
virtual PropertyList * | property_factory (const XMLNode &) const |
virtual void | suspend_property_changes () |
virtual void | resume_property_changes () |
bool | property_changes_suspended () const |
Static Public Member Functions | |
static UIConfiguration & | instance () |
static void | build_metadata () |
static std::string | color_to_hex_string (Gtkmm2ext::Color c) |
static std::string | color_to_hex_string_no_alpha (Gtkmm2ext::Color c) |
Static Public Member Functions inherited from ArdourWidgets::UIConfigurationBase | |
static UIConfigurationBase & | instance () |
Static Public Member Functions inherited from PBD::Configuration | |
static Metadata const * | get_metadata (std::string const &) |
Public Attributes | |
Colors | colors |
ColorAliases | color_aliases |
Modifiers | modifiers |
sigc::signal< void, std::string > | ParameterChanged |
std::map< std::string, PBD::ConfigVariableBase * > | _my_variables |
Public Attributes inherited from ArdourWidgets::UIConfigurationBase | |
sigc::signal< void > | DPIReset |
sigc::signal< void > | ColorsChanged |
Public Attributes inherited from PBD::Configuration | |
PBD::Signal< void(std::string)> | ParameterChanged |
Public Attributes inherited from PBD::Stateful | |
PBD::Signal< void(const PropertyChange &)> | PropertyChanged |
Static Public Attributes | |
static std::string | color_file_suffix |
Static Public Attributes inherited from PBD::Configuration | |
static std::map< std::string, Metadata > | all_metadata |
Static Public Attributes inherited from PBD::Stateful | |
static int | current_state_version |
static int | loading_state_version |
Private Member Functions | |
UIConfiguration () | |
~UIConfiguration () | |
XMLNode & | state () const |
int | store_color_theme () |
void | load_color_aliases (XMLNode const &) |
void | load_colors (XMLNode const &) |
void | load_modifiers (XMLNode const &) |
void | reset_gtk_theme () |
int | load_color_file (std::string const &) |
void | colors_changed () |
Private Attributes | |
bool | _dirty |
bool | aliases_modified |
bool | colors_modified |
bool | modifiers_modified |
uint32_t | block_save |
Additional Inherited Members | |
Protected Member Functions inherited from ArdourWidgets::UIConfigurationBase | |
virtual | ~UIConfigurationBase () |
Protected Member Functions inherited from PBD::Stateful | |
void | add_instant_xml (XMLNode &, const std::string &directory_path) |
XMLNode * | instant_xml (const std::string &str, const std::string &directory_path) |
void | add_properties (XMLNode &) const |
PropertyChange | set_values (XMLNode const &) |
virtual void | post_set (const PropertyChange &) |
virtual void | send_change (const PropertyChange &) |
virtual void | mid_thaw (const PropertyChange &) |
bool | regenerate_xml_or_string_ids () const |
Protected Attributes inherited from PBD::Stateful | |
XMLNode * | _extra_xml |
XMLNode * | _instant_xml |
PBD::PropertyChange | _pending_changed |
Glib::Threads::Mutex | _lock |
std::string | _xml_node_name |
name of node to use for this object in XML More... | |
OwnedPropertyList * | _properties |
Static Protected Attributes inherited from ArdourWidgets::UIConfigurationBase | |
static UIConfigurationBase * | _instance |
Definition at line 46 of file gtk2_ardour/ui_config.h.
typedef std::map<std::string, std::string> UIConfiguration::ColorAliases |
Definition at line 74 of file gtk2_ardour/ui_config.h.
typedef std::map<std::string, Gtkmm2ext::Color> UIConfiguration::Colors |
Definition at line 73 of file gtk2_ardour/ui_config.h.
typedef std::map<std::string, Gtkmm2ext::SVAModifier> UIConfiguration::Modifiers |
Definition at line 75 of file gtk2_ardour/ui_config.h.
|
private |
|
private |
|
static |
Definition at line 4 of file configuration_metadata.inc.h.
|
virtual |
Implements ArdourWidgets::UIConfigurationBase.
std::string UIConfiguration::color_file_name | ( | bool | use_my, |
bool | with_version, | ||
bool | fallback = false |
||
) | const |
Gtkmm2ext::Color UIConfiguration::color_mod | ( | const Gtkmm2ext::Color & | color, |
std::string const & | modifier | ||
) | const |
Gtkmm2ext::Color UIConfiguration::color_mod | ( | std::string const & | color, |
std::string const & | modifier | ||
) | const |
|
static |
|
static |
|
private |
|
virtual |
Implements PBD::Configuration.
|
virtual |
Implements ArdourWidgets::UIConfigurationBase.
|
virtual |
Implements PBD::Configuration.
|
static |
|
private |
|
private |
int UIConfiguration::load_color_theme | ( | bool | allow_own | ) |
|
private |
int UIConfiguration::load_defaults | ( | ) |
|
private |
void UIConfiguration::load_rc_file | ( | bool | themechange, |
bool | allow_own = true |
||
) |
int UIConfiguration::load_state | ( | ) |
|
virtual |
Implements PBD::Configuration.
Gtkmm2ext::SVAModifier UIConfiguration::modifier | ( | const std::string & | ) | const |
void UIConfiguration::parameter_changed | ( | std::string | ) |
UIConfiguration* UIConfiguration::post_gui_init | ( | ) |
called after the GUI toolkit has been initialized.
int UIConfiguration::pre_gui_init | ( | ) |
called before initializing any part of the GUI. Sets up any runtime environment required to make the GUI work in specific ways.
Gtkmm2ext::Color UIConfiguration::quantized | ( | Gtkmm2ext::Color | ) | const |
void UIConfiguration::reset_dpi | ( | ) |
|
private |
int UIConfiguration::save_state | ( | ) |
void UIConfiguration::set_alias | ( | std::string const & | name, |
std::string const & | alias | ||
) |
void UIConfiguration::set_color | ( | const std::string & | name, |
Gtkmm2ext::Color | |||
) |
void UIConfiguration::set_modifier | ( | std::string const & | , |
Gtkmm2ext::SVAModifier | svam | ||
) |
|
virtual |
Implements PBD::Configuration.
|
virtual |
Implements PBD::Configuration.
|
private |
|
private |
|
private |
Definition at line 139 of file gtk2_ardour/ui_config.h.
std::map<std::string,PBD::ConfigVariableBase*> UIConfiguration::_my_variables |
Definition at line 111 of file gtk2_ardour/ui_config.h.
|
private |
Definition at line 140 of file gtk2_ardour/ui_config.h.
|
private |
Definition at line 152 of file gtk2_ardour/ui_config.h.
ColorAliases UIConfiguration::color_aliases |
Definition at line 78 of file gtk2_ardour/ui_config.h.
|
static |
Definition at line 55 of file gtk2_ardour/ui_config.h.
Colors UIConfiguration::colors |
Definition at line 77 of file gtk2_ardour/ui_config.h.
|
private |
Definition at line 141 of file gtk2_ardour/ui_config.h.
Modifiers UIConfiguration::modifiers |
Definition at line 79 of file gtk2_ardour/ui_config.h.
|
private |
Definition at line 142 of file gtk2_ardour/ui_config.h.
sigc::signal<void, std::string> UIConfiguration::ParameterChanged |
Definition at line 98 of file gtk2_ardour/ui_config.h.