Lines Matching defs:panel
31 /* A panels subsystem built on curses--Move a panel to the bottom */
43 bottom_panel(PANEL *panel)
48 if (!panel || panel == panel -> below)
51 /* If the panel is already on bottom, there is nothing to do */
53 if (_Bottom_panel == panel)
57 * All the panels that this panel used to obscure now
58 * obscure this panel.
61 for (pnl = panel->below; pnl; pnl = pnl->below) {
62 if (obs = _unlink_obs(pnl, panel)) {
64 if (panel -> obscured) {
65 obs -> next = panel -> obscured -> next;
66 panel->obscured = panel->obscured->next = obs;
69 obs -> next = panel -> obscured = obs;
73 /* Move the panel to the bottom */
75 if (panel == _Top_panel)
76 (_Top_panel = panel -> below) -> above = 0;
78 panel -> above -> below = panel -> below;
79 panel -> below -> above = panel -> above;
82 panel -> below = 0;
83 panel -> above = _Bottom_panel;
84 _Bottom_panel = _Bottom_panel -> below = panel;
85 (void) touchwin(panel -> win);