More > Media Center 12 (Development Ended)
Custom Hit Boxes
(1/1)
Mr ChriZ:
--- Quote ---6. NEW: Skinning engine supports custom hit boxes for certain skin items. (implement by adding a 5th image to a skin item that defines the hit area)
--- End quote ---
Is there an example of this, or will this becoming?
Am I right in thinking that means that say if it's a round button,
it only changes state when the mouse is over the hit area?
DarkPenguin:
Take a look at the Noire skin.
Maximize.png, Minimize.png and Close.png are examples. When checking if the mouse is over the control we check it against that last image. The upshot is that if you have round buttons you can actually end up with round hit boxes. (Hit circles, I guess.)
Navigation
[0] Message Index
Go to full version