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:
@@ -19,13 +19,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <gtkmm.h>
|
||||
#include "rtsurface.h"
|
||||
|
||||
class SplashImage final :
|
||||
public Gtk::DrawingArea
|
||||
{
|
||||
|
||||
private:
|
||||
Cairo::RefPtr<Cairo::ImageSurface> surface;
|
||||
std::shared_ptr<RTSurface> surface;
|
||||
Glib::RefPtr<Pango::Layout> version;
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user