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:
@@ -22,13 +22,19 @@
|
||||
#include <gtkmm.h>
|
||||
|
||||
class ImageArea;
|
||||
class RTImage;
|
||||
|
||||
class IndicateClippedPanel :
|
||||
public Gtk::Box
|
||||
{
|
||||
|
||||
protected:
|
||||
Gtk::Image* iFon, *iFoff, *iSon, *iSoff;
|
||||
const Glib::ustring Fon;
|
||||
const Glib::ustring Foff;
|
||||
const Glib::ustring Son;
|
||||
const Glib::ustring Soff;
|
||||
RTImage* const iF;
|
||||
RTImage* const iS;
|
||||
Gtk::ToggleButton* previewSharpMask;
|
||||
Gtk::ToggleButton* previewFocusMask;
|
||||
Gtk::ToggleButton* indClippedH;
|
||||
|
Reference in New Issue
Block a user