Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-05-2007, 07:48 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
GUI controls have to use the original graphic layout?

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.
Attached Thumbnails
Click image for larger version

Name:	windowtest3.png
Views:	168
Size:	7.4 KB
ID:	41929  
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #2  
Old 07-05-2007, 10:29 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
GuiShowImgCtrl() is your friend.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #3  
Old 07-08-2007, 01:23 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
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...
__________________
Do it with a DON!
Reply With Quote
  #4  
Old 07-09-2007, 06:55 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
Thanks.. Didn't know it worked like that! Managed to get my window in game and it looks great.
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #5  
Old 07-10-2007, 12:16 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by JkWhoSaysNi View Post
Thanks.. Didn't know it worked like that! Managed to get my window in game and it looks great.
Glad I could help
__________________
Do it with a DON!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:03 PM.


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