remove cruft (unused UI::ui_scale)
This commit is contained in:
parent
8335155863
commit
401eefec1c
@ -48,9 +48,8 @@ CairoIcon::set_fg (uint32_t color)
|
||||
void
|
||||
CairoIcon::render (cairo_t* cr , cairo_rectangle_t* area)
|
||||
{
|
||||
const double scale = UI::instance()->ui_scale;
|
||||
int width = get_width() * scale;
|
||||
int height = get_height () * scale;
|
||||
int width = get_width();
|
||||
int height = get_height ();
|
||||
|
||||
ArdourIcon::render (cr, icon_type, width, height, Off, fg);
|
||||
}
|
||||
|
@ -55,7 +55,6 @@ using namespace PBD;
|
||||
using std::map;
|
||||
|
||||
UI* UI::theGtkUI = 0;
|
||||
float UI::ui_scale = 1.0;
|
||||
|
||||
BaseUI::RequestType Gtkmm2ext::NullMessage = BaseUI::new_request_type();
|
||||
BaseUI::RequestType Gtkmm2ext::ErrorMessage = BaseUI::new_request_type();
|
||||
|
@ -166,7 +166,6 @@ public:
|
||||
sigc::signal<void> theme_changed;
|
||||
|
||||
static bool just_hide_it (GdkEventAny *, Gtk::Window *);
|
||||
static float ui_scale;
|
||||
|
||||
Gtkmm2ext::Bindings* global_bindings;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user