View Single Post
  #1  
Old 11-03-2005, 08:42 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Resolved: GUIContainer artifacts

Bug regarding (quote from Stefan's release announcement):
Quote:
Originally Posted by Stefan
- it is now possible to rearrange the graal control inside the window, so you can put controls next to it without hiding game content, check the attached level editor scropt (turnon() function, GraalControl is inside GUIContainer)
When you move a GUI window out of the 'GUIContainer', it draws some funky stuff behind it. (See attached pic #1)

Another bug. When you close something in the 'GUIContainer' by pushing the 'X' to close it (making visible=false), it doesn't really go away. (If you are using the level editor, you can push F4 to make it disappear completely, but this bug can be a prob for other GUI scripts looking to use something like the level editor's 'GUIContainer'). (See attached pic #2).

For the first, I suggest maybe not allowing controls to be moved out of the 'container'.

For the second, it would probably be good to have some kind of onClosed() event for GUI Windows that could be used to trigger the full closing of the 'GUI Container'.
Attached Thumbnails
Click image for larger version

Name:	graal_1130999867.png
Views:	127
Size:	80.4 KB
ID:	34144   Click image for larger version

Name:	graal_1131000048.png
Views:	123
Size:	64.8 KB
ID:	34145  
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote