I can get the an imagebutton to act with an ALT, but I can't get an imagemap to do the same thing. Is there a way to do this with an image map?
Even those it at the alt and it's right position the image map won't move up when focused.
Code: Select all
screen quick_menu():
# Ensure this appears on top of other screens.
zorder 100
imagemap:
at qmc_anim
auto "gui/qm_%s.png"
alpha False
hotspot (0, 0, 1918, 58) action Null
hotspot (491, 60, 77, 41) action Rollback() alt _("Rollback")
hotspot (604, 60, 100, 44) action ShowMenu('history') alt _("History")
hotspot (738, 62, 77, 44) action Skip() alternate Skip(fast=True, confirm=True) alt _("Skip")
hotspot (847, 63, 82, 41) action Preference("auto-forward", "toggle") alt _("Auto-Forward")
hotspot (954, 62, 82, 46) action ShowMenu('save') alt _("Save")
hotspot (1064, 56, 105, 52) action QuickSave() alt _("Quick Save")
hotspot (1210, 56, 98, 55) action QuickLoad() alt _("Quick Load")
hotspot (1348, 59, 92, 46) action ShowMenu('preferences') alt _("Prefernces")
# textbutton _("Save")
# textbutton _("Q.Save")
# textbutton _("Q.Load")
# textbutton _("Prefs")
transform qmc_anim:
xalign 0.5
ypos 1030
on hover:
linear .25 ypos 955
linear .25 alpha 1.0
on idle:
linear .25 ypos 1030
linear .25 alpha 0.5