Transparent Pointer

Feature requests for future versions of Hollywood can be voiced here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Transparent Pointer

Post by djrikki »

Hello,

After loading in a brush and assigning it as a pointer the transparency/alpha channel is lost. Check this out.

Code: Select all

	LoadBrush(#SCROLLPOINTER, #AISSFOLDER .. "movecursor", {Transparency = #FUCHSIA})
	CreatePointer(0, #POINTER, #STDPTR_SYSTEM)
	CreatePointer(1, #POINTER, #STDPTR_BUSY)
	CreatePointer(2, #BRUSH, #SCROLLPOINTER)
The movecursor mason icon has a mesh of black pixels representing the shadow underneath the hand of the pointer, instead it appears as a filled area. :(
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Transparent Pointer

Post by airsoftsoftwair »

You have to use a brush that has alpha channel transparency. If you use a static transparent color like #FUCHSIA, the brush will get a monochrome transparency mask (pixels either invisible or visible). Custom mouse pointers, however, only support alpha channel transparency. Simply use PNGs with alpha channel and it should work fine.
Post Reply