Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- This is my try to implement what told by dandor at #Navit :
- 19:55 < dandor> <osd type="cmd_interface" command='osd[@name==mybutton].src="a.png" ' />
- 19:55 < dandor> <osd name="mybutton" src="XYZ.png">
- 20:02 < dandor> the above two lines will hopefully answer wowon's question
- 20:03 < dandor> wowon,in case you read the logs
- 20:03 < dandor> osd_set_attr() function is deprecated,instead you can use the object filtering built into the command system
- 20:03 < dandor> as above
- /-->
- <osd name="mylogo" enabled="yes" x="0" y="0" src="mylogo.png" />
- <osd name="logosikat" enabled="yes" type="cmd_interface" x="0" y="0" update_period="1" command='osd[@name==mylogo].src="mylogo.png"' />
- <!--Result
- It only show a black transparent box at 0.0
- I post the result screenshoot at http://oi44.tinypic.com/15gqa1l.jpg
- actualy 'mylogo.png' currently is a navit logo
- I make a video post at http://videobam.com/widget/icRkf
- Looks like navit don't re-read the same file ... until re-started
- />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement