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

GUI component actions don't work when compiling for XNA #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile the GUI example for XNA.
2. Notice that actions don't register when clicking buttons.

What is the expected output? What do you see instead?
- Self explanatory.

What version of the product are you using? On what operating system?
- Monkey v42(b) + Diddy r190, compiling for Windows 7 Ultimate x64.

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

GoogleCodeExporter commented 9 years ago
Wait for the big GUI update.  There'll be a new example.  Accepted until proven 
working.

Original comment by samah...@gmail.com on 5 Jul 2011 at 6:33

GoogleCodeExporter commented 9 years ago
Just tested using v42(b) and v43, radio buttons and sliders work at least :P

Original comment by TheRevil...@gmail.com on 5 Jul 2011 at 8:59

GoogleCodeExporter commented 9 years ago
Confirmed this is broken in Android too with the latest development version 
(not yet checked in).  Apparently Component.FindActionTarget() can't find the 
desktop.  Works fine in HTML5...

Current workaround is to ignore the desktop check and go straight for the GUI 
using FindGUI(), but this is really a Monkey problem.  Fix will be in the next 
checkin.

Original comment by samah...@gmail.com on 8 Jul 2011 at 7:12

GoogleCodeExporter commented 9 years ago
Fixed for Android, just need to test XNA and I'll close this issue.

Original comment by samah...@gmail.com on 9 Jul 2011 at 1:10

GoogleCodeExporter commented 9 years ago
Tested on XNA - All works fine. Good job! Fixed!

Original comment by therevil...@gmail.com on 9 Jul 2011 at 3:40