summaryrefslogtreecommitdiff
path: root/navit/graphics
Commit message (Collapse)AuthorAgeFilesLines
* fix:build:fixed compiler warning in graphics modulePatrick Höhn2018-01-142-5/+10
|
* add:graphics-qt5:add missing watchEvent slot (#387)Pierre GRANDIN2017-12-262-0/+14
| | | | | | * Fix:add missing watchEvent slot implementation * Fix:add missing watchEvent slot implementation
* fix: graphics_qt5 fix layer drawing and draggingR7618Stefan Wildemann2017-06-132-12/+35
| | | | Now cursor is drawn right with qml and qwidgets
* Correctly implement draw_drag on graphics_qt5R7612Stefan Wildemann2017-06-064-18/+38
|
* Fix: Make rotating compatible to Qt 5.2 (#256)R7604Stefan Wildemann2017-06-041-2/+7
| | | | | | Welcome to Qt5 compatibility hell. Seems like the Screen.orientationUpdateMask property is only valid from Qt5.4 and beyond. To make this compatible down to Qt5.2, i introduce a QML JavaScript workaround/hack.
* graphics_qt5 QML: Add screen rotation support (#255)R7550Stefan Wildemann2017-05-151-9/+28
| | | | | Now the QML qt5 graphics happily rotates according to screen orientation. At least on Sailfish. Should do on other QML hardware as well. Hard to test, as PC's usually don't have screen rotation support.
* Remove Qt5 fonts dependency on Freetype (#253)R7542Stefan Wildemann2017-05-133-36/+143
| | | | | | | | | | | | | | | | | | | | * Fix: Have nice font shadow as freetype has If using QT font rendering, a white (or black) outline as if rendered with freetype is shown. * qt5: Port font guessing and matrix transformation Select font using the same algorithm than in freetype. Transform font using the same matrix than in freetype. * Sailfish: switch to QT font rendering * Fix: remove SubPxelAntiAliasing hint, Sailfish's QT version is too old for this * Fix: fix bbox calculation for qt5 fonts
* Fix: Apply coding style to graphics_qt5Wildemann Stefan2017-05-068-1301/+1301
|
* Add Qt5 qml gui skeleton (#236)R7461Stefan Wildemann2017-05-048-22/+62
| | | | | | | | | | | | | | | | | | | * Initial parts of qt5 qml graphics based on graphics/qt5_qml * Qt5 QML gui: working handover The hand over of the QML engine between the graphics and the gui part is working now. The gui can load it's own QML component and embed the navit widget inside other QML code. * Remove unneeded moc include * Fix: Apply coding style * Fix:extern "C" the navit includes in graphics qt5 Seems the navit includes are not fully "c++" aware, so extern "C" them in the c++ parts.
* graphics Qt5 keyboard (#214)R7384Stefan Wildemann2017-04-105-1/+136
| | | | | | | | | | | * Fix: Enable keyboard on graphics_qt5:QML * Fix: Enable keyboard on graphics_qt5:QWidget * Fix: register the QML RRC. To not let the resources be optimized out if you compile navit without modules, they need to be registered on module init.
* Qt5 Graphics: Add QML support (#213)R7378Stefan Wildemann2017-04-058-71/+580
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Qt5: Add navit callbacks to private Add navit callbacks to private data, to prepare qt5 graphics transition to QML 2.0 instead of QWidget. * Qt5: use only one widget Refactor qt5 code to use only one widget. Overlays won't have their own widgets anymore. This is in peparation for converting qt4 graphics to QML 2.0 * initial addition of QML to qt5 graphics. * Add first (bogus) qml file. This commit adds the qml file for the qt5 qml graphics if used with internal gui. And it alters the cmake scripts to istall it. * Add inital Quick component Now this has it's own c++ Quick component included. Additionally the qml file gets embedded into the plugin. * Small cleanup, qml package name correction. * Convert to QGuiApplication to remove QWidget dep. * First time working QQuick Navit * Lower qml import versions, as sailfish uses old ones. * Add header to QtQuick item. * Add new attr qt5_widget to qt5 * Add qt5 variants to test * Correct mistake in running test for qt5 * Fix: Tomtom libpng version bump to 1.6.29 The libpng version 1.6.28 was removed from ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/ * Fix: Make window as big as possible if w and h are not given * Fix navit config for run_linux_test, complete test separation. * Fix xdotools use separatelog dir * Fix: correct mess generated with last commit * Convert from CMAKE_AUTORRC to old macros We want to support old cmake, that doesn't have AUTORRC * Fix: Add qml modules to build in order to allow QML graphics to run * Fix: Use trusty packages instead.
* Fix: remove autotools leftoversWildemann Stefan2017-02-231-9/+0
|
* Fix: Qt5: only update navit geometry if root window changed size.Stefan Wildemann2017-02-233-9/+8
|
* Fix: Qt5: fix resizing. Add config params w,h,fullscreenStefan Wildemann2017-02-233-56/+99
|
* Fix: Qt5: clean up things even if there i no app objectStefan Wildemann2017-02-231-2/+5
|
* Fix: Qt5: allow passing Qt backend via config.xmlStefan Wildemann2017-02-232-6/+34
|
* Fix: Qt5: integer to pinter cast as suggested by GLibStefan Wildemann2017-02-231-7/+7
|
* refactor: qt5: follow api changes brought with commit ↵Stefan Wildemann2017-02-232-3/+3
| | | | 60bc2797f0bd71d87a4eece306e2368afe2a8866
* Qt5: Use default svg size if size not givenStefan Wildemann2017-02-231-3/+3
|
* Qt5 image loading more robust on navit image guessingStefan Wildemann2017-02-231-27/+70
|
* Improve dash handling. Cope with impair patterns.Stefan Wildemann2017-02-231-0/+11
|
* Clear surfaces if transparent. Fix dash setting.Stefan Wildemann2017-02-231-5/+24
|
* Sailfish needs periodic trigger for display on.Stefan Wildemann2017-02-232-4/+39
|
* Add screen blanking for Sailfish OS.Stefan Wildemann2017-02-231-2/+8
|
* Remove most debug messagesStefan Wildemann2017-02-231-29/+28
|
* Fix overlay text functions.Stefan Wildemann2017-02-231-16/+32
|
* Add QT5 graphics. Works on Sailfish OS.Stefan Wildemann2017-02-238-0/+1110
|
* add:graphics:RaspberryPI hardware accelerated graphics support (#208)R7308Cedric PAILLE2017-02-232-0/+1460
| | | | | | | | | | * cleanup * Renamed rpi to egl + polygon filling method and lot of fixes * Fix overlay crash * Cleanup
* Merge pull request #62 from navit-gps/trac/1341jandegr2017-01-099-93/+0
|\ | | | | Removing autotools support, merged following the conversion of the Navit tomtom and Opentom builds and the lack of other comments for almost eight moths.
| * Merge branch 'trunk' into trac/1341trac/1341Pierre Grandin2016-12-0110-41/+268
| |\ | | | | | | | | | | | | | | | | | | Conflicts: navit/Makefile.am navit/xpm/Makefile.am po/Makefile.am
| * | Removing autotools supportPierre GRANDIN2015-12-319-93/+0
| | |
* | | Fix:core:Fix iPhone build broken by plugin refactoring.R7131Sebastian Leske2016-12-081-2/+2
| |/ |/| | | | | | | Finish refactoring 'type' -> 'category'. I overlooked the Objective C code for iPhone.
* | Refactor:core:For plugins, use term 'category' instead of 'type'.Sebastian Leske2016-10-3110-23/+23
| | | | | | | | | | | | | | 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:gui_internal:Further native keyboard refinementsmvglasow2016-02-241-4/+14
| | | | | | | | | | | | | | | | | | | | 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-248-2/+64
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:graphics_android:Use background_color attribute for system bar tintmvglasow2016-02-021-1/+32
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:graphics_android:Implement padding for areas obstructed by system UImvglasow2016-02-021-3/+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-214-7/+7
| |
* | Fix:core:Exit if GUI or graphics init / connection fails.R6534Sebastian Leske2016-01-112-5/+1
| | | | | | | | | | | | If the initialization of GUI or graphics plugin or connecting the two fails, exit immediately. In that state we cannot reliably continue running, plus there's probably no point anyway.
* | Add:port_android:OSD button and command to show Android menumvglasow2015-12-201-1/+100
|/ | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add:gui_internal:Navigating menus with rotary encodergreg2015-12-171-0/+8
| | | | | | | Allow navigating the menus of the internal GUI with only PgUp/PgDown keys, instead of using arrow and Enter keys (which remains supported). This allows to operate the menus with a rotary encoder, if its two actions are mapped to PgUp/PgDown.
* Remove unused parameter 'depth' from get_glyph/get_shadow.R6299Sebastian Leske2015-10-065-12/+11
| | | | | | The 'depth' parameter was only required for the gtk_drawing_area graphics plugin, before it was switched to use Cairo. Now all graphics drivers use depth=32, so that case is now hardcoded.
* Fix typo in graphics_win32.cmdankov2015-09-071-1/+1
|
* Refactor:Remove unused parameter 'alpha' for overlaysSebastian Leske2015-09-069-36/+32
|
* gtk_drawing_area:Remove unused cleanup code.Sebastian Leske2015-09-051-11/+5
|
* gtk_drawing_area:Fix compilation without Imlib2.v0.5.0-rc.2Sebastian Leske2015-08-311-1/+1
| | | | Compilation fails without Imlib2 due to a stupid typo.
* gtk_drawing_area:Remove obsolete GDK stuff - #66, final part.Sebastian Leske2015-08-301-47/+9
| | | | | Remove obsolete code and GDK data structures, such as GdkGC, GdkDrawable, GdkColormap.
* gtk_drawing_area:Implement draw_image_warp - #66, part 8Sebastian Leske2015-08-301-17/+52
| | | | | | Switch draw_image_warp to use Cairo. Imlib2 is still used for the image warping (this could probably also be done using Cairo, if someone cared to convert it).
* gtk_drawing_area:Draw overlays - #66, part 7Sebastian Leske2015-08-301-53/+23
| | | | Switch overlay_draw etc. to Cairo. Each overlay gets its own cairo_t.
* gtk_drawing_area:Text drawing with Cairo - #66, part 6Sebastian Leske2015-08-301-20/+18
| | | | | Draw text bitmaps using Cairo. No longer render the bitmaps twice, which was required when drawing with GDK to obtain transparency.