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:
@@ -23,6 +23,8 @@
|
||||
|
||||
#include "guiutils.h"
|
||||
|
||||
class RTPixbuf;
|
||||
|
||||
class DirBrowser : public Gtk::Box
|
||||
{
|
||||
public:
|
||||
@@ -62,13 +64,13 @@ private:
|
||||
|
||||
void fillRoot ();
|
||||
|
||||
Glib::RefPtr<Gdk::Pixbuf> openfolder;
|
||||
Glib::RefPtr<Gdk::Pixbuf> closedfolder;
|
||||
Glib::RefPtr<Gdk::Pixbuf> icdrom;
|
||||
Glib::RefPtr<Gdk::Pixbuf> ifloppy;
|
||||
Glib::RefPtr<Gdk::Pixbuf> ihdd;
|
||||
Glib::RefPtr<Gdk::Pixbuf> inetwork;
|
||||
Glib::RefPtr<Gdk::Pixbuf> iremovable;
|
||||
std::shared_ptr<RTPixbuf> openfolder;
|
||||
std::shared_ptr<RTPixbuf> closedfolder;
|
||||
std::shared_ptr<RTPixbuf> icdrom;
|
||||
std::shared_ptr<RTPixbuf> ifloppy;
|
||||
std::shared_ptr<RTPixbuf> ihdd;
|
||||
std::shared_ptr<RTPixbuf> inetwork;
|
||||
std::shared_ptr<RTPixbuf> iremovable;
|
||||
|
||||
bool expandSuccess;
|
||||
|
||||
|
Reference in New Issue
Block a user