Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - wpush, wpop http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Wpush, Wpop

Save/Restore window to buffer

Header File.....TCXLwin.h

Prototype.......VOID CTYP Wpop(VcelP wb, IntT sr, IntT sc, IntT er,
                     IntT ec);
                VcelP Wpush(IntT sr, IntT sc, IntT er, IntT ec);

Arguments.......wb -  Pointer to Window Buffer
                sr -  Start Row
                sc -  Start Column
                er -  End Row
                ec -  End Column

Returns.........Address of newly-created window buffer, or NULL if not
                enough memory.

Notes...........Saves a region of the screen and allocates memory to hold
                the buffer, or restores a previously saved region of the
                screen and frees the memory allocated by Wpush().

                Wpush() is identical to Wsave(); Wpop() is identical to
                Wrestore() except it will restore the window to a new
                screen location.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson