Transparent buttons?
-
- Posts: 10
- Joined: Mon Apr 20, 2015 2:59 pm
- My devices: iPad air 2
iPhone 6+
iPod Touch (latest)
Transparent buttons?
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.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Transparent buttons?
Check SET BUTTONS CUSTOM command.
-
- Posts: 10
- Joined: Mon Apr 20, 2015 2:59 pm
- My devices: iPad air 2
iPhone 6+
iPod Touch (latest)
Re: Transparent buttons?
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.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Transparent buttons?
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
-
- Posts: 10
- Joined: Mon Apr 20, 2015 2:59 pm
- My devices: iPad air 2
iPhone 6+
iPod Touch (latest)
Re: Transparent buttons?
'FILL ALPHA ZERO'. I missed that somehow. Thanks for your help!