Transparent buttons?

Post Reply
Transco
Posts: 10
Joined: Mon Apr 20, 2015 2:59 pm
My devices: iPad air 2
iPhone 6+
iPod Touch (latest)

Transparent buttons?

Post by Transco »

Is there a way to draw buttons with a transparent fill so that images (jpeg's) can be be used instead of the current fill and text? I supposed I could use sprites, but I'd prefer to use buttons if possible.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Transparent buttons?

Post by Mr. Kibernetik »

Check SET BUTTONS CUSTOM command.

Transco
Posts: 10
Joined: Mon Apr 20, 2015 2:59 pm
My devices: iPad air 2
iPhone 6+
iPod Touch (latest)

Re: Transparent buttons?

Post by Transco »

I've read over that section of the manual several times. I can see how I can control the transparency of the text, but I still don't see how to control the fill transparency.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Transparent buttons?

Post by Mr. Kibernetik »

Transco wrote:I've read over that section of the manual several times. I can see how I can control the transparency of the text, but I still don't see how to control the fill transparency.

Code: Select all

GRAPHICS
GRAPHICS CLEAR
BUTTON 0 TEXT "Button 1" AT 10,10
SET BUTTONS CUSTOM
DRAW COLOR 0,0,1
FILL ALPHA 0
BUTTON 1 TEXT "Button 2" AT 10,50

Transco
Posts: 10
Joined: Mon Apr 20, 2015 2:59 pm
My devices: iPad air 2
iPhone 6+
iPod Touch (latest)

Re: Transparent buttons?

Post by Transco »

'FILL ALPHA ZERO'. I missed that somehow. Thanks for your help!

Post Reply