diff options
author | lains <lains@caramail.com> | 2018-08-21 19:05:33 +0200 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2018-08-21 19:05:33 +0200 |
commit | 8bfc53427cae358a6b747f9c71d91bcc78e8dd65 (patch) | |
tree | f7b88fb2b362db15f1b916ff4b7e6da4edaa0735 /navit/util.h | |
parent | 704679b9066e160063ce5e2118b88ea0ed01f6ad (diff) | |
download | navit-8bfc53427cae358a6b747f9c71d91bcc78e8dd65.tar.gz |
Refactor:gui/internal: Add pointer and label when using function "view on map" (#631)
* Factorizing gui_internal_cmd_results_to_map() to also highlight points selected by command "View on map"
* Adding comments on displayed text for type_waypoint and type_route_end
* Adding comments
* Restoring zoom_to_rect in gui_internal_cmd_results_to_map()
* Making zoom_to_rect conditional, moving results_map preparation code to a dedicated function
* Moving "search_results" map preparation into a dedicated function
* Removing unused var
* Adding doxygen comments and disabling widget dealloc (causes segfault)
* Fixing segfault at next do_drawy() when adding pointer for view on map
* Reformatting labels to be displayed in a compact square area rather than all on a line
* Applying astyle to comply to ci_sanity_checks.sh
* Handling newlines in labels associated to element_circle
* Fixing hardcoded nblines
* Moving multi-line label processing to a dedicated function multiline_label_draw()
* Rework on arg naming to line-up with other simular functions. Minor update on doxygen comments
* Moving unsigned int sqrt calculation to utils
* Minor improvement of comment
* Fixing typo on comment
* Also applying size xslt processing to layer itemgra
This allows to also process the size of item_types="found_item", which is used by "View on map" and "Show results on map"
Diffstat (limited to 'navit/util.h')
-rw-r--r-- | navit/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/util.h b/navit/util.h index b7b60b533..7aa6449e6 100644 --- a/navit/util.h +++ b/navit/util.h @@ -25,6 +25,7 @@ void strtoupper(char *dest, const char *src); void strtolower(char *dest, const char *src); +unsigned int uint_sqrt(unsigned int n); int navit_utf8_strcasecmp(const char *s1, const char *s2); GList * g_hash_to_list(GHashTable *h); GList * g_hash_to_list_keys(GHashTable *h); |