The button and bar style properties include a property called mouse which can be used to define what cursor is shown when they're hovered over, and hotspots are a kind of button so they can take advantage of this. So to have that cursor used on all hotspots, use:
To have it only affect a specific imagemap or screen, use style prefixes. Using an example from the documentation for imagemaps modified to show this, this could look like so:
Code: Select all
screen preferences():
tag menu
use navigation
imagemap:
style_prefix "pref"
auto "gui_set/gui_prefs_%s.png"
hotspot (740, 232, 75, 73) action Preference("display", "fullscreen") alt _("Display Fullscreen")
hotspot (832, 232, 75, 73) action Preference("display", "window") alt _("Display Window")
hotspot (1074, 232, 75, 73) action Preference("transitions", "all") alt _("Transitions All")
hotspot (1166, 232, 75, 73) action Preference("transitions", "none") alt _("Transitions None")
hotbar (736, 415, 161, 20) value Preference("music volume") alt _("Music Volume")
hotbar (1070, 415, 161, 20) value Preference("sound volume") alt _("Sound Volume")
hotbar (667, 535, 161, 20) value Preference("voice volume") alt _("Voice Volume")
hotbar (1001, 535, 161, 20) value Preference("text speed") alt _("Text Speed")
style pref_hotspot:
mouse "imagemap"
style pref_hotbar:
mouse "imagemap"
You can also set this individually for different hotspots, like so:
Code: Select all
screen preferences():
tag menu
use navigation
imagemap:
auto "gui_set/gui_prefs_%s.png"
hotspot (740, 232, 75, 73) action Preference("display", "fullscreen") alt _("Display Fullscreen") mouse "imagemap"
hotspot (832, 232, 75, 73) action Preference("display", "window") alt _("Display Window") mouse "imagemap"
hotspot (1074, 232, 75, 73) action Preference("transitions", "all") alt _("Transitions All") mouse "imagemap"
hotspot (1166, 232, 75, 73) action Preference("transitions", "none") alt _("Transitions None") mouse "imagemap"
hotbar (736, 415, 161, 20) value Preference("music volume") alt _("Music Volume") mouse "imagemap"
hotbar (1070, 415, 161, 20) value Preference("sound volume") alt _("Sound Volume") mouse "imagemap"
hotbar (667, 535, 161, 20) value Preference("voice volume") alt _("Voice Volume") mouse "imagemap"
hotbar (1001, 535, 161, 20) value Preference("text speed") alt _("Text Speed") mouse "imagemap"