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 04-29-2005, 12:45 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Graal3/4 Gui Image Download Problem

When you display an image in a GuiMLTextCtrl and the client does not have that image, Graal does not refresh/reflow that GuiMLTextCtrl after the image has been downloaded, so the image is not displayed until that Gui ctrl is pushed back onto the display or reflown manually.

(<img src=example.png> in GuiMLTextCtrl contents)

Of course you can work around this with a download system, but I feel it would be more appropriate to make GuiMLTextCtrls either wait until the image data is accessible, or reflow when the image is available.
Reply With Quote
  #2  
Old 04-29-2005, 06:01 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
NPC Code:

GuiMLTextCtrl (GuiControl):
reflow()

__________________
Liek omigosh.

Reply With Quote
  #3  
Old 04-29-2005, 10:38 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
...
Reply With Quote
  #4  
Old 05-01-2005, 03:42 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Yes reflow() is fixing it, but it must be done automatically by the engine when the image is downloaded (there is some onfiledownload event or so now, but this is easy to fix so you don't need to work on a workaround).
Reply With Quote
  #5  
Old 05-01-2005, 10:09 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by Stefan
Yes reflow() is fixing it, but it must be done automatically by the engine when the image is downloaded (there is some onfiledownload event or so now, but this is easy to fix so you don't need to work on a workaround).


Good to hear Stefan.

I'll keep my eyes out for the fix, .
Reply With Quote
  #6  
Old 05-02-2005, 02:47 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok fixed in the new version, will upload it end of the day.
Reply With Quote
  #7  
Old 05-04-2005, 05:09 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Test it with the latest version please?
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 01:43 AM.


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