My code is mostly graphics, but there are a few places that require user input. Whenever user input is required, the screen must be redrawn to eliminate whatever text was entered.
What I would like to know is whether there is another way to revert to the previous graphic (prior to the user input), without having to redraw the screen. I know I can save the screen and redraw it (sounds like a lot of memory useage), or I can redraw it myself (but requires some large subroutines otherwise unnecessary).
For example, there are supposed to be up to 16 screens. If I were to use only screen 2 for my graphics, would screen 2 be overwritten with the input data as screen 1 is? Any other thoughts along other lines?
Thanks for any answers!
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, the easiest way is to use SGET and SPUT. However, if you used the GUI functions ALERT or FILESELECT or MENU for user input the graphics is automatically restored.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My code is mostly graphics, but there are a few places that require user input. Whenever user input is required, the screen must be redrawn to eliminate whatever text was entered.
What I would like to know is whether there is another way to revert to the previous graphic (prior to the user input), without having to redraw the screen. I know I can save the screen and redraw it (sounds like a lot of memory useage), or I can redraw it myself (but requires some large subroutines otherwise unnecessary).
For example, there are supposed to be up to 16 screens. If I were to use only screen 2 for my graphics, would screen 2 be overwritten with the input data as screen 1 is? Any other thoughts along other lines?
Thanks for any answers!
Kevin
Yes, the easiest way is to use SGET and SPUT. However, if you used the GUI functions ALERT or FILESELECT or MENU for user input the graphics is automatically restored.