Cruft removal
This commit is contained in:
parent
226dadbd19
commit
d7f2c35beb
@ -21,19 +21,14 @@
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <unistd.h>
|
||||
#include <cerrno>
|
||||
#include <cstdlib>
|
||||
#include <cstdio> /* for snprintf, grrr */
|
||||
#include <cstring>
|
||||
|
||||
#include <glib.h>
|
||||
#include "pbd/gstdio_compat.h"
|
||||
#include <glibmm/miscutils.h>
|
||||
|
||||
#include <cairo/cairo.h>
|
||||
|
||||
#include <pango/pangoft2.h> // for fontmap resolution control for GnomeCanvas
|
||||
#include <pango/pangocairo.h> // for fontmap resolution control for GnomeCanvas
|
||||
|
||||
@ -54,7 +49,6 @@
|
||||
#include "ardour/utils.h"
|
||||
#include "ardour/types_convert.h"
|
||||
|
||||
#include "gtkmm2ext/rgb_macros.h"
|
||||
#include "gtkmm2ext/gtk_ui.h"
|
||||
|
||||
#include "canvas/text.h"
|
||||
|
@ -46,11 +46,11 @@
|
||||
class UIConfiguration : public ArdourWidgets::UIConfigurationBase
|
||||
{
|
||||
private:
|
||||
UIConfiguration();
|
||||
~UIConfiguration();
|
||||
UIConfiguration ();
|
||||
~UIConfiguration ();
|
||||
|
||||
public:
|
||||
static UIConfiguration& instance();
|
||||
static UIConfiguration& instance ();
|
||||
|
||||
static std::string color_file_suffix;
|
||||
|
||||
@ -68,25 +68,23 @@ public:
|
||||
|
||||
std::string color_file_name (bool use_my, bool with_version) const;
|
||||
|
||||
typedef std::map<std::string,Gtkmm2ext::Color> Colors;
|
||||
typedef std::map<std::string,std::string> ColorAliases;
|
||||
typedef std::map<std::string,Gtkmm2ext::SVAModifier> Modifiers;
|
||||
typedef std::map<std::string, Gtkmm2ext::Color> Colors;
|
||||
typedef std::map<std::string, std::string> ColorAliases;
|
||||
typedef std::map<std::string, Gtkmm2ext::SVAModifier> Modifiers;
|
||||
|
||||
Colors colors;
|
||||
ColorAliases color_aliases;
|
||||
Modifiers modifiers;
|
||||
|
||||
void set_alias (std::string const & name, std::string const & alias);
|
||||
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);
|
||||
void set_modifier (std::string const&, Gtkmm2ext::SVAModifier svam);
|
||||
|
||||
std::string color_as_alias (Gtkmm2ext::Color c);
|
||||
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::HSV color_hsv (const std::string&) 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;
|
||||
|
||||
static std::string color_to_hex_string (Gtkmm2ext::Color c);
|
||||
@ -95,7 +93,7 @@ public:
|
||||
void reset_dpi ();
|
||||
float get_ui_scale ();
|
||||
|
||||
sigc::signal<void,std::string> ParameterChanged;
|
||||
sigc::signal<void, std::string> ParameterChanged;
|
||||
void map_parameters (boost::function<void (std::string)>&);
|
||||
|
||||
void parameter_changed (std::string);
|
||||
@ -140,11 +138,11 @@ private:
|
||||
bool modifiers_modified;
|
||||
|
||||
int store_color_theme ();
|
||||
void load_color_aliases (XMLNode const &);
|
||||
void load_colors (XMLNode const &);
|
||||
void load_modifiers (XMLNode const &);
|
||||
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 &);
|
||||
int load_color_file (std::string const&);
|
||||
void colors_changed ();
|
||||
|
||||
uint32_t block_save;
|
||||
|
Loading…
Reference in New Issue
Block a user