osd+osc: Add left-arrow to osd-font

For use as playlist navigation button in OSC, now the osd-font
carries all symbols needed by the OSC.
This commit is contained in:
ChrisK2 2014-08-21 18:45:41 +02:00
parent c3cc9e8b88
commit 03f97e4cae
2 changed files with 4 additions and 2 deletions

View File

@ -1000,7 +1000,7 @@ function osc_init()
-- prev
ne = new_element("pl_prev", "button")
ne.content = ""
ne.content = "\238\132\144"
ne.visible = have_pl
ne.eventresponder["mouse_btn0_up"] =
function () mp.commandv("playlist_prev", "weak") end
@ -1010,7 +1010,7 @@ function osc_init()
--next
ne = new_element("pl_next", "button")
ne.content = ""
ne.content = "\238\132\129"
ne.visible = have_pl
ne.eventresponder["mouse_btn0_up"] =
function () mp.commandv("playlist_next", "weak") end
@ -1538,6 +1538,8 @@ function enable_osc(enable)
end
end
mp.use_suspend=false
mp.register_event("tick", tick)
mp.register_event("start-file", request_init)
mp.register_event("tracks-changed", request_init)

Binary file not shown.