summaryrefslogtreecommitdiff
path: root/navit/osd.c
Commit message (Collapse)AuthorAgeFilesLines
* change:core:Remove unused argument from attr_searchjkoan2020-08-081-14/+14
|
* Add:gui:Use 0xa0 as default transparencymvglasow2019-01-221-1/+1
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Cleanup:global:force the re-attach the return type to the function ↵Joseph Herlant2018-05-301-36/+18
| | | | | | | | declaration (#605) * Cleanup:global:force the re-attach the return type to the function declaration * cleanup:global:some loose ends
* cleanup:global:Use astyle to reformat everythingJoseph Herlant2018-05-251-353/+334
|
* Fix:debug:Change line separators for dbg to work also on win* platform (#546)Joseph Herlant2018-04-261-17/+17
| | | | | | | | * Fix:debug:Change line separators for dbg to work also on win* platform * Fix:debug:Break multiline dbg statements to use the new model * Fix:debug:Move the EOL into debug_vprintf
* Fix:OSD:Make Image and Scale osd types obey osd_configuration setting ↵Robert Pohlink2018-04-161-5/+6
| | | | | | | | | | (trac:1202) (#439) * Fix image osd to obey osd_configuration attr * Fix OSD-Scale and fix osd flags naming * Remove dead code
* 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.
* Add:osd:Use padding if supported by graphics drivermvglasow2016-02-021-6/+60
| | | | | | Still buggy (race condition) Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:osd:Document osd_set_std_graphicR6544mvglasow2016-01-211-0/+10
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:osd:Minor documentation improvementsR6539mvglasow2016-01-201-1/+3
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add customizable OSD attribute foreground_color to every OSD item tobe able ↵pohlinkzei2015-12-271-6/+9
| | | | to change the OSD from standard white to every color
* Refactor:core:Add some docs and debug output to OSD and command codemvglasow2015-11-111-1/+15
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add:core:Log descriptive error strings for saved commandsmvglasow2015-11-021-2/+10
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Better error msg for wrong OSD entries in navit.xmlR6274Sebastian Leske2015-09-171-1/+3
| | | | | | | Do not report error for an attempt to load an already loaded plugin; this is normal for libosd_core. Report error for trying to create an OSD with an invalid type. Remove invalid OSD entries from navit_shipped.xml
* Refactor:remove param 'alpha' from graphics_overlay_new/resizeSebastian Leske2015-09-061-2/+2
|
* Fix:osd: use early return for osd_destory when the osd is null, found be ↵woglinde2015-04-131-2/+3
| | | | | | coverity git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6076 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:osd:Rename osd_std_draw to osd_fill_with_bgcolor; extract variable.sleske2015-02-201-3/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6014 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:osd_core:Support negative widhts and heights for osd items as it's done ↵mdankov2015-01-031-40/+18
| | | | | | for negative coordinates (meaning "full size minus smth"), see #1255. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5989 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:osd:Remove strange, buggy and undocumented code for drawing a box around ↵sleske2014-12-191-21/+0
| | | | | | an OSD item based on attr_flags. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5977 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Change all logging at lvl_error/warning to lvl_debug, unless it ↵sleske2014-11-221-5/+5
| | | | | | 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-9/+9
| | | | | | part of #1269. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5960 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:osd:Fixed OSD items display garbage when resized|thank you mvglasowkazer_2014-10-161-1/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5910 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:osd:Handle osd positions specified in percent|thank you mvglasowmdankov2014-10-021-7/+36
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5901 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Build with -Wcast-align -Wmissing-prototypes, -Wpointer-arith, fix ↵sleske2013-08-211-1/+1
| | | | | | corresponding warnings. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5586 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Reduce logging.sleske2013-05-071-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5489 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Improved osd interfacemartin-s2013-04-281-11/+41
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5455 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:osd_core:Allow accesskey usage on non-overlay osdsmartin-s2013-03-051-6/+12
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5399 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Converted osd to new object schememartin-s2013-01-311-11/+36
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5360 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:No debugging output at level 0sleske2012-10-141-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5247 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Better error/debug messages.sleske2012-08-151-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5203 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Handle saved command callbacks correctlymartin-s2012-06-161-2/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5143 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix some warningsrikky2012-04-231-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5032 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core/osd:reverted svn #4918 since it broke some OSDstegzed2012-02-011-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4923 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Call osd_std_calculate_sizes during OSD init, to interpret ↵sleske2012-01-291-0/+1
| | | | | | percentage sizes for OSD elements. Fixes (part of) #983. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4918 ffa7fe5e-494d-0410-b361-a75ebd5db220
* add:core: -added possibility to select objects in the command system by ↵tegzed2011-09-071-17/+1
| | | | | | | | | | filter expressions (Eg: osd[@attr1==1 && (@attr2 != 2 || @attr3 != "strval") ][0]) and optionally indexing the result of filtering - enabled setting common attributes (x,y,w,h) for OSDs in one place - removed osd_set_attr() command system function in favour of the new object selection mechanism git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4768 ffa7fe5e-494d-0410-b361-a75ebd5db220
* fix:core:Do not handle accesskeys for disabled OSDs or when the user is in ↵tegzed2011-08-291-1/+2
| | | | | | the menu git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4728 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:osd_get and set_attr functions based on patch by dandormartin-s2011-07-311-0/+9
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4668 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Ignore osd clicks if there is no commandmartin-s2011-04-211-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4445 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:osd/core: tegzed2011-04-161-1/+29
| | | | | | | | | | | - added the possibility to set attributes of OSDs runtime - added navit command for setting attribute of a named osd - added the possibility to set src attribute (background image) of osd buttons runtime - created "command interface" osd type to be able to access command system accessible data (for example route_status) and display it either as text or image (see Ticket #815 for details) git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4432 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Possibility to specify font name for OSDsmartin-s2011-01-071-1/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3877 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Configurable keybindings for OSDsmartin-s2010-12-181-7/+37
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3798 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Make osd_configuration work also for non-overlay buttonsmartin-s2010-10-301-4/+11
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3628 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Don't handle button release in osd if not pressed firstmartin-s2009-12-151-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2875 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Don't crash on click on osd with no commandmartin-s2009-10-061-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2636 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Fix some compiler warningshorwitz2009-04-261-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2234 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Adding support for "saved" commandstinloaf2009-04-041-11/+21
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2184 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Improved command handlingmartin-s2009-04-011-4/+20
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2177 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Adding relative sizes and positions for OSDstinloaf2009-03-301-25/+82
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2174 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Moved general functions from osd_core to main modulemartin-s2009-03-201-0/+170
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2152 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Fixed osdmartin-s2008-10-261-3/+7
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1567 ffa7fe5e-494d-0410-b361-a75ebd5db220