( x )

alphapointer()


Create a mouse pointer from an image file.
 

Syntax


alphapointer(
filename$ , [flags] , [x_scale#] , [y_scale#] )
 

Parameters

 
Variable Description Default value
filename$ Filename to image you wish to use as a mouse pointer. .bmp, .png, .tga and .jpg image files are allowed. -
flags Flags parameter allows you to apply certain effects to the pointer, flags can be added to combine effects. These are the same as the blitz flags:
 
Flag Description
1 Color
2 Alpha
4 Masked
8 Mipmapped
16 Clamp U
32 Clamp V
64 Spherical reflection map
128  <Void>
256 Store texture in vram
512 Force the use of high color textures

 

1+2 (Color + alpha map)
x_scale# Float value to scale the pointer horizontally, 1 = Image size, 2 = double size, 0.5 = half size 1.0
y_scale# Float value to scale the pointer vertically, 1 = Image size, 2 = double size, 0.5 = half size 1.0
     

Back