show_mouse man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

show_mouse(3)			Allegro manual			 show_mouse(3)

NAME
       show_mouse - Tells Allegro to display a mouse pointer on the screen.

SYNOPSIS
       #include <allegro.h>

       void show_mouse(BITMAP *bmp);

DESCRIPTION
       Tells  Allegro to display a mouse pointer on the screen. This will only
       work if the timer module has been installed. The mouse pointer will  be
       drawn onto the specified bitmap, which should normally be `screen' (see
       later for information about bitmaps). To hide the mouse	pointer,  call
       show_mouse(NULL).

       Warning: if you draw anything onto the screen while the pointer is vis‐
       ible, a mouse movement interrupt could occur  in	 the  middle  of  your
       drawing	operation.  If	this  happens the mouse buffering and graphics
       drawing code will get confused and will	leave  'mouse  droppings'  all
       over  the  screen. To prevent this, you must make sure you turn off the
       mouse pointer whenever you draw onto the screen. This is not needed  if
       you are using a hardware cursor.

       Note:  you  must not be showing a mouse pointer on a bitmap at the time
       that  the  bitmap  is  destroyed	 with  destroy_bitmap(),   e.g.	  call
       show_mouse(NULL);  before destroying the bitmap. This does not apply to
       `screen' since you never destroy `screen' with destroy_bitmap().

SEE ALSO
       install_mouse(3),	install_timer(3),	  set_mouse_sprite(3),
       scare_mouse(3),	freeze_mouse_flag(3),  show_os_cursor(3),  exmouse(3),
       expal(3), exshade(3), exspline(3), exsyscur(3)

Allegro				 version 4.4.2			 show_mouse(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net