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:
@@ -491,7 +491,7 @@ Retinex::Retinex () : FoldableToolPanel (this, "retinex", M ("TP_RETINEX_LABEL")
|
||||
|
||||
neutral = Gtk::manage (new Gtk::Button (M ("TP_RETINEX_NEUTRAL")));
|
||||
setExpandAlignProperties (neutral, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_START);
|
||||
RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png"));
|
||||
RTImage *resetImg = Gtk::manage (new RTImage ("undo-small", Gtk::ICON_SIZE_BUTTON));
|
||||
setExpandAlignProperties (resetImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
|
||||
neutral->set_image (*resetImg);
|
||||
neutral->set_tooltip_text (M ("TP_RETINEX_NEUTRAL_TIP"));
|
||||
@@ -939,7 +939,7 @@ void Retinex::read (const ProcParams* pp, const ParamsEdited* pedited)
|
||||
cdshapeH->setCurve (pp->retinex.cdHcurve);
|
||||
lhshape->setCurve (pp->retinex.lhcurve);
|
||||
mapshape->setCurve (pp->retinex.mapcurve);
|
||||
|
||||
|
||||
retinexMethodConn.block (false);
|
||||
retinexColorSpaceConn.block (false);
|
||||
gammaretinexConn.block (false);
|
||||
@@ -951,7 +951,7 @@ void Retinex::read (const ProcParams* pp, const ParamsEdited* pedited)
|
||||
complexmethodconn.block (false);
|
||||
|
||||
enableListener ();
|
||||
|
||||
|
||||
if (complexmethod->get_active_row_number() == 0) {
|
||||
updateGUIToMode(0);
|
||||
// convertParamToNormal();
|
||||
@@ -959,7 +959,7 @@ void Retinex::read (const ProcParams* pp, const ParamsEdited* pedited)
|
||||
} else {
|
||||
updateGUIToMode(1);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user