This content is provided AS IS for archive purposes only. Content may be out of date with no guarantee of correctness.

Cursor Hints - Topics - Hag GUI for Cobra - Static

Main Article

Cursor Hints - Topics - Hag GUI for Cobra

The mouse cursor will change state when you hover over a textbox to a text cursor, and when you hover over a hyperlink to a hand cursor.

The exported integer hag_mouse will store the status of the cursor.

Hag exports this variable leaves it up to you to decide how to implement the cursor change - for example, you may decide you don't want this functionality, or you may have your own cursor animations.

hag_mouse will return one of the following exported constants:

HAG_MOUSE_NORMAL        = 0 ; Export // Default
HAG_MOUSE_HAND          = 1 ; Export
HAG_MOUSE_TEXT          = 2 ; Export
HAG_MOUSE_BUSY          = 3 ; Export // Not Implemented

Stay Subscribed

Follow me on twitter @golightlyb, subscribe to the RSS feed or get updates by e-mail.

You can also contact me directly - I make an effort to reply to every e-mail.


Login
v0.34.archive