Lines Matching refs:panel
543 /// __nk_init_custom__ | Initializes context from two buffers. One for draw commands the other for window/panel/table allocations
1400 /// nk_window_get_panel | Returns the underlying panel which contains all processing state of the current window
1613 /// Returns the underlying panel which contains all processing state of the current window.
1618 /// Do not keep the returned panel pointer around, it is only valid until `nk_end`
4368 call. It allocates space on the panel reserved for this widget to be used,
5892 /* panel */
15673 /* setup panel */
15705 /* panel header */
15719 /* shrink panel by header */
15865 /* update panel height to fit dynamic growth */
15929 /* and panel is being hovered and inside clip rect*/
16373 /* try to find a panel with higher priority in the same position */
16807 struct nk_panel *panel;
16821 panel = win->layout;
16822 NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP) && "popups are not allowed to have popups");
16823 (void)panel;
16904 struct nk_panel *panel;
16915 panel = win->layout;
16916 NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP));
16917 (void)panel;
17244 struct nk_panel *panel;
17250 panel = popup->layout;
17252 NK_ASSERT(panel->type & NK_PANEL_SET_POPUP);
17253 if (panel->flags & NK_WINDOW_DYNAMIC) {
17260 if (panel->at_y < (panel->bounds.y + panel->bounds.h)) {
17261 struct nk_vec2 padding = nk_panel_get_padding(&ctx->style, panel->type);
17262 body = panel->bounds;
17263 body.y = (panel->at_y + panel->footer_height + panel->border + padding.y + panel->row.height);
17264 body.h = (panel->bounds.y + panel->bounds.h) - body.y;
17631 /* calculate the usable panel space */
18206 /* panel width depended free widget placing */
18216 /* scaling arrays of panel width ratios for every widget */
18258 /* non-scaling array of panel pixel width for every widget */
18696 struct nk_window panel;
18709 /* initialize a fake window to create the panel from */
18710 nk_zero(&panel, sizeof(panel));
18711 panel.bounds = bounds;
18712 panel.flags = flags;
18713 panel.scrollbar.x = *x_offset;
18714 panel.scrollbar.y = *y_offset;
18715 panel.buffer = win->buffer;
18716 panel.layout = (struct nk_panel*)nk_create_panel(ctx);
18717 ctx->current = &panel;
18720 win->buffer = panel.buffer;
18721 win->buffer.clip = panel.layout->clip;
18722 panel.layout->offset_x = x_offset;
18723 panel.layout->offset_y = y_offset;
18724 panel.layout->parent = win->layout;
18725 win->layout = panel.layout;
18728 if ((panel.layout->flags & NK_WINDOW_CLOSED) ||
18729 (panel.layout->flags & NK_WINDOW_MINIMIZED))
18731 nk_flags f = panel.layout->flags;
25483 /// - 2019/06/12 (4.00.3) - Fix panel background drawing bug.
25493 /// - 2018/01/28 (3.00.3) - Fixed panel window border drawing bug.
25570 /// - 2016/11/18 (1.28.2) - Fixed memory leak caused by popup panel allocation.
25589 /// still need the panel just call `nk_window_get_panel`.
25611 /// - 2016/09/15 (1.21.2) - Fixed panel `close` behavior for deeper panel levels.
25621 /// - 2016/09/13 (1.20.1) - Internal change to divide window/panel flags into panel flags and types.
25656 /// - 2016/08/30 (1.13.1) - Fixed popup panel padding handling which was previously just
25665 /// handling panel padding and panel border.
25713 /// - 2016/08/08 (1.05.3) - Fixed wrong panel padding selection in `nk_layout_widget_space`.
25715 /// wrong item spacing and panel width.
25744 /// - 2016/07/25 (1.01.1) - Fixed small panel and panel border drawing bugs.