home *** CD-ROM | disk | FTP | other *** search
- /* wmclosea.c (emx+gcc) -- Copyright (c) 1987-1993 by Eberhard Mattes */
-
- #include <stdlib.h>
- #include <sys/winmgr.h>
- #include "winmgr2.h"
-
- void wm_close_all (void)
- {
- int i;
- wm_handle p;
-
- for (i = _wm_count-1; i >= 0; --i)
- {
- p = _wm_idx[i];
- if (p->open)
- {
- _wm_unhide1 (p, NULL);
- p->open = FALSE;
- p->display = FALSE;
- p->visible = FALSE;
- }
- }
- _wm_hide1 ();
- _wm_cursor1 ();
- }
-