|
|
Atari coding BBS
Re: force complete AES redraw |
Posted by: Zorro
|
Dec,13.2005-19:02
|
It seems that you want to draw directly in the screen and not in a window, right?
So, call the function prepare_screen(), draw what you want in the screen and when you want to go back to a clean desktop, call restore_screen().
void clear_screen( void)
{
int16 xy[8];
vswr_mode( app.handle, MD_REPLACE);
form_dial( FMD_START, 0, 0, 1 + app.work_out[0], 1 + app.work_out[1], 0, 0, 1 + app.work_out[0], 1 + app.work_out[1]);
vsf_perimeter( app.handle, 0);
vsf_interior( app.handle, FIS_SOLID);
xy[0] = xy[1] = 0;
xy[2] = app.work_out[0];
xy[3] = app.work_out[1];
v_hide_c( app.handle);
vsf_color( app.handle, BLACK);
vr_recfl( app.handle, xy);
}
void restore_screen( void)
{
form_dial( FMD_FINISH, 0, 0, 1 + app.work_out[0], 1 + app.work_out[1], 0, 0, 1 + app.work_out[0], 1 + app.work_out[1]);
menu_bar( app.menu, 1) ;
v_show_c( app.handle, 0);
}
If you want that the menu remains visible, adjust the wanted size in the form_dial() function.
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
force complete AES redraw
|
gwEm
|
Dec,09.2005-17:46
|
Re: force complete AES redraw
|
Patrice Mandin
|
Dec,09.2005-20:33
|
Re: force complete AES redraw
|
gwem
|
Dec,09.2005-20:42
|
Re: force complete AES redraw
|
Patrice Mandin
|
Dec,10.2005-12:18
|
Re: force complete AES redraw
|
gwEm
|
Dec,13.2005-16:20
|
Re: force complete AES redraw
|
earx
|
Dec,13.2005-16:41
|
Re: force complete AES redraw
|
gwEm
|
Dec,13.2005-23:23
|
Re: force complete AES redraw
|
earx
|
Dec,14.2005-12:05
|
Re: force complete AES redraw
|
GT Turbo
|
Dec,15.2005-12:31
|
Re: force complete AES redraw
|
gwEm
|
Dec,15.2005-14:50
|
Re: force complete AES redraw
|
GT Turbo
|
Dec,15.2005-18:59
|
Re: force complete AES redraw
|
gwEm
|
Dec,15.2005-19:32
|
Re: force complete AES redraw
|
gwem
|
Dec,15.2005-19:32
|
Re: force complete AES redraw
|
GT Turbo
|
Dec,16.2005-13:39
|
Re: force complete AES redraw
|
Zorro
|
Dec,13.2005-19:02
|
Re: force complete AES redraw
|
Anonyme
|
Dec,13.2005-19:04
|
Re: force complete AES redraw
|
gwEm
|
Dec,13.2005-23:36
|
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|
|
|