summaryrefslogtreecommitdiff
path: root/navit/layout.h
Commit message (Collapse)AuthorAgeFilesLines
* feature: graphics: allow spiked lines for cliff and embarkments (#1174)Stefan Wildemann2022-01-011-1/+6
| | | | | | | | | | | | | * feature: graphics: allow spiked lines for cliff and embarkments This adds another drwing element to graphics system. It can produce lines with spikes as used for cliffs on maps. Additionally this adds embarlment support for map. * review fixes. Add changes requested by review, plus add paranoia check on xml parameter.
* Add:Core+Graphics+Qt5:Add support for textured polygons (#989)Stefan Wildemann2020-04-261-1/+7
| | | | | | | | | | 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.
* fix:all:fix compiler warnings (#935)Stefan Wildemann2019-10-291-1/+1
| | | * fix:core:remove many compiler warnings from core
* fix/enhancement:graphics/layout:get default icon size from layout + draw ↵Stefan Wildemann2019-09-251-0/+7
| | | | | | | | | | | | | tunnels transparent + mark oneway streets (#884) This pull request adds the possibility to globally set a default for icon size of a layout. You can now give "icon_h" and "icon_w" properties in "layout" tag. This causes navit to not use the real size of an icon but to scale it to have the requested size. Guessing prescaled icons (the name_w_h.png's of course works. Default size of 22x22px which is the default size hint on most of the svg's is used. This fixes #819. This pull request adds the property "underground_alpha" to the "graphics" tag giving the alpha value to use as transparency if ways are flagged with AF_UNDERGROUND. This effectively renders tunnels in transparent. This pull request adds a "oneway" tag to itemgras in layouts. Together with the enhancements of the "arrows" itemgra used for drawing the route graph one can print nice arrows on oneway roads.
* Convert parts to polygons. Partly workingStefan Wildemann2019-07-311-1/+0
|
* Process multipolygons to mapfileStefan Wildemann2019-07-281-62/+68
|
* cleanup:cmake:remove trailing spacesJoseph Herlant2018-05-251-2/+2
|
* Add:Core:Allow layer tag to reference layers within navit context, object ↵martin-s2013-01-191-1/+16
| | | | | | handling cleanup git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5340 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Option to specify hot point for pngs/svgsmartin-s2012-12-151-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5293 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:c++ compatibilitymartin-s2012-06-051-0/+10
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5129 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Possibilty to specify the default layout. Add active="1" to the ↵rikky2011-03-131-1/+1
| | | | | | layout node which should be active on default. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4342 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:MSVC fixes|Thanks chollyamartin-s2011-01-241-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3964 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Possibility for colored text in labelsmartin-s2010-11-081-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3658 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Support for disabling/enabling map layersmartin-s2010-09-021-2/+27
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3547 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Support for automatic day night switching|Thanks chollyamartin-s2009-11-121-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2746 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Add the possibility to define cursors in layoutseralph2009-10-141-2/+14
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2667 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fixed various compiler warningsseralph2009-10-061-10/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2640 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Added possibility to use pngs as cursor, added cursor desings from ↵martin-s2008-11-061-0/+1
| | | | | | nekohayo git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1662 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Made cursor configurable via navit.xmlmartin-s2008-11-061-1/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1653 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Make icons scaleablemartin-s2008-11-041-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1636 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Cleaned up xmlconfig in preparation for more flexible cursorsmartin-s2008-10-261-21/+19
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1564 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Added support for arrows showing the direction of linesmartin-s2008-09-251-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1417 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Patch:Core:Patch from Helge to add offset to dashed polylines. Thank youkazer_2008-09-011-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1354 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Tickets 141 & 182:Make fonts configurable from the xml file, and change ↵kazer_2008-08-211-1/+1
| | | | | | default fonts to Sans instead of Mono. Thanks Sarah & Nekohayo for the patches git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1288 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Made detail level for layouts configurablemartin-s2008-07-261-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1231 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add license files and headershorwitz2008-06-051-0/+19
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1100 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Renamed src to navit for cleanup of includesmartin-s2008-05-181-0/+70
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1059 ffa7fe5e-494d-0410-b361-a75ebd5db220