MouseStatus

From IfsoGUIWiki

Jump to: navigation, search

Internal Method - Should only be called by the GUI and or a gadget.

Contents

Declaration

MouseStatus:Int(iMouseX:Int, iMouseY:Int)
Called to determine the mouse status from the gadget. Tells the GUI which mouse graphic to draw. Should only be called to the active gadget or the gadget the mouse is over.

Returns

An integer, one of the following:

  • ifsoGUI_MOUSE_NORMAL
  • ifsoGUI_MOUSE_OVER
  • ifsoGUI_MOUSE_DOWN
  • ifsoGUI_MOUSE_RESIZE
  • ifsoGUI_MOUSE_IBAR

Parameters

  • iMouseX:Int - Mouse X position.
  • iMouseY:Int - Mouse Y position.

Gadget Information

Internal Method - Should only be called by the GUI and or a gadget.

Example

Personal tools