Windows Media Player SDK banner art
PreviousNext

Buttons Section

Next you must define the buttons you will be using.

[ Buttons ]

//  <Function> <Type>     <Location>     <Push Image Src>  <Dis Image Src>    <Hit R,G,B>  <Norm 2 Image Src>  <Push 2 Image Src>
//  ---------- ------     ----------     ----------------  ---------------    -----------  ------------------  ------------------
    PlayPause  2PushHit   100,20,110,100 Pushed @ 100,20   Disabled @ 100,20    0,255,255  Pushed @ 270,20     Pushed @ 270,130
    Stop       PushHit    20,20,45,45    Pushed @ 20,20    Disabled @ 20,20   255,255,  0
    Next       PushHit    20,80,45,45    Pushed @ 20,80    Disabled @ 20,80   255,  0,  0
    Prev       PushHit    20,140,45,45   Pushed @ 20,140   Disabled @ 20,130    0,  0,255

There are four buttons defined in this section. The page you are viewing may wrap these lines, but when you type in the code, you must not wrap lines; that is, each line must be complete and end with a paragraph mark.

For each button you must define the function, type, location, pushed image source, disabled source, and color (for hit-type buttons). In addition, for the PlayPause button, you must define the normal and pushed image sources for the paused state.

For more about the Buttons section of the skin definition file, see Buttons in the Skin Reference.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.