Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Resolved: GUIContainer artifacts (https://forums.graalonline.com/forums/showthread.php?t=62065)

napo_p2p 11-03-2005 08:42 AM

Resolved: GUIContainer artifacts
 
2 Attachment(s)
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'.

Rick 11-03-2005 10:55 AM

That bug is because the game is not clearing the area where the game would normally be drawn.

Temporary solution: Make the window there unmovable, as you said. You can already do that via script.

napo_p2p 11-03-2005 11:17 AM

Quote:

Originally Posted by Rick
Temporary solution: Make the window there unmovable, as you said. You can already do that via script.

Yeah, that's what I've done ;).

Just pointing out the drawing error.

Admins 11-03-2005 01:39 PM

It's not a bug, if you resize the graal control you are responsible to put something in the now free place.


All times are GMT +2. The time now is 11:57 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.