Lines Matching defs:panel
31 /* A panels subsystem built on curses--Move a panel to the top */
43 top_panel(PANEL *panel)
48 if (!panel || panel == panel -> below)
51 /* If the panel is already on top, there is nothing to do */
53 if (_Top_panel == panel)
57 * All the panels that used to obscure this panel are
58 * now obscured by this panel.
61 if ((obs = panel -> obscured) != 0) {
71 prev_obs -> panel_p = panel;
73 while (obs != panel -> obscured);
74 panel -> obscured = 0;
77 /* Move the panel to the top */
79 if (panel == _Bottom_panel)
80 (_Bottom_panel = panel -> above) -> below = 0;
82 panel -> above -> below = panel -> below;
83 panel -> below -> above = panel -> above;
86 panel -> above = 0;
87 panel -> below = _Top_panel;
88 _Top_panel = _Top_panel -> above = panel;
89 (void) touchwin(panel -> win);