Hi Bruce.
--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
> The bmp file and its 
> name are kept and if you re-use the name, PowerPro uses a memory 
> copy of the bitmap.

Thought so.

> The reasoning was 
> - make it faster to show bitmaps for menus
> - avoid having multiple copies of bitmap when used in multiple 
> places (eg for button background on skin)

Reasoning was right, I guess.

> The right way to fix this would be to create a file.watchfolder 
for 
> each bmp file in the cache and update the file cache whenever it 
> changes.  Then I have to go through each bar and update any bitmap 
> references to the old cache.

How about a parameter for loading that avoids caching for certain 
files?

> It might be simpler just to get 
> rid of the caching, now that people have a lot more memory on 
their 
> machines.

Don't know. Most of the time caching might be good. E.g. I have lots 
of bars, that share button-images. Constantly changing images as in 
this case are rather unlikely, aren't they?

Is there any memory problem to expect, when I keep loading images 
with unique names for a bar background, as described in my previous 
message?

Mockey







Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to