Lines Matching refs:current

676 /// The input API is responsible for holding the current input state composed of
698 /// After `nk_input_begin` all current input state needs to be provided. This includes
792 /// Mirrors current mouse position to nuklear
801 /// __x__ | Must hold an integer describing the current mouse cursor x-position
802 /// __y__ | Must hold an integer describing the current mouse cursor y-position
1400 /// nk_window_get_panel | Returns the underlying panel which contains all processing state of the current window
1406 /// nk_window_get_scroll | Gets the scroll offset of the current window
1420 /// nk_window_set_scroll | Sets the scroll offset of the current window
1593 /// Returns the current window width
1609 /// Returns the current window height
1613 /// Returns the underlying panel which contains all processing state of the current window.
1646 /// of the visible space inside the current window
1665 /// of the visible space inside the current window
1684 /// of the visible space inside the current window
1702 /// Returns `nk_vec2` struct with size the visible space inside the current window
1725 /// Gets the scroll offset for the current window
1752 /// Returns `false(0)` if current window is not active or `true(1)` if it is
1756 /// Return if the current window is being hovered
1767 /// Returns `true(1)` if current window is hovered or `false(0)` otherwise
1781 /// Returns `true(1)` if current window is minimized and `false(0)` if window not
1796 /// Returns `true(1)` if current window was closed or `false(0)` window not found or not closed
1810 /// Returns `true(1)` if current window is hidden or `false(0)` window not found or visible
1824 /// Returns `true(1)` if current window is active or `false(0)` window not found or not active
1907 /// Sets the scroll offset for the current window
2235 /// nk_layout_widget_bounds | Calculates current width a static layout row can fit inside a window
2316 /// Sets current row layout to share horizontal space
2331 /// Sets current row layout to fill @cols number of widgets
2774 /// user to selectively minimize the current set of visible UI to comprehend.
3050 NK_WIDGET_STATE_ENTERED = NK_FLAG(3), /* widget has been hovered on the current frame */
4127 /* memory and size of the current memory block */
4137 /* current size of the buffer */
4722 /* number of elements in the current draw batch */
4724 /* current screen clipping rectangle */
4726 /* current texture to set */
5605 struct nk_window *current;
7001 /* current length callback */
10832 /* move the current node to the free list */
11941 z->fx += z->fdx; /* advance to position for current scanline */
12479 /* save current values */
12797 /* count glyphs + ranges in current font */
14826 if (ctx->current)
15040 if (ctx->current)
15041 ctx->current->buffer.userdata = handle;
15062 ctx->current = 0;
15620 NK_ASSERT(ctx->current);
15621 NK_ASSERT(ctx->current->layout);
15622 if (!ctx || !ctx->current || !ctx->current->layout) return 0;
15623 nk_zero(ctx->current->layout, sizeof(*ctx->current->layout));
15624 if ((ctx->current->flags & NK_WINDOW_HIDDEN) || (ctx->current->flags & NK_WINDOW_CLOSED)) {
15625 nk_zero(ctx->current->layout, sizeof(struct nk_panel));
15626 ctx->current->layout->type = panel_type;
15632 win = ctx->current;
15842 NK_ASSERT(ctx->current);
15843 NK_ASSERT(ctx->current->layout);
15844 if (!ctx || !ctx->current || !ctx->current->layout)
15847 window = ctx->current;
15859 /* update the current cursor Y-position to point over the last added widget */
16280 NK_ASSERT(!ctx->current && "if this triggers you missed a `nk_end` call");
16281 if (!ctx || ctx->current || !title || !name)
16331 ctx->current = win;
16393 /* current window is active in that position so transfer to top
16401 /* current window is active in that position so transfer to top
16414 ctx->current = win;
16425 NK_ASSERT(ctx->current && "if this triggers you forgot to call `nk_begin`");
16426 if (!ctx || !ctx->current)
16429 layout = ctx->current->layout;
16430 if (!layout || (layout->type == NK_PANEL_WINDOW && (ctx->current->flags & NK_WINDOW_HIDDEN))) {
16431 ctx->current = 0;
16435 nk_free_panel(ctx, ctx->current->layout);
16436 ctx->current = 0;
16442 NK_ASSERT(ctx->current);
16443 if (!ctx || !ctx->current) return nk_rect(0,0,0,0);
16444 return ctx->current->bounds;
16450 NK_ASSERT(ctx->current);
16451 if (!ctx || !ctx->current) return nk_vec2(0,0);
16452 return nk_vec2(ctx->current->bounds.x, ctx->current->bounds.y);
16458 NK_ASSERT(ctx->current);
16459 if (!ctx || !ctx->current) return nk_vec2(0,0);
16460 return nk_vec2(ctx->current->bounds.w, ctx->current->bounds.h);
16466 NK_ASSERT(ctx->current);
16467 if (!ctx || !ctx->current) return 0;
16468 return ctx->current->bounds.w;
16474 NK_ASSERT(ctx->current);
16475 if (!ctx || !ctx->current) return 0;
16476 return ctx->current->bounds.h;
16482 NK_ASSERT(ctx->current);
16483 if (!ctx || !ctx->current) return nk_rect(0,0,0,0);
16484 return ctx->current->layout->clip;
16490 NK_ASSERT(ctx->current);
16491 NK_ASSERT(ctx->current->layout);
16492 if (!ctx || !ctx->current) return nk_vec2(0,0);
16493 return nk_vec2(ctx->current->layout->clip.x, ctx->current->layout->clip.y);
16499 NK_ASSERT(ctx->current);
16500 NK_ASSERT(ctx->current->layout);
16501 if (!ctx || !ctx->current) return nk_vec2(0,0);
16502 return nk_vec2(ctx->current->layout->clip.x + ctx->current->layout->clip.w,
16503 ctx->current->layout->clip.y + ctx->current->layout->clip.h);
16509 NK_ASSERT(ctx->current);
16510 NK_ASSERT(ctx->current->layout);
16511 if (!ctx || !ctx->current) return nk_vec2(0,0);
16512 return nk_vec2(ctx->current->layout->clip.w, ctx->current->layout->clip.h);
16518 NK_ASSERT(ctx->current);
16519 NK_ASSERT(ctx->current->layout);
16520 if (!ctx || !ctx->current) return 0;
16521 return &ctx->current->buffer;
16527 NK_ASSERT(ctx->current);
16528 if (!ctx || !ctx->current) return 0;
16529 return ctx->current->layout;
16536 NK_ASSERT(ctx->current);
16537 if (!ctx || !ctx->current)
16539 win = ctx->current;
16549 NK_ASSERT(ctx->current);
16550 NK_ASSERT(ctx->current->layout);
16551 if (!ctx || !ctx->current) return 0;
16552 return ctx->current == ctx->active;
16558 NK_ASSERT(ctx->current);
16559 if (!ctx || !ctx->current) return 0;
16560 if(ctx->current->flags & NK_WINDOW_HIDDEN)
16562 return nk_input_is_mouse_hovering_rect(&ctx->input, ctx->current->bounds);
16675 NK_ASSERT(ctx->current != win && "You cannot close a currently active window");
16676 if (ctx->current == win) return;
16689 NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window");
16715 NK_ASSERT(ctx->current);
16716 if (!ctx || !ctx->current)
16718 win = ctx->current;
16815 NK_ASSERT(ctx->current);
16816 NK_ASSERT(ctx->current->layout);
16817 if (!ctx || !ctx->current || !ctx->current->layout)
16820 win = ctx->current;
16847 ctx->current = popup;
16891 ctx->current = win;
16908 NK_ASSERT(ctx->current);
16909 NK_ASSERT(ctx->current->layout);
16910 if (!ctx || !ctx->current || !ctx->current->layout)
16914 win = ctx->current;
16963 ctx->current = popup;
16985 if (!ctx || !ctx->current) return;
16987 popup = ctx->current;
16999 NK_ASSERT(ctx->current);
17000 NK_ASSERT(ctx->current->layout);
17001 if (!ctx || !ctx->current || !ctx->current->layout)
17004 popup = ctx->current;
17021 ctx->current = win;
17030 NK_ASSERT(ctx->current);
17031 NK_ASSERT(ctx->current->layout);
17032 if (!ctx || !ctx->current || !ctx->current->layout)
17035 popup = ctx->current;
17047 NK_ASSERT(ctx->current);
17048 NK_ASSERT(ctx->current->layout);
17049 if (!ctx || !ctx->current || !ctx->current->layout)
17052 popup = ctx->current;
17079 NK_ASSERT(ctx->current);
17080 NK_ASSERT(ctx->current->layout);
17081 if (!ctx || !ctx->current || !ctx->current->layout)
17084 win = ctx->current;
17086 if (ctx->current != ctx->active)
17136 NK_ASSERT(ctx->current);
17137 NK_ASSERT(ctx->current->layout);
17138 if (!ctx || !ctx->current || !ctx->current->layout)
17141 win = ctx->current;
17171 NK_ASSERT(ctx->current);
17172 NK_ASSERT(ctx->current->layout);
17173 if (!ctx || !ctx->current || !ctx->current->layout)
17176 win = ctx->current;
17207 NK_ASSERT(ctx->current);
17208 NK_ASSERT(ctx->current->layout);
17209 if (!ctx || !ctx->current || !ctx->current->layout)
17212 win = ctx->current;
17235 NK_ASSERT(ctx->current);
17236 NK_ASSERT(ctx->current->layout);
17237 if (!ctx || !ctx->current || !ctx->current->layout) return;
17246 NK_ASSERT(ctx->current);
17247 if (!ctx || !ctx->current) return;
17249 popup = ctx->current;
17292 NK_ASSERT(ctx->current);
17293 NK_ASSERT(ctx->current->layout);
17294 if (!ctx || !ctx->current || !ctx->current->layout)
17297 layout = ctx->current->layout;
17332 NK_ASSERT(ctx->current);
17333 NK_ASSERT(ctx->current->layout);
17334 if (!ctx || !ctx->current || !ctx->current->layout)
17337 win = ctx->current;
17366 NK_ASSERT(ctx->current);
17367 NK_ASSERT(ctx->current->layout);
17368 if (!ctx || !ctx->current || !ctx->current->layout)
17399 NK_ASSERT(ctx->current);
17400 NK_ASSERT(ctx->current->layout);
17401 if (!ctx || !ctx->current || !ctx->current->layout)
17404 win = ctx->current;
17429 NK_ASSERT(ctx->current);
17430 NK_ASSERT(ctx->current->layout);
17431 if (!ctx || !ctx->current || !ctx->current->layout)
17434 win = ctx->current;
17454 NK_ASSERT(ctx->current);
17455 NK_ASSERT(ctx->current->layout);
17456 if (!ctx || !ctx->current || !ctx->current->layout)
17459 win = ctx->current;
17479 NK_ASSERT(ctx->current);
17480 NK_ASSERT(ctx->current->layout);
17481 if (!ctx || !ctx->current || !ctx->current->layout)
17484 win = ctx->current;
17511 NK_ASSERT(ctx->current);
17512 NK_ASSERT(ctx->current->layout);
17513 if (!ctx || !ctx->current || !ctx->current->layout)
17516 win = ctx->current;
17590 NK_ASSERT(ctx->current);
17591 NK_ASSERT(ctx->current->layout);
17592 if (!ctx || !ctx->current || !ctx->current->layout)
17595 win = ctx->current;
17606 NK_ASSERT(ctx->current);
17607 NK_ASSERT(ctx->current->layout);
17608 if (!ctx || !ctx->current || !ctx->current->layout)
17611 win = ctx->current;
17649 NK_ASSERT(ctx->current);
17650 NK_ASSERT(ctx->current->layout);
17651 if (!ctx || !ctx->current || !ctx->current->layout)
17670 /* update the current row and set the current row layout */
17693 /* update the current row and set the current row layout */
17696 NK_ASSERT(ctx->current);
17697 NK_ASSERT(ctx->current->layout);
17698 if (!ctx || !ctx->current || !ctx->current->layout)
17701 win = ctx->current;
17718 if (!ctx || !ctx->current || !ctx->current->layout) return 0;
17719 win = ctx->current;
17740 NK_ASSERT(ctx->current);
17741 NK_ASSERT(ctx->current->layout);
17742 if (!ctx || !ctx->current || !ctx->current->layout)
17745 win = ctx->current;
17765 NK_ASSERT(ctx->current);
17766 NK_ASSERT(ctx->current->layout);
17767 if (!ctx || !ctx->current || !ctx->current->layout)
17770 win = ctx->current;
17791 NK_ASSERT(ctx->current);
17792 NK_ASSERT(ctx->current->layout);
17793 if (!ctx || !ctx->current || !ctx->current->layout)
17796 win = ctx->current;
17814 NK_ASSERT(ctx->current);
17815 NK_ASSERT(ctx->current->layout);
17816 if (!ctx || !ctx->current || !ctx->current->layout)
17819 win = ctx->current;
17850 NK_ASSERT(ctx->current);
17851 NK_ASSERT(ctx->current->layout);
17852 if (!ctx || !ctx->current || !ctx->current->layout)
17855 win = ctx->current;
17877 NK_ASSERT(ctx->current);
17878 NK_ASSERT(ctx->current->layout);
17879 if (!ctx || !ctx->current || !ctx->current->layout)
17882 win = ctx->current;
17897 NK_ASSERT(ctx->current);
17898 NK_ASSERT(ctx->current->layout);
17899 if (!ctx || !ctx->current || !ctx->current->layout)
17902 win = ctx->current;
17917 NK_ASSERT(ctx->current);
17918 NK_ASSERT(ctx->current->layout);
17919 if (!ctx || !ctx->current || !ctx->current->layout)
17922 win = ctx->current;
17944 NK_ASSERT(ctx->current);
17945 NK_ASSERT(ctx->current->layout);
17946 if (!ctx || !ctx->current || !ctx->current->layout)
17949 win = ctx->current;
17989 NK_ASSERT(ctx->current);
17990 NK_ASSERT(ctx->current->layout);
17991 if (!ctx || !ctx->current || !ctx->current->layout)
17994 win = ctx->current;
18013 NK_ASSERT(ctx->current);
18014 NK_ASSERT(ctx->current->layout);
18015 if (!ctx || !ctx->current || !ctx->current->layout)
18018 win = ctx->current;
18032 NK_ASSERT(ctx->current);
18033 NK_ASSERT(ctx->current->layout);
18034 if (!ctx || !ctx->current || !ctx->current->layout)
18037 win = ctx->current;
18049 NK_ASSERT(ctx->current);
18050 NK_ASSERT(ctx->current->layout);
18051 win = ctx->current;
18068 NK_ASSERT(ctx->current);
18069 NK_ASSERT(ctx->current->layout);
18070 win = ctx->current;
18086 NK_ASSERT(ctx->current);
18087 NK_ASSERT(ctx->current->layout);
18088 win = ctx->current;
18102 NK_ASSERT(ctx->current);
18103 NK_ASSERT(ctx->current->layout);
18104 win = ctx->current;
18118 NK_ASSERT(ctx->current);
18119 NK_ASSERT(ctx->current->layout);
18120 win = ctx->current;
18134 NK_ASSERT(ctx->current);
18135 NK_ASSERT(ctx->current->layout);
18136 win = ctx->current;
18167 NK_ASSERT(ctx->current);
18168 NK_ASSERT(ctx->current->layout);
18169 if (!ctx || !ctx->current || !ctx->current->layout)
18172 win = ctx->current;
18183 /* calculate the width of one item inside the current layout space */
18295 NK_ASSERT(ctx->current);
18296 NK_ASSERT(ctx->current->layout);
18297 if (!ctx || !ctx->current || !ctx->current->layout)
18301 win = ctx->current;
18319 NK_ASSERT(ctx->current);
18320 NK_ASSERT(ctx->current->layout);
18321 if (!ctx || !ctx->current || !ctx->current->layout)
18324 win = ctx->current;
18371 NK_ASSERT(ctx->current);
18372 NK_ASSERT(ctx->current->layout);
18373 if (!ctx || !ctx->current || !ctx->current->layout)
18377 win = ctx->current;
18462 struct nk_window *win = ctx->current;
18498 NK_ASSERT(ctx->current);
18499 NK_ASSERT(ctx->current->layout);
18500 if (!ctx || !ctx->current || !ctx->current->layout)
18503 win = ctx->current;
18556 NK_ASSERT(ctx->current);
18557 NK_ASSERT(ctx->current->layout);
18558 if (!ctx || !ctx->current || !ctx->current->layout)
18562 win = ctx->current;
18645 struct nk_window *win = ctx->current;
18699 win = ctx->current;
18717 ctx->current = &panel;
18727 ctx->current = win;
18752 NK_ASSERT(ctx->current);
18753 if (!ctx || !ctx->current)
18757 NK_ASSERT(ctx->current);
18758 win = ctx->current;
18787 ctx->current = &pan;
18797 ctx->current = win;
18820 NK_ASSERT(ctx->current);
18821 NK_ASSERT(ctx->current->layout);
18822 if (!ctx || !ctx->current || !ctx->current->layout || !id)
18826 win = ctx->current;
18862 NK_ASSERT(ctx->current);
18863 NK_ASSERT(ctx->current->layout);
18864 if (!ctx || !ctx->current || !ctx->current->layout || !id)
18868 win = ctx->current;
18897 NK_ASSERT(ctx->current);
18898 NK_ASSERT(ctx->current->layout);
18899 if (!ctx || !ctx->current || !ctx->current->layout || !id)
18903 win = ctx->current;
18948 win = ctx->current;
18971 win = ctx->current;
18995 win = ctx->current;
19016 NK_ASSERT(ctx->current);
19017 if (!ctx || !ctx->current)
19027 NK_ASSERT(ctx->current);
19028 if (!ctx || !ctx->current)
19039 NK_ASSERT(ctx->current);
19040 if (!ctx || !ctx->current)
19051 NK_ASSERT(ctx->current);
19052 if (!ctx || !ctx->current)
19063 NK_ASSERT(ctx->current);
19064 if (!ctx || !ctx->current)
19076 NK_ASSERT(ctx->current);
19077 if (!ctx || !ctx->current || ctx->active != ctx->current)
19080 c = ctx->current->layout->clip;
19098 NK_ASSERT(ctx->current);
19099 if (!ctx || !ctx->current || ctx->active != ctx->current)
19102 c = ctx->current->layout->clip;
19120 NK_ASSERT(ctx->current);
19121 if (!ctx || !ctx->current || ctx->active != ctx->current)
19124 c = ctx->current->layout->clip;
19145 NK_ASSERT(ctx->current);
19146 NK_ASSERT(ctx->current->layout);
19147 if (!ctx || !ctx->current || !ctx->current->layout)
19152 win = ctx->current;
19196 NK_ASSERT(ctx->current);
19197 NK_ASSERT(ctx->current->layout);
19198 if (!ctx || !ctx->current || !ctx->current->layout)
19201 win = ctx->current;
19226 NK_ASSERT(ctx->current);
19227 NK_ASSERT(ctx->current->layout);
19228 if (!ctx || !ctx->current || !ctx->current->layout)
19232 win = ctx->current;
19354 NK_ASSERT(ctx->current);
19355 NK_ASSERT(ctx->current->layout);
19356 if (!ctx || !ctx->current || !ctx->current->layout) return;
19358 win = ctx->current;
19381 NK_ASSERT(ctx->current);
19382 NK_ASSERT(ctx->current->layout);
19383 if (!ctx || !ctx->current || !ctx->current->layout) return;
19385 win = ctx->current;
19659 NK_ASSERT(ctx->current);
19660 NK_ASSERT(ctx->current->layout);
19661 if (!ctx || !ctx->current || !ctx->current->layout) return;
19663 win = ctx->current;
19674 NK_ASSERT(ctx->current);
19675 NK_ASSERT(ctx->current->layout);
19676 if (!ctx || !ctx->current || !ctx->current->layout) return;
19678 win = ctx->current;
20127 NK_ASSERT(ctx->current);
20128 NK_ASSERT(ctx->current->layout);
20129 if (!style || !ctx || !ctx->current || !ctx->current->layout) return 0;
20131 win = ctx->current;
20171 NK_ASSERT(ctx->current);
20172 NK_ASSERT(ctx->current->layout);
20173 if (!ctx || !ctx->current || !ctx->current->layout)
20176 win = ctx->current;
20204 NK_ASSERT(ctx->current);
20205 NK_ASSERT(ctx->current->layout);
20206 if (!ctx || !ctx->current || !ctx->current->layout)
20209 win = ctx->current;
20236 NK_ASSERT(ctx->current);
20237 NK_ASSERT(ctx->current->layout);
20238 if (!ctx || !ctx->current || !ctx->current->layout)
20241 win = ctx->current;
20270 NK_ASSERT(ctx->current);
20271 NK_ASSERT(ctx->current->layout);
20272 if (!ctx || !ctx->current || !ctx->current->layout)
20275 win = ctx->current;
20317 NK_ASSERT(ctx->current);
20318 NK_ASSERT(ctx->current->layout);
20319 if (!ctx || !ctx->current || !ctx->current->layout)
20322 win = ctx->current;
20537 NK_ASSERT(ctx->current);
20538 NK_ASSERT(ctx->current->layout);
20539 if (!ctx || !ctx->current || !ctx->current->layout)
20542 win = ctx->current;
20632 NK_ASSERT(ctx->current);
20633 NK_ASSERT(ctx->current->layout);
20634 if (!ctx || !ctx->current || !ctx->current->layout)
20637 win = ctx->current;
20874 NK_ASSERT(ctx->current);
20875 NK_ASSERT(ctx->current->layout);
20876 if (!ctx || !ctx->current || !ctx->current->layout || !value)
20879 win = ctx->current;
20903 NK_ASSERT(ctx->current);
20904 NK_ASSERT(ctx->current->layout);
20905 if (!ctx || !ctx->current || !ctx->current->layout || !value)
20908 win = ctx->current;
20932 NK_ASSERT(ctx->current);
20933 NK_ASSERT(ctx->current->layout);
20934 if (!ctx || !ctx->current || !ctx->current->layout || !value)
20937 win = ctx->current;
21208 NK_ASSERT(ctx->current);
21209 NK_ASSERT(ctx->current->layout);
21211 if (!ctx || !ctx->current || !ctx->current->layout || !value)
21214 win = ctx->current;
21368 NK_ASSERT(ctx->current);
21369 NK_ASSERT(ctx->current->layout);
21370 if (!ctx || !ctx->current || !ctx->current->layout || !cur)
21373 win = ctx->current;
22226 /* compute current position of cursor point */
22274 /* compute current position of cursor point */
23376 NK_ASSERT(ctx->current);
23377 if (!ctx || !ctx->current) return;
23379 win = ctx->current;
23391 NK_ASSERT(ctx->current);
23392 if (!ctx || !ctx->current) return;
23394 win = ctx->current;
23414 win = ctx->current;
23472 NK_ASSERT(ctx->current);
23473 NK_ASSERT(ctx->current->layout);
23474 if (!ctx || !ctx->current || !ctx->current->layout)
23477 win = ctx->current;
23507 /* current edit is now hot */
23511 /* current edit is now cold */
23866 NK_ASSERT(ctx->current);
23867 NK_ASSERT(ctx->current->layout);
23868 if (!ctx || !ctx->current || !ctx->current->layout)
23871 win = ctx->current;
23911 /* current property is now hot */
23946 if (!ctx || !ctx->current || !name || !val) return;
23960 if (!ctx || !ctx->current || !name || !val) return;
23974 if (!ctx || !ctx->current || !name || !val) return;
23987 if (!ctx || !ctx->current || !name) return val;
24001 if (!ctx || !ctx->current || !name) return val;
24015 if (!ctx || !ctx->current || !name) return val;
24045 NK_ASSERT(ctx->current);
24046 NK_ASSERT(ctx->current->layout);
24048 if (!ctx || !ctx->current || !ctx->current->layout) return 0;
24050 chart = &ctx->current->layout->chart;
24055 win = ctx->current;
24103 NK_ASSERT(ctx->current);
24104 NK_ASSERT(ctx->current->layout);
24105 NK_ASSERT(ctx->current->layout->chart.slot < NK_CHART_MAX_SLOT);
24106 if (!ctx || !ctx->current || !ctx->current->layout) return;
24107 if (ctx->current->layout->chart.slot >= NK_CHART_MAX_SLOT) return;
24110 {struct nk_chart *chart = &ctx->current->layout->chart;
24180 /* user selection of current data point */
24191 /* save current data point position */
24218 /* calculate bounds of current bar chart entry */
24250 NK_ASSERT(ctx->current);
24252 NK_ASSERT(slot < ctx->current->layout->chart.slot);
24253 if (!ctx || !ctx->current || slot >= NK_CHART_MAX_SLOT) return nk_false;
24254 if (slot >= ctx->current->layout->chart.slot) return nk_false;
24256 win = ctx->current;
24281 NK_ASSERT(ctx->current);
24282 if (!ctx || !ctx->current)
24285 win = ctx->current;
24521 NK_ASSERT(ctx->current);
24522 NK_ASSERT(ctx->current->layout);
24523 if (!ctx || !ctx->current || !ctx->current->layout || !color)
24526 win = ctx->current;
24563 NK_ASSERT(ctx->current);
24564 NK_ASSERT(ctx->current->layout);
24565 if (!ctx || !ctx->current || !ctx->current->layout)
24602 NK_ASSERT(ctx->current);
24603 NK_ASSERT(ctx->current->layout);
24604 if (!ctx || !ctx->current || !ctx->current->layout || !selected)
24607 win = ctx->current;
24693 NK_ASSERT(ctx->current);
24694 NK_ASSERT(ctx->current->layout);
24695 if (!ctx || !ctx->current || !ctx->current->layout)
24698 win = ctx->current;
24772 NK_ASSERT(ctx->current);
24773 NK_ASSERT(ctx->current->layout);
24774 if (!ctx || !ctx->current || !ctx->current->layout)
24777 win = ctx->current;
24860 NK_ASSERT(ctx->current);
24861 NK_ASSERT(ctx->current->layout);
24862 if (!ctx || !ctx->current || !ctx->current->layout)
24865 win = ctx->current;
24953 NK_ASSERT(ctx->current);
24954 NK_ASSERT(ctx->current->layout);
24955 if (!ctx || !ctx->current || !ctx->current->layout)
24958 win = ctx->current;
25032 NK_ASSERT(ctx->current);
25033 NK_ASSERT(ctx->current->layout);
25034 if (!ctx || !ctx->current || !ctx->current->layout)
25037 win = ctx->current;
25173 NK_ASSERT(ctx->current);
25178 window_padding = nk_panel_get_padding(&ctx->style, ctx->current->layout->type);
25211 window_padding = nk_panel_get_padding(&ctx->style, ctx->current->layout->type);
25264 window_padding = nk_panel_get_padding(&ctx->style, ctx->current->layout->type);
25326 NK_ASSERT(ctx->current);
25327 NK_ASSERT(ctx->current->layout);
25328 if (!ctx || !ctx->current || !ctx->current->layout)
25332 win = ctx->current;
25351 ctx->current->layout->type = NK_PANEL_TOOLTIP;
25359 NK_ASSERT(ctx->current);
25360 if (!ctx || !ctx->current) return;
25361 ctx->current->seq--;
25376 NK_ASSERT(ctx->current);
25377 NK_ASSERT(ctx->current->layout);
25379 if (!ctx || !ctx->current || !ctx->current->layout || !text)