[comp.sys.amiga.programmer] Changing the BitMap of a screen "on the fly."

aaron@stat.tamu.edu (Aaron Hightower) (06/03/91)

I have a program that has the need to have a dynamically sized Screen.  What
I would like to do is to have a screen that I can simply change the dimensions
of without closing it.  IE I would like to open it with CUSTOMBITMAP, and
then at any given moment, I would like to make a new BITMAP for the screen
of possibly another size (they may be superbitmaps).

Questions:

1) Can I change the size of the BitMap without closing the screen?  This seems
possible..doesn't it?

2) If I change the BitMap, what functions will I need to call to update the
display?  (IE what are the best, not just what will work.)

3) Do I need to modify any other fields of the screen data structure, and if
so is this allowed/okay?

Thanks,
Aaron Hightower :: <aaron@stat.tamu.edu>
//
// Check out "yatc.lzh" on ab20.larc.nasa.gov - /amiga/games or /incoming/amiga
// It's a self-playing 3D-look tetris game that plays itself with lotsa extras
// like giving you "hints" of where to put a piece!  :-)  Have fun!
---
Aaron Hightower, <aaron@stat.tamu.edu>
//
// Check out "yatc.lzh" on ab20.larc.nasa.gov - /amiga/games or /incoming/amiga