Re: Re: Re: [AD] About create_bitmap |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> What can you do with a 0-sized bitmap?
You can have general code that works
even when a widget is resized down to
the limit.
> If you could dynamiclky resize a
> bitmap
> it'd be different, but you can't..
> you'd have to destroy it and
> recreate it.
Funny you should mention that, I also
have routines to increase the height
of a BITMAP... It reallocs the lines
ptr, then allocate more space for the
extra lines. Speaking of extra, this
uses the extra pointer to store a linked
list of memory blocks used.
Anyway, that's unrelated to the BITMAP
resizing thing, just made me remember
that bit...
Vincent