Initial commit for real hidpi support
Note: This commit has only been tested on MacOS Changes: - Icons now use the native hidpi support from Gtk (through Icon Theme) - Icons are now directly generated from scalable file (i.e. SVG file) - Widget sizes are scaled based on DPI and scale factor - Font size is scaled based on DPI and scale factor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/** -*- C++ -*-
|
||||
*
|
||||
*
|
||||
* This file is part of RawTherapee.
|
||||
*
|
||||
* Copyright (c) 2017 Alberto Griggio <alberto.griggio@gmail.com>
|
||||
@@ -39,8 +39,8 @@ FattalToneMapping::FattalToneMapping(): FoldableToolPanel(this, "fattal", M("TP_
|
||||
amount = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_AMOUNT"), 1., 100., 1., 30.));
|
||||
threshold = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_THRESHOLD"), -100., 300., 1., 0.0));
|
||||
threshold->setLogScale(10, 0);
|
||||
Gtk::Image *al = Gtk::manage(new RTImage("circle-black-small.png"));
|
||||
Gtk::Image *ar = Gtk::manage(new RTImage("circle-white-small.png"));
|
||||
Gtk::Image *al = Gtk::manage(new RTImage("circle-black-small"));
|
||||
Gtk::Image *ar = Gtk::manage(new RTImage("circle-white-small"));
|
||||
anchor = Gtk::manage(new Adjuster(M("TP_TM_FATTAL_ANCHOR"), 1, 100, 1, 50, al, ar));
|
||||
|
||||
amount->setAdjusterListener(this);
|
||||
|
Reference in New Issue
Block a user