|
Home |
Test yourself (Five reasons to purchase fm-tuner) |
CoolFM manual (with screenshots) |
Future development (schedule) |
ToDo List (what's new) |
Draw custom skin |
This article describes superficial concepts, how to make your custom skin. (Full reference will be published in January 2001)
Skin compiler and decompiler are located in Skins\ directory.
1. Decompile default skin
(Decompile other finished skins to know, how to describe advanced controls)
2. Creating your own skin
<object=button mean=close
xpos=2 ypos=26 width=18 height=18
normal=close.bmp pressed=close2.bmp
text=" Quit CooLFM ">
|
<object=environment
width=167 height=86
bgred=0 bggreen=102 bgblue=255
>
<object=list mean=list bgred=0 bggreen=102 bgblue=255 red=255 green=255 blue=0 foundred=80 foundgreen=95 foundblue=249 font="9.WarpSans" ndir="0 0 167 86" sdir="0 0 167 86" wdir="0 0 167 86" edir="0 0 167 86">
<object=button
mean=calllist
xpos=62 ypos=2 width=46 height=43
normal=calist.bmp pressed=calist2.bmp
text=" Stations list ">
|
<object=button mean=listdown
xpos=108 ypos=10 width=21 height=21
normal=right.bmp pressed=right2.bmp
onnormal=onright.bmp onpressed=right2.bmp
text=" Next station ">
|
<object=button
mean=callsetup
xpos=0 ypos=0 width=32 height=32
normal=configA.bmp pressed=config2A.bmp
text=" Open/close Settings notebook">
|
<object=indicator
mean=name
xpos=0 ypos=48 width=167 height=38
font="20.BrushType"
f=nameback.bmp
red=70 green=255 blue=9>
To use CooLFM Bar as full-value OS/2 window, let's add "move zone".
User can move mouse to this zone, press right mouse button and
drag Bar to new position on Desktop.
<object=button
mean=move
xpos=0 ypos=55 width=160 height=38
text=" Keep right mouse button pressed to move window ">
This zone is invisible. You can to cover it by "name" indicator (look above) or bitmap:
<object=bitmap
xpos=0 ypos=55 width=160 height=38
f=title.bmp>
|
Home |
Test yourself (Five reasons to purchase fm-tuner) |
CoolFM manual (with screenshots) |
Future development (schedule) |
ToDo List (what's new) |
Draw custom skin |