Skip to content

Commit

Permalink
add:graphics:svg_debug:Add svg_debugging plugin (#1061)
Browse files Browse the repository at this point in the history
* graphics:svg_debug:Add initial version of svg_debug

Some TODOs still remaining, but its working good so far

* fiexed:svg_debug:Fixed memory leeks on exit of plugin

* fix:graphics:Some final touches for svg_debug

* fix:graphics:svg_debug:Reformat to match navit style

* fix:graphics:svg_debug:Reformat again to match navit style (Eclipse
brakes things... now astyle)

* fix:grpahics:svg_debug:Fix C99 for-loop
  • Loading branch information
jkoan committed Dec 19, 2020
1 parent 3ab540c commit 38a0573
Show file tree
Hide file tree
Showing 5 changed files with 805 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ add_module(graphics/sdl "Required library not found" FALSE)
add_module(graphics/egl "Required library not found" FALSE)
add_module(graphics/qt_qpainter "Qt libraries not found" FALSE)
add_module(graphics/qt5 "Qt5 libraries not found" FALSE)
add_module(graphics/svg_debug "native Glib not found" FALSE)
add_module(gui/qml "Qt Declarative not found" FALSE)
add_module(gui/qt5_qml "Qt5 Declarative not found" FALSE)
add_module(gui/gtk "GTK libs not found" FALSE)
Expand Down Expand Up @@ -325,7 +326,10 @@ if (NOT HAVE_WORDEXP)
endif()
if (NOT GLIB2_FOUND)
set_with_reason(support/ezxml "Glib not found" TRUE)
endif()
else(NOT GLIB2_FOUND)
set_with_reason(graphics/svg_debug "Glib found" TRUE)
endif(NOT GLIB2_FOUND)


if(FREETYPE_FOUND)
pkg_check_modules(FRIBIDI fribidi)
Expand Down
1 change: 1 addition & 0 deletions navit/attr_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ ATTR(street_destination)
ATTR(exit_to)
ATTR(street_destination_forward)
ATTR(street_destination_backward)
ATTR(outputdir)
ATTR2(0x0003ffff,type_string_end)
ATTR2(0x00040000,type_special_begin)
ATTR(order)
Expand Down
2 changes: 2 additions & 0 deletions navit/graphics/svg_debug/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module_add_library(graphics_svg_debug graphics_svg_debug.c)

0 comments on commit 38a0573

Please sign in to comment.