Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-26-2007, 07:56 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Rather weird GUI problem

I've having a really strange problem with setting a custom gui bitmap.

I'm using a 24-bit PNG with transparency.

This is the code I'm using:

PHP Code:
//#CLIENTSIDE

function onCreated() {
  
Message_Window.destroy();
  
  new 
GuiControlProfile("MessageWindow") {
    
bitmap "guiquian_messagewindow.png";
    
transparency 0.5;
  }

  new 
GuiWindowCtrl("Message_Window") {
    
profile "MessageWindow";
    
= (screenwidth screenwidth) + 180;
    
= (screenheight screenheight) + 20;
    
width screenwidth 200;
    
height 100;
    
text "message bar";
    
//No Control
    
canresize 0;
    
canclose 0;
    
canmove 0;
    
canmaximize 0;
    
canminimize 1;
  }
 

I've attached the image I've used and a screenshot of what's going on.
Attached Thumbnails
Click image for larger version

Name:	strange_problem.png
Views:	201
Size:	60.5 KB
ID:	43603  
Attached Images
 
Reply With Quote
 


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:54 PM.


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