Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2008, 03:55 PM
Programmer Programmer is offline
Coder
Programmer's Avatar
Join Date: Jan 2008
Location: -78.464422, 106.837328
Posts: 449
Programmer has a spectacular aura aboutProgrammer has a spectacular aura about
Send a message via AIM to Programmer Send a message via MSN to Programmer Send a message via Yahoo to Programmer
GuiDrawingPanel Dynamic Name Problem

GuiDrawingPanel seems to have a problem when trying to create a variable using this method:

PHP Code:
new GuiDrawingPanel("Foo_" temp.var)
{
// foo, bar and ... you guessed it ... baz.

When trying to access functions such as drawimage(), it fails. It works fine with a static name.

Reproduction Code:
PHP Code:
new GuiDrawingPanel("EDITOR_" temp.num)
{
  
0;
  
  
clearall();
  
drawimage(00gettileset());

Anyone else able to reproduce this?
__________________
- Iᴀɴ Zɪᴍᴍᴇʀᴍᴀɴ
Reply With Quote
  #2  
Old 08-12-2008, 05:34 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
I've used dynamic naming for drawing panels many times. How are you calling drawimage()?
__________________
Do it with a DON!
Reply With Quote
  #3  
Old 08-12-2008, 08:36 PM
Programmer Programmer is offline
Coder
Programmer's Avatar
Join Date: Jan 2008
Location: -78.464422, 106.837328
Posts: 449
Programmer has a spectacular aura aboutProgrammer has a spectacular aura about
Send a message via AIM to Programmer Send a message via MSN to Programmer Send a message via Yahoo to Programmer
Quote:
Originally Posted by zokemon View Post
I've used dynamic naming for drawing panels many times. How are you calling drawimage()?
The reproduction code in that post is what I'm using. It does not work.
__________________
- Iᴀɴ Zɪᴍᴍᴇʀᴍᴀɴ
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 06:45 AM.


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