Quick Sign In:  

 Skin scratch

Back to Skin SDK

Skin SDK: The <scratch> element

A scratch zone defines a zone where the user can scratch using the mouse.

The syntax of the scratch element is <scratch deck="">.
The properties values are:
  • deck can take its value between "1", "2", "left", "right", "default" (default), or "active".
The scratch definitions are:
  • <size width="" height=""> : Give the width and height of the scratch zone
  • <pos x="" y=""> : Give the position of the scratch zone on the screen
  • <mousemask x="" y=""> : Give the coordinate of the B&W graphic that should be used as a mask to decide if the mouse is over the scratch zone
  • <mouserect x="" y="" width="" height=""> : Set a simple rect zone as a mouse mask
  • <mousecircle x="" y="" r=""> : Set a simple circle zone as a mouse mask
  • <center x="" y=""> : Give the center of the circular mouse movement

Back to Skin SDK