mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-14 10:54:24 +02:00
Added HiDPI displays/maps support
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
#include "units.h"
|
||||
#include "format.h"
|
||||
#include "palette.h"
|
||||
#include "config.h"
|
||||
|
||||
class Data;
|
||||
class POI;
|
||||
@ -68,6 +69,7 @@ public slots:
|
||||
void showRouteWaypoints(bool show);
|
||||
void clearMapCache();
|
||||
void setCoordinatesFormat(CoordinatesFormat format);
|
||||
void updateDevicePixelRatio();
|
||||
|
||||
private slots:
|
||||
void updatePOI();
|
||||
@ -136,6 +138,10 @@ private:
|
||||
|
||||
int _digitalZoom;
|
||||
bool _plot;
|
||||
|
||||
#ifdef ENABLE_HIDPI
|
||||
qreal _ratio;
|
||||
#endif // ENABLE_HIDPI
|
||||
};
|
||||
|
||||
#endif // MAPVIEW_H
|
||||
|
Reference in New Issue
Block a user