window.c
changeset 983 4765bf636f6b
parent 982 d3ce4d6a65f8
child 984 2ff5fb62658a
equal deleted inserted replaced
982:d3ce4d6a65f8 983:4765bf636f6b
  1518 		} else
  1518 		} else
  1519 			w++;
  1519 			w++;
  1520 	}
  1520 	}
  1521 }
  1521 }
  1522 
  1522 
       
  1523 /* Delete all always on-top windows to get an empty screen */
       
  1524 void HideVitalWindows(void)
       
  1525 {
       
  1526 	DeleteWindowById(WC_MAIN_TOOLBAR, 0);
       
  1527 	DeleteWindowById(WC_STATUS_BAR, 0);
       
  1528 }
       
  1529 
  1523 int PositionMainToolbar(Window *w)
  1530 int PositionMainToolbar(Window *w)
  1524 {
  1531 {
  1525 	DEBUG(misc, 1) ("Repositioning Main Toolbar...");
  1532 	DEBUG(misc, 1) ("Repositioning Main Toolbar...");
  1526 
  1533 
  1527 	if (w == NULL || w->window_class != WC_MAIN_TOOLBAR)
  1534 	if (w == NULL || w->window_class != WC_MAIN_TOOLBAR)