summaryrefslogtreecommitdiff
path: root/navit/gui/internal/gui_internal.c
Commit message (Collapse)AuthorAgeFilesLines
* keep active vehicle profile when deactivating vehicle (#217)R7393mcapdeville2017-04-191-4/+13
| | | | | | | | | | | | | | | | | | | | When deactivating vehicle, profile is choosen from "car" vehicle_profile or by default the first vehicle_profile in list. So, by example, car_avoid_tolls never work when manually selecting current position (and deactivate vehicle). Now, if there is a selected vehicle profile, we keep it as vehicle_profile (not changing it). Aditionnaly, in internal gui, selecting a vehicle profile when wehicle is deactivated, in gui_internal_cmd_set_active_profile(), call navit_set_vehicleprofile_name() with new vehicle_profile (by name) before setting vehicle_attr to NULL (like in gui_internal_cmd_set_position()). Now, we can switch profile when vehicle is deactivatied and route is update correctly. TO DO : Same in other gui TO TEST : with more than one vehicle enable
* Fix:gui_internal:Rename new option to hide_impossible_next_keysR7360Sebastian Leske2017-03-031-1/+1
|
* Hide impossible keys at the internal keyboard instead of highlighting the ↵R7358Robert Pohlink2017-03-021-0/+6
| | | | | | | | | | | | | | | | | | | | possible ones (leftover from PR5) (#210) * Add:gui_internal:In search, hide on-screen keys which will not find a result. During incremental search in the search dialog, hide keys on the on-screen keyboard which will not lead to any search result. Before, keys where highlighted if they would lead to a result. * Remap special characters in Search to standard characters to enable useful hide-key-functionality * Fix highlight (hide) possible next keys for search internal Now only shows possible keys, not the nth key of the searched item. Takes care of umlauts. * Add a switch attr for gui internal to decide to use hide_keys or the old highlight key behaviour usage: add the attr 'hide_next_possible_keys="1"' to <gui type="internal" [...] />
* 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.
* gui_internal: fix occasional crash of heightprofilejandegr2016-09-041-21/+12
|
* fix:gui_internal:Properly switch keyboard to lower/uppercaseR6698Michael Dankov2016-07-101-0/+7
| | | | | | Do the automatic switch in gui_internal_keypress_do instead of gui_internal_search_changed so that other text input widgets would benefit, e.g. poi search.
* Fix:gui_internal:Repair "Set distance to"/"Get more" menu items. Fixes #1342.Sebastian Leske2016-05-311-1/+6
| | | | | | | | | 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.
* Add:gui_internal:Rudimentary native on-screen keyboard implementationmvglasow2016-02-241-3/+1
| | | | 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>
* Refactor:gui_internal:Better variable names, some docs.R6424Sebastian Leske2015-12-171-21/+33
|
* 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-171-10/+103
| | | | | | | 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.
* Refactor:gui_internal:Documentation updatemvglasow2015-11-121-71/+80
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:gui_internal:Some documentation updatesmvglasow2015-11-121-0/+12
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* 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-221-20/+20
| | | | | | 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-43/+43
| | | | | | 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: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: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
* Add:gui_internal:Improve configurabilitymartin-s2014-06-251-4/+13
| | | | 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-011-12/+8
| | | | | | them. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5763 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Teach gui_internal_get_attr about attr_fullscreen, so ↵sleske2013-09-251-1/+4
| | | | | | condition 'fullscreen==0' works again (broken by rev 5190). git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5647 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Show item id with attributesmartin-s2013-08-231-0/+6
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5592 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix warnings for unused functions, usually by removing them.|Part ↵sleske2013-08-111-22/+0
| | | | | | of #1154. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5570 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Made scroll buttons more abstractmartin-s2013-06-011-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5527 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Clean up the code to get rid of compilation time warnings ↵mdankov2013-05-111-4/+4
| | | | | | about const qualifier removal. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5494 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Make the Route description list be scrollable again. Fix #1115.mdankov2013-05-111-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5493 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Add route distance and time to route descriptionmartin-s2013-05-051-1/+20
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5486 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Show poi distances to route if there is an active routemartin-s2013-05-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5484 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Do not jump to the top of multipage route description list ↵mdankov2013-05-051-0/+8
| | | | | | on each GPS update.|Thank you alxchr for pointing this out! git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5477 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Allow set to work also as unsetmartin-s2013-04-261-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5451 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Intermix waypoints with route segments in route map for easier ↵martin-s2013-04-131-3/+3
| | | | | | identification git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5438 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Display state and municipality names in town search.mdankov2013-02-091-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5375 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Allow layer tag to reference layers within navit context, object ↵martin-s2013-01-191-2/+1
| | | | | | handling cleanup git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5340 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Show the "unknown" image when requested image is not foundmdankov2013-01-031-1/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5336 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Move comments to correct placemartin-s2012-12-231-88/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5309 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Split up into smaller files for easier maintenancemartin-s2012-12-221-5309/+55
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5298 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Cyrillic search improvements: Do accent insensitive search for ↵mdankov2012-12-181-8/+16
| | | | | | Cyrillic in town and POI filter. Do Cyrilic case insensitive filtering of POIs. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5296 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Missing colon keymartin-s2012-12-041-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5281 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Disable osd when gui.bookmarks() and similar commands are ↵mdankov2012-11-301-20/+82
| | | | | | called directly from osd. Fixes #1073, git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5278 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/internal:Avoid deallocated memory access reported by valgrind on exit.mdankov2012-11-171-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5272 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Option to specify font size in html-like descriptionmartin-s2012-11-111-2/+7
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5267 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Few more memleaks & one uninitialized variable reference|thank you ↵mdankov2012-11-101-3/+13
| | | | | | valgrind for pointing these out git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5266 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Better waypoints handling, see #1040 |Based on ideas & patches from ↵mdankov2012-11-091-13/+182
| | | | | | pini and antiram git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5264 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui/internal:Fix warnings and comments, remove dead code.sleske2012-11-051-56/+7
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5256 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:No debugging output at level 0sleske2012-10-141-43/+40
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5247 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fixed MSVC issue caused by intl_cmake not replacing the system snprintf ↵bjasspa2012-08-111-2/+0
| | | | | | because MS renamed it _snprintf git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5198 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Make navit instance accessible from guimartin-s2012-07-161-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5188 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Dont lose Cyrillic keyboard when switching to numeric one mdankov2012-07-041-2/+2
| | | | | | | | after upcase mode have switched automatically to lowercase. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5180 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Make coordinate input dilaog more usable on different ↵mdankov2012-07-041-26/+23
| | | | | | screen resolutions. Allow to hide keyboard to look at samples if they are obscured. Related to http://trac.navit-project.org/ticket/951. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5179 ffa7fe5e-494d-0410-b361-a75ebd5db220