summaryrefslogtreecommitdiff
path: root/navit/gui
Commit message (Collapse)AuthorAgeFilesLines
* Fix:gui_internal:Repair "Set distance to"/"Get more" menu items. Fixes #1342.Sebastian Leske2016-05-313-6/+12
| | | | | | | | | During table rendering, do not disable off-screen table entries by toggling STATE_SENSITIVE. Doing so breaks the menu items "Set distance to"/ "Get more"; these must never be STATE_SENSITIVE, since their sub-widgets should receive clicks. Instead, use STATE_OFFSCREEN to mark off-screen entries and skip them during traversal with a rotary encoder.
* Refactor:gui_internal:Remove out-ifdefed code and unused widget states.Sebastian Leske2016-05-313-17/+15
|
* Refactor:gui_internal:Code cleanup.Sebastian Leske2016-05-311-4/+3
|
* Fix:gui_internal:Hide native keyboard when displaying POI search resultsmvglasow2016-02-241-0/+4
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:gui_internal:Make native keyboard compatible with changes after R6421mvglasow2016-02-242-0/+9
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add:gui_internal:Support mode for native virtual keyboardmvglasow2016-02-241-0/+1
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:gui_internal:Further native keyboard refinementsmvglasow2016-02-241-23/+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-5/+126
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:gui_internal:Correctly handle fullscreen toggle on Android API 17+mvglasow2016-02-021-0/+6
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add:gui_internal:Use padding if supported by graphics drivermvglasow2016-02-021-6/+40
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:gui_internal:Determine menu widget size based on parent sizemvglasow2016-02-021-6/+6
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:gui_internal:Document gui_internal_menu.cR6550mvglasow2016-01-241-0/+15
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:gui_internal:Correct keyboard highlighting in search.R6427Sebastian Leske2015-12-191-5/+9
| | | | | | During search, clear the list of possible keys when the search input changes. Otherwise too many keys are highlighted if search input is changed while the search is still running.
* Refactor:gui_internal:Better variable names, some docs.R6424Sebastian Leske2015-12-172-30/+39
|
* Refactor:gui_internal:Remove dead or redundant code.Sebastian Leske2015-12-174-26/+2
|
* Fix:gui_internal:Simplify and fix gui_internal_keynav_find_prev.Sebastian Leske2015-12-171-19/+17
| | | | | | Simplify gui_internal_keynav_find_prev, and fix small bug: In the search menu, if the Prev/Next buttons are visible and the keyboard is hidden, going backwards with PgUp skips some widgets.
* Add:gui_internal:Navigating menus with rotary encodergreg2015-12-172-45/+164
| | | | | | | 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.
* Fix:gui_internal:Properly hide Prev/Next buttons initially.greg2015-12-171-0/+2
| | | | | | | | | Prevent the Prev/Next buttons in the search dialog from being reachable using the cursor keys even if they are not displayed. To reproduce: Open search dialog, press Cursor down until focus returns to the top of the screen. Without this fix, the Prev button appears at the top of the screen and is focused.
* Fix:gui_internal:Correct case-switching & highlighting in search dialog.greg2015-12-173-8/+37
| | | | | | | | Fixes for the on-screen keyboard of the search dialog in the internal GUI: Switch the keyboard to lower-case after first input character, even if entered via the physical keyboard. Switch back to upper-case and un-highlight all keys if user clears search input.
* Fix:gui_internal:Prevent back/prev buttons from staying highlightedgreg2015-12-171-0/+1
| | | | | | | The Prev/Next buttons in the search result list of the internal GUI can be selected by moving the input focus using the arrow keys. This fix prevents the Prev/Next buttons from staying hightlighted when the focus is moved away.
* Fix navigation messages translations in Android LollipopR6372Michael Dankov2015-11-151-2/+1
| | | | | | | | Do not set locale to "C" for LC_NUMERIC, and do not call setlocale at all on Android, because: - Since Lollipop, Android attempts to do something in setlocale, but its implementation is far from complete and makes no sense for us at this point. - Older Android versions used to completely ignore setlocale() calls.
* Fix:gui_internal:memleakR6368mdankov2015-11-141-16/+2
| | | Different implementation of #1331 to fix memory leak
* Refactor:gui_internal:Use enum for keyboard modes and flagsmvglasow2015-11-137-94/+107
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:gui_internal:More documentationmvglasow2015-11-133-31/+62
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:gui_internal:Documentation updatemvglasow2015-11-122-76/+147
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:gui_internal:Some documentation updatesmvglasow2015-11-123-47/+98
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:gui_internal:Format coordinates properly on Android Lollipopmvglasow2015-11-121-1/+26
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:gui_internal:correct typowoglinde2015-04-131-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6077 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Add some error messages for when connecting graphics to gui fails.sleske2015-03-161-1/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6025 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Change all logging at lvl_error/warning to lvl_debug, unless it ↵sleske2014-11-2221-85/+85
| | | | | | 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-2223-157/+157
| | | | | | part of #1269. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5960 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Don't show "county" name if it is identical to town name.sleske2014-11-031-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5921 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Don't show "Co." for "county", as "county" means different ↵sleske2014-11-031-1/+1
| | | | | | things in different countries. | Fixes #1244. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5920 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:New POI filtering to include zipcode in address ↵mdankov2014-11-023-12/+26
| | | | | | search|thanks bafplus for zipcode.svg git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5918 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/internal:Log an error for search results without a name (which ↵sleske2014-09-101-6/+7
| | | | | | should never happen). git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5891 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/gtk:Fix autotools build of GTK GUI, which was broken by new POI ↵sleske2014-08-311-1/+1
| | | | | | search feature. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5889 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/gtk:POI search: Remove pointless code for reading vehicle ↵sleske2014-08-111-15/+3
| | | | | | position.|See #1133. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5867 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Rename get_direction -> get_compass_directionsleske2014-08-112-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5866 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Centralise get_direction.sleske2014-08-112-57/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5865 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:gui/gtk:Better comments, variable names.sleske2014-08-112-72/+68
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5863 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/gtk:POI search: Warn about missing icons.sleske2014-08-111-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5862 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/gtk:Small text corrections for POI search.sleske2014-08-112-9/+7
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5861 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/gtk:POI search: Don't crash if no vehicle is active.sleske2014-08-111-8/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5860 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui/gtk:New POI search dialog.|Patch from #1133, thanks!sleske2014-08-115-2/+447
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5859 ffa7fe5e-494d-0410-b361-a75ebd5db220
* FIX:gui/internal:Made gui_internal.txt (user settings file) overwrite ↵mdankov2014-08-111-0/+4
| | | | | | working on systems where rename() fails if newname already exists, esp. Win32. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5856 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/internal:Do not flood initial POI list with house number objects.mdankov2014-08-091-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5852 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/internal:Properly handle backspace button on multibyte input, were ↵mdankov2014-08-021-6/+2
| | | | | | leading to crashes on some android devices. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5829 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Made back_to_map work from dbusmartin-s2014-07-181-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5821 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Improve configurabilitymartin-s2014-06-253-5/+16
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5798 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Convert charset of all map-originated strings before using ↵mdankov2014-04-012-24/+20
| | | | | | them. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5763 ffa7fe5e-494d-0410-b361-a75ebd5db220