Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 RAT_ON() Sets the mouse cursor on

 Returns
 None

 Syntax
 RAT_ON()

 Description
 Turns the mouse cursor on

 Examples
  if rat_exist()
    rat_on()
    * do something, or wait for something...
    rat_off()

  endif

 Notes:
 There must be a rat_on() call for each rat_off() call
 in succession.

 In other words, if you do:
          rat_off()
          rat_off()

 you must then do:
          rat_on()
          rat_on()

 to turn on the mouse cursor, as it is stacked.

 e.g.

        if rat_exist()
          rat_on()
          * do something, or wait for something...
          rat_off()
        endif

 RAT_EVENT() takes care of the mouse on/off settings,
 so if you use RAT_EVENT(), you need not use RAT_ON()/RAT_OFF()

 Source: S_MOUSE.ASM

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson