1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-28 12:09:15 +02:00

IMG maps font sizes adjustement

This commit is contained in:
2019-07-04 21:38:57 +02:00
parent 53e960fabe
commit 63335aa004
3 changed files with 21 additions and 15 deletions

View File

@ -148,8 +148,14 @@ void Style::defaultLineStyle()
_lines[TYPE(0x29)].setTextFontSize(Style::None);
}
void Style::defaultPOIStyle()
void Style::defaultPointStyle()
{
// Cities
_points[TYPE(0x01)].setTextFontSize(Style::Large);
_points[TYPE(0x02)].setTextFontSize(Style::Large);
_points[TYPE(0x03)].setTextFontSize(Style::Large);
// POI
_points[0x2a00] = Point(QImage(":/restaurant-11.png"));
_points[0x2a01] = Point(QImage(":/restaurant-11.png"));
_points[0x2a02] = Point(QImage(":/restaurant-noodle-11.png"));
@ -934,7 +940,7 @@ Style::Style(SubFile *typ)
{
defaultLineStyle();
defaultPolygonStyle();
defaultPOIStyle();
defaultPointStyle();
if (typ && typ->isValid())
parseTYPFile(typ);

View File

@ -138,7 +138,7 @@ private:
const Section &section, ItemInfo &info);
void defaultPolygonStyle();
void defaultLineStyle();
void defaultPOIStyle();
void defaultPointStyle();
QMap<quint32, Line> _lines;
QMap<quint32, Polygon> _polygons;