Main Page | Modules | Data Structures | File List | Data Fields | Globals

Mouse manager


Files

file  mouse.c
 Mouse core file.
file  mouse.h
 Mouse header file.

Functions

void MouseSetCursorSpeed (l_int Speed)
 Changes the mouse speed Larger value of Speed reprents slower mouse mouvement At startup, value read from registry (/SYSTEM/MOUSE/speed).
void MouseSetDblClkSpeed (l_int Speed)
 Changes the mouse double click speed Set the maximal time between 2 click to be interpreted as a double click (in deciseconds) At startup, value read from registry (/SYSTEM/MOUSE/dblclk).
void MouseSetCursor (PCursor Cur)
 Changes the cursor to the specified one.
void MouseSetCursorNamed (l_text Name)
 Changes the cursor to the specified one.
void MouseShow (void)
 Makes the mouse cursor visible.
void MouseHide (void)
 Hides the mouse cursor.
PCursor NewCursor (p_bitmap Img, l_int SpotX, l_int SpotY)
 Allocates a new cursor form a bitmap.
void FreeCursor (PCursor c)
 Free a cursor.
l_bool __MouseStop (void)
 Removes temporary mouse support by kernel, and allow extra software to uses it directly Never uses it in multitask mode.
l_bool __MouseRestart (void)
 Restores mouse after a __MouseStop call Do not show mouse, use MouseShow(); after it.

Variables

PList Cursors = NULL
 System cursors collection.
PList Cursors
 System cursors collection.

Detailed Description


Function Documentation

l_bool __MouseRestart void   ) 
 

Restores mouse after a __MouseStop call Do not show mouse, use MouseShow(); after it.

See also:
MouseShow

__MouseStop

l_bool __MouseStop void   ) 
 

Removes temporary mouse support by kernel, and allow extra software to uses it directly Never uses it in multitask mode.

See also:
__MouseRestart

void FreeCursor PCursor  c  ) 
 

Free a cursor.

Parameters:
c Cursor to free
See also:
NewCursor

void MouseSetCursor PCursor  Cur  ) 
 

Changes the cursor to the specified one.

Parameters:
Cur Pointer to the cursor to use

void MouseSetCursorNamed l_text  Name  ) 
 

Changes the cursor to the specified one.

Parameters:
Name Name of the pointer to use

void MouseSetCursorSpeed l_int  Speed  ) 
 

Changes the mouse speed Larger value of Speed reprents slower mouse mouvement At startup, value read from registry (/SYSTEM/MOUSE/speed).

Parameters:
Speed Speed, default : 0

void MouseSetDblClkSpeed l_int  Speed  ) 
 

Changes the mouse double click speed Set the maximal time between 2 click to be interpreted as a double click (in deciseconds) At startup, value read from registry (/SYSTEM/MOUSE/dblclk).

Parameters:
Speed Maximal time between 2 click (in deciseconds), default : 4

PCursor NewCursor p_bitmap  Img,
l_int  SpotX,
l_int  SpotY
 

Allocates a new cursor form a bitmap.

Parameters:
Img Bitmap of the cursor
SpotX x coordinates in Img of spot point
SpotY y coordinates in Img of spot point
See also:
FreeCursor

MouseSetCursor


Variable Documentation

PList Cursors
 

System cursors collection.

Found cursors using the item key.

See also:
ListKey

PList Cursors = NULL
 

System cursors collection.

Found cursors using the item key.

See also:
ListKey


Generated on Fri Oct 29 14:32:53 2004 for oZone GUI by doxygen 1.3.8