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:
@@ -34,14 +34,14 @@ class FileThumbnailButtonSet :
|
||||
static bool iconsLoaded;
|
||||
|
||||
public:
|
||||
static Cairo::RefPtr<RTSurface> rankIcon;
|
||||
static Cairo::RefPtr<RTSurface> gRankIcon;
|
||||
static Cairo::RefPtr<RTSurface> unRankIcon;
|
||||
static Cairo::RefPtr<RTSurface> trashIcon;
|
||||
static Cairo::RefPtr<RTSurface> unTrashIcon;
|
||||
static Cairo::RefPtr<RTSurface> processIcon;
|
||||
static std::shared_ptr<RTSurface> rankIcon;
|
||||
static std::shared_ptr<RTSurface> gRankIcon;
|
||||
static std::shared_ptr<RTSurface> unRankIcon;
|
||||
static std::shared_ptr<RTSurface> trashIcon;
|
||||
static std::shared_ptr<RTSurface> unTrashIcon;
|
||||
static std::shared_ptr<RTSurface> processIcon;
|
||||
|
||||
static std::array<Cairo::RefPtr<RTSurface>, 6> colorLabelIcon;
|
||||
static std::array<std::shared_ptr<RTSurface>, 6> colorLabelIcon;
|
||||
|
||||
static Glib::ustring processToolTip;
|
||||
static Glib::ustring unrankToolTip;
|
||||
|
Reference in New Issue
Block a user