Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   GuiControl - Anchors (https://forums.graalonline.com/forums/showthread.php?t=87461)

Mark Sir Link 08-18-2009 08:30 AM

GuiControl - Anchors
 
It would be useful to add predefined anchors to GuiControls and allow the x and y positions to the offset from the anchor position.

Ideal anchor locations would be top left, top, top right, right, bottom right, bottom, bottom left, left, center.

I know such functionality could be added by using screenwidth and screenheight, but it would be nice to see it added to the game.

Additionally, if the anchor is say, bottom right, the bottom right corner of the GuiControl should touch the bottom right corner of the screen, rather than the top left touching, at x = 0, y = 0.

TESTRETIS 08-18-2009 05:50 PM

agreed


All times are GMT +2. The time now is 03:41 AM.

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