summaryrefslogtreecommitdiff
path: root/navit/graphics.c
Commit message (Collapse)AuthorAgeFilesLines
* fix:graphics:Remove missing endif from if else blockjkoan2018-04-301-1/+1
|
* cleanup:global:Cleanup some unreachable codeJoseph Herlant2018-04-301-36/+0
|
* Fix:debug:Change line separators for dbg to work also on win* platform (#546)Joseph Herlant2018-04-261-31/+31
| | | | | | | | * Fix:debug:Change line separators for dbg to work also on win* platform * Fix:debug:Break multiline dbg statements to use the new model * Fix:debug:Move the EOL into debug_vprintf
* change:osd: compass appearance update (#413)lains2018-03-131-2/+22
| | | | | | | | | | | | * Making graphics_draw_polygon_clipped() and graphics_draw_polyline_clipped() non-static * Updating compass appearance * Adding doxygen comment on graphics_draw_polyline_clipped() and graphics_draw_polygon_clipped() * Improving doxygen comment * Allowing customization of compass colors using navit.xml attributes destination_dir_color and north_color
* Moved xpm to icons (#307)jkoan2017-08-251-1/+1
|
* Refactor:core:For plugins, use term 'category' instead of 'type'.Sebastian Leske2016-10-311-1/+1
| | | | | | | Use the term 'category' for all plugins with the same API (GUI plugins, map plugins etc.). This used to be called 'type', which was confusing, because in the XML config, 'type' refers to what is called 'name' in the code.
* Fix:core:initialize value to suppress valgrind warningMichael Dankov2016-07-121-0/+1
| | | | | The warning had no actual effect, as final result of the expression was not depending on uninitialized value being tested in it.
* Fix:gui_internal:Further native keyboard refinementsmvglasow2016-02-241-4/+58
| | | | | | | | | | Allow graphics plugin to specify size occupied by keyboard Create placeholder for Android keyboard Show Android keyboard in landscape mode Skip keyboard logic if hardware keyboard is present on Android Add some documentation and comments Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add:gui_internal:Rudimentary native on-screen keyboard implementationmvglasow2016-02-241-0/+32
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:core:Add Doxygen docs, #define IMAGE_W_H_UNSET for image dimensions.R6547Sebastian Leske2016-01-211-15/+17
|
* Refactor:core:Remove out-ifdefed codeSebastian Leske2016-01-061-96/+2
|
* Refactor:graphics:Some more documentationmvglasow2015-11-201-3/+52
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add Doxygen comments, remove unused struct membersSebastian Leske2015-10-051-1/+6
| | | | | | | Add Doxygen comments for font/freetype and graphics.c, and move comment from static function to freetype.h, where Doxygen will read it. Remove unused members from struct font_freetype_text.
* Refactor:Remove unused parameter 'alpha' for overlaysSebastian Leske2015-09-061-2/+2
|
* Refactor:remove param 'alpha' from graphics_overlay_new/resizeSebastian Leske2015-09-061-6/+5
|
* graphics:Add Doxygen comments.Sebastian Leske2015-09-051-15/+35
|
* Add:core:Allow shell variables to be used in image names. Related to #1285.mdankov2015-07-041-15/+24
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6125 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Remove unused graphics method graphics_gc_set_stipple.sleske2015-03-081-12/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6023 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Remove unused method graphics_draw_restore.sleske2015-03-031-11/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6015 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Remove unused draw modes draw_mode_begin_clear and draw_mode_cursor.sleske2015-01-251-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6009 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Better algorithm to select prescaled image to rescale. Try at first ↵mdankov2015-01-231-7/+10
| | | | | | to load all bigger ones, then go down in standard sizes row. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6004 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Report errors if graphics or event system is not present.mdankov2015-01-091-1/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5996 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Better algorithm to choose prescaled png to rescale it to needed size.mdankov2015-01-071-5/+51
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5990 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Allow to query graphics attributes (to allow graphics modules to ↵mdankov2014-12-211-3/+6
| | | | | | export command interface functions) git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5978 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Change all logging at lvl_error/warning to lvl_debug, unless it ↵sleske2014-11-221-19/+19
| | | | | | looks like an error message.|#1269, part 5 git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5967 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Introduce enum for debug levels, and use it everywhere.|First ↵sleske2014-11-221-31/+31
| | | | | | part of #1269. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5960 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Draw line endpoints in correct widthmartin-s2013-08-241-2/+31
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5595 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix buffer overflow in drawing code.sleske2013-08-111-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5575 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:map_mg:Fix warnings by removing loads of dead code.|Part of #1154.sleske2013-08-111-4/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5566 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix warnings from unused variables.|Part of #1154.sleske2013-08-111-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5564 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Improved line to polygon conversion for more quality and speedmartin-s2013-08-041-118/+200
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5560 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Begin of support for reading icons from zip filemartin-s2013-06-011-48/+72
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5525 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Actually use xpm iconsmartin-s2013-05-311-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5522 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Disallow buffer: as icon namemartin-s2013-05-311-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5521 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Clean up debugging.sleske2013-03-191-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5419 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix signed int overflow in polygon clipping, to fix rendering ↵sleske2013-03-181-4/+4
| | | | | | errors in high zoom levels.|May be related to #1062. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5418 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Do not use max. linewidth for clipping rectangle, as linewidth may ↵sleske2013-03-181-12/+14
| | | | | | itself need clipping.|May fix #1062. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5417 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:internal:Refactoring: Remove parameter step from ↵sleske2013-03-101-20/+15
| | | | | | graphics_draw_polyline_* , it's always =1 git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5405 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Changed draw_image_warp apimartin-s2013-02-151-3/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5378 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Refactoring|Extract method clip_line_endoint_to_rect_edge.sleske2013-01-201-37/+27
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5346 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Refactor code for polyline clipping|Introduce enums, rename ↵sleske2013-01-201-84/+102
| | | | | | variables, simplify conditions. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5345 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Fix vs compilemartin-s2013-01-201-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5343 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Allow layer tag to reference layers within navit context, object ↵martin-s2013-01-191-1/+7
| | | | | | handling cleanup git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5340 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix integer overflow that causes wrong lines on map at high zoom ↵sleske2012-12-291-16/+19
| | | | | | levels. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5333 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Option to specify hot point for pngs/svgsmartin-s2012-12-151-2/+7
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5293 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Few memleaksmdankov2012-11-091-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5263 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/internal:Fix warnings and comments, remove dead code.sleske2012-11-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5256 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Adaptive plyline generalization, resolves #1050.mdankov2012-07-041-3/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5178 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core: add graphics_font_destroy for cleaning up struct graphics_fontwoglinde2012-06-201-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5153 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core: fix small memleak for struct graphicswoglinde2012-06-201-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5152 ffa7fe5e-494d-0410-b361-a75ebd5db220