swoolcock / diddy

An Open Source Framework that includes a set of extra functions and APIs for the Monkey language.
MIT License
21 stars 4 forks source link

Most GUI classes extending Component don't properly support it's alpha flag #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the modified version of the latest GUI example attached. (Note that 
every object derived from a class that extends Component was given an alpha 
value of 0.5)
2. Notice that buttons, the slider, and static child components of objects 
(labels, window buttons and panes, etc.) aren't transparent.

What is the expected output? What do you see instead?
- I would expect the buttons, slider, and static child components of 
transparent objects (header buttons on windows, window content pane 
backgrounds, labels for check boxes and radio buttons, etc.) would all be 
transparent.

What version of the product are you using? On what operating system?
- Monkey v43 + Diddy r215, compiling on Windows 7 Ultimate x64.

Original issue reported on code.google.com by Cheese...@gmail.com on 13 Jul 2011 at 5:34

Attachments:

GoogleCodeExporter commented 9 years ago
Just to correct myself: I meant to say property, not flag. >.<

Original comment by Cheese...@gmail.com on 13 Jul 2011 at 5:38

GoogleCodeExporter commented 9 years ago
This is a bit of a bugger at the moment since monkey doesn't support offscreen 
buffers. For alpha to be implemented correctly, each component should be 
rendered on its parent offscreen, then copied back. I'll look at fixing the 
alpha calls, but the results may not be 100% accurate. 

Original comment by samah...@gmail.com on 13 Jul 2011 at 10:50

GoogleCodeExporter commented 9 years ago

Original comment by therevil...@gmail.com on 7 Dec 2011 at 11:09

GoogleCodeExporter commented 9 years ago
Set to WontFix until Monkey supports frame buffers.

Original comment by samah...@gmail.com on 7 Dec 2011 at 11:12