SpoutDev/Spout — Issue #1203: GUI - Addon - Containers & GenericPopup
Author: docteurzoidberg
Created: 2011-12-11 00:01:54+00:00
State: open

Hello guys,

This one is for Rycochet (sorry, i know you haven't so much time ^^)

I have a problem with containers and GenericPopup (addon side),

In this screenshot, you can see the containers and widgets displayed (almost) fine, they are attached trought the getMainScreen().attachWidget() method:

http://tof.canardpc.com/view/12a0a322-9336-45b6-b48b-3fda0585c62d.jpg
=> Result is almost ok

In this one, i'm trying to attach same stuff in my GenericPopup classe:

http://tof.canardpc.com/view/13c23575-7e72-478d-8dbb-9957be732c3e.jpg
=> result amlll widgets seem to be in 0,0 and the popup doesn't have dark background even with setTransparency(false) :s

Maybe i forgot something ? (again)

Source code: (see Method1 and Method2 comments)
https://github.com/DanstonCube/DTC-Poker/blob/master/addon/src/com/danstoncube/poker/addon/gui/PokerPlayerGui.java

Thanks by advance for your reading :)