Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-13-2008, 06:56 PM
doomboy00 doomboy00 is offline
Registered User
doomboy00's Avatar
Join Date: Jan 2004
Posts: 45
doomboy00 is on a distinguished road
GuiDrawingPanel with mac client

It seems that the mac client can't view the image within a GuiDrawingPanel if the width or height has been set to above 1024.
This doesn't seem to be the case on the windows client with it being able to view way above 1024.

If anybody wants to test this, try the below code and it should work on both OS's, then change the width or height of the GuiDrawingPanel to 1025 and see that it doesn't view the image on the mac client.

NPC Code:

//#CLIENTSIDE
function onWeaponFired(){
new GuiScrollCtrl("Tiles_ScrollCtrl") {
profile = GuiBlueScrollProfile;
x = GUIContainer.width - 195;
y = GUIContainer.height - 195;
width = 195;
height = 165;
hScrollBar = vScrollBar = "dynamic";

new GuiDrawingPanel("Tiles_DrawingPanel") {
x = y = 0;
width = 1024;
height = 512;
drawimage(0,0,"TILES");
}
}
}



Can this be fixed or will I need to implement some code to handle this and stick to 1024, when a tileset should be 2048?
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 08:57 AM.


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