Lines Matching defs:panel
31 /* A panels subsystem built on curses--create a new panel */
42 /* add_top - Put a new or hidden panel on top of the pile */
44 add_top(PANEL *panel)
47 panel-> below = 0;
48 _Bottom_panel = panel;
50 _Top_panel -> above = panel;
51 panel -> below = _Top_panel;
54 _Top_panel = panel;
55 panel -> above = 0;
56 panel -> obscured = 0;
59 /* Determine which panels the new panel obscures */
61 _intersect_panel(panel);
68 PANEL *panel;
71 /* create a panel */
74 !(panel = (PANEL *) malloc(sizeof (PANEL))))
77 panel -> win = window;
78 getbegyx(window, panel -> wstarty, panel -> wstartx);
80 panel -> wendy = panel->wstarty + lines - 1;
81 panel -> wendx = panel->wstartx + cols - 1;
82 panel -> user = 0;
84 /* put the new panel on top of the pile */
86 add_top(panel);
87 return (panel);
92 show_panel(PANEL *panel)
94 /* Allocate the obscured nodes for the new panel */
96 if (!panel || panel != panel -> below || !_alloc_overlap(_Panel_cnt))
99 /* put the new panel on top of the pile */
101 add_top(panel);
102 (void) touchwin(panel -> win);