summaryrefslogtreecommitdiff
path: root/navit/navit_layout_car_shipped.xml
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2020-04-26 00:59:36 +0200
committerGitHub <noreply@github.com>2020-04-26 00:59:36 +0200
commit54fd092de942f12133b67bc0118ba6de879d39d7 (patch)
tree15de360d3f57821eb712e253c9dd7f037d96467b /navit/navit_layout_car_shipped.xml
parentf82ea8d97d5f10433197306e8afd6b6c10e294f2 (diff)
downloadnavit-54fd092de942f12133b67bc0118ba6de879d39d7.tar.gz
Add:Core+Graphics+Qt5:Add support for textured polygons (#989)
This pull request adds the basic support for textured polygons. It adds a function to graphics plugins to set texture. It enhances itemgra configuration that allows to set a picture to polygon map elements Basic support for Qt5 graphics. Some example textures added to car layout. Texture files have own resource directory.
Diffstat (limited to 'navit/navit_layout_car_shipped.xml')
-rw-r--r--navit/navit_layout_car_shipped.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/navit_layout_car_shipped.xml b/navit/navit_layout_car_shipped.xml
index 11f471370..b459219fa 100644
--- a/navit/navit_layout_car_shipped.xml
+++ b/navit/navit_layout_car_shipped.xml
@@ -143,7 +143,7 @@
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_marsh" order="10-">
- <polygon color="#553f23"/>
+ <polygon color="#553f23" src="wetland.png" w="256" h="256"/>
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_fell" order="10-">
@@ -219,7 +219,7 @@
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_wood" order="0-">
- <polygon color="#8ec78d"/>
+ <polygon color="#8ec78d" src="wood.png" w="256" h="256"/>
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_greenhouse" order="10-">
@@ -264,7 +264,7 @@
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_mud" order="0-">
- <polygon color="#96ced4"/>
+ <polygon color="#96ced4" src="wetland.png" w="256" h="256"/>
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_pedestrian" order="10">
@@ -422,7 +422,7 @@
<polygon color="#e3c6a6"/>
</itemgra>
<itemgra item_types="poly_cemetery" order="1-">
- <polygon color="#bde3cb"/>
+ <polygon color="#bde3cb" src="cemetery.png" w="32" h="32"/>
</itemgra>
<itemgra item_types="poly_car_parking" order="1-">
<polygon color="#e7cf87"/>