Ardour  9.0-pre0-582-g084a23a80d
gtk2_ardour/ui_config.h File Reference
#include <sstream>
#include <ostream>
#include <iostream>
#include <map>
#include "ardour/types.h"
#include "ardour/types_convert.h"
#include "pbd/configuration.h"
#include "pbd/configuration_variable.h"
#include "pbd/stateful.h"
#include "pbd/xml++.h"
#include "gtkmm2ext/colors.h"
#include "widgets/ui_config.h"
#include "editing.h"
#include "utils.h"
#include "ui_config_vars.inc.h"
#include "canvas_vars.inc.h"
Include dependency graph for gtk2_ardour/ui_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UIConfiguration
 

Macros

#define UI_CONFIG_VARIABLE(Type, var, name, value)
 
#define CANVAS_FONT_VARIABLE(var, name)
 
#define UI_CONFIG_VARIABLE(Type, var, name, value)   PBD::ConfigVariable<Type> var;
 
#define CANVAS_FONT_VARIABLE(var, name)   PBD::ConfigVariable<std::string> var;
 

Macro Definition Documentation

◆ CANVAS_FONT_VARIABLE [1/2]

#define CANVAS_FONT_VARIABLE (   var,
  name 
)
Value:
Pango::FontDescription get_##var () const { return ARDOUR_UI_UTILS::sanitized_font (var.get()); } \
Pango::FontDescription get_Ardour##var () const { return ARDOUR_UI_UTILS::ardour_font (var.get()); } \
bool set_##var (const std::string& val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
GtkImageIconNameData name
Definition: gtkimage.h:6
Pango::FontDescription ardour_font(std::string const &)
Pango::FontDescription sanitized_font(std::string const &)

Definition at line 134 of file gtk2_ardour/ui_config.h.

◆ CANVAS_FONT_VARIABLE [2/2]

#define CANVAS_FONT_VARIABLE (   var,
  name 
)    PBD::ConfigVariable<std::string> var;

Definition at line 134 of file gtk2_ardour/ui_config.h.

◆ UI_CONFIG_VARIABLE [1/2]

#define UI_CONFIG_VARIABLE (   Type,
  var,
  name,
  value 
)
Value:
Type get_##var () const { return var.get(); } \
bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }

Definition at line 130 of file gtk2_ardour/ui_config.h.

◆ UI_CONFIG_VARIABLE [2/2]

#define UI_CONFIG_VARIABLE (   Type,
  var,
  name,
  value 
)    PBD::ConfigVariable<Type> var;

Definition at line 130 of file gtk2_ardour/ui_config.h.