Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GUI controls have to use the original graphic layout? (https://forums.graalonline.com/forums/showthread.php?t=75118)

JkWhoSaysNi 07-05-2007 07:48 PM

GUI controls have to use the original graphic layout?
 
1 Attachment(s)
I want to make a GUI profile, but i want to be able to define what part of the image to use for each part.

I don't want to use the default image as a template because I don't want things the sizes they are in that. I want bigger graphics.

Is there any way to define which part of the image is used for the border and the title bar, etc of a window.

I've attached an example of how i want the window to look. The bottom corners of the window cannot be done using the template graphic.

coreys 07-05-2007 10:29 PM

GuiShowImgCtrl() is your friend.

zokemon 07-08-2007 01:23 PM

No no...just use a GuiWindowCtrl like you are doing. If you edit the original image you will notice a bunch of red lines. Just toy around with the placement of those lines (a red line must remain at the top). Sorry, spacebar just broke or I would explain more...

JkWhoSaysNi 07-09-2007 06:55 PM

Thanks.. Didn't know it worked like that! Managed to get my window in game and it looks great.

zokemon 07-10-2007 12:16 AM

Quote:

Originally Posted by JkWhoSaysNi (Post 1327273)
Thanks.. Didn't know it worked like that! Managed to get my window in game and it looks great.

Glad I could help ;)


All times are GMT +2. The time now is 07:13 AM.

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