Skip to content

Commit

Permalink
Enhancement:layout_car:Add stripes to danger_area (#1020)
Browse files Browse the repository at this point in the history
Add red diagonal stripes to danger_area. Only visible on graphics supporting textured polygon.
  • Loading branch information
metalstrolch committed Jun 15, 2020
1 parent b6e75bd commit 173fb1a
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 4 deletions.
9 changes: 5 additions & 4 deletions navit/navit_layout_car_shipped.xml
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@
<polygon color="#998877"/>
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_danger_area" order="10-">
<polygon color="#f2ba1b"/>
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_common" order="10-">
<polygon color="#7bab36"/>
<text text_size="5"/>
Expand Down Expand Up @@ -516,6 +512,11 @@
<polygon color="#ecd3cf66"/>
<text text_size="5"/>
</itemgra>
<itemgra item_types="poly_danger_area" order="8-">
<polygon color="#f2ba1b33" src="diagonal-stripes.png" w="16" h="16"/>
<polyline color="#ff0000b5"/>
<text text_size="5"/>
</itemgra>
</layer>
<layer name="heightlines">
<itemgra item_types="height_line_1" order="7">
Expand Down
70 changes: 70 additions & 0 deletions navit/textures/diagonal-stripes.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 173fb1a

Please sign in to comment.