OXYGENHUB
◆ main openmsx / share / skins / handheld / skin.tcl
1.7 KiB · Tcl · last changed chore(): initial commit 1 month ago source blame history raw
e8555c89 Andy McCall 1
# global settings
2
#
3
#    name         default   description
4
# ------------------------------------------------------------------------------
5
#  xbase             0       x-coord of bounding box for LEDs
6
#  ybase             0       y-coord
7
#  xwidth           16       width of images (used to calculate default positions)
8
#  yheight          16       height
9
#  xspacing         32       space between horizontally placed LEDs
10
#  yspacing         35                     vertically
11
#  horizontal        1       1 -> horizontal   0 -> vertical
12
#  fade_delay        5       time before LEDs start fading
13
#  fade_duration     5       time it takes to fade from opaque to transparent
14
#  position        default   chosen position, can be left/right/top/bottom/default
15
#                            Scripts *should* overrule the value 'default', but
16
#                            they *may* also overrule other values.
17
#
18
# per LED settings
19
#   default values are calcluated from the global settings
20
#   exact LED names are: power caps kana pause turbo FDD
21
#
22
#    name(<led>)             description
23
# ------------------------------------------------------------------------------
24
#  xcoord                     x-coord of LED in bounding box
25
#  ycoord                     y-coord
26
#  fade_delay_active          see global fade_delay setting
27
#  fade_delay_non_active      "
28
#  fade_duration_active       see global fade_delay setting
29
#  fade_duration_non_active   "
30
#  active_image               filename for LED image, default is <led>-on.png
31
#  non_active_image           "                                  <led>-off.png
32
33
set scale 1
34
set xwidth 16
35
set yheight 16
36
set xspacing 20
37
set yspacing 16
38
if {$position == "default"} { set position "bottom" }