Lines Matching defs:space
1401 /// nk_window_get_content_region | Returns the position and size of the currently visible and non-clipped space inside the currently processed window
1402 /// nk_window_get_content_region_min | Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window
1403 /// nk_window_get_content_region_max | Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window
1404 /// nk_window_get_content_region_size | Returns the size of the currently visible and non-clipped space inside the currently processed window
1631 /// Returns the position and size of the currently visible and non-clipped space
1646 /// of the visible space inside the current window
1651 /// space inside the currently processed window.
1665 /// of the visible space inside the current window
1670 /// non-clipped space inside the currently processed window.
1684 /// of the visible space inside the current window
1688 /// Returns the size of the currently visible and non-clipped space inside the
1702 /// Returns `nk_vec2` struct with size the visible space inside the current window
1843 /// Example could be UI and 3D camera to move inside a 3D space.
2035 /// widgets with same horizontal space inside the row and dynamically grows
2173 /// which defines a minimum widget size but it also can grow if more space is available
2177 /// to zero if not enough space is provided.
2189 /// nk_widget(...); // dynamic widget can go to zero if not enough space
2190 /// nk_widget(...); // variable widget with min 80 pixel but can grow bigger if enough space
2203 /// window. The space layout API is an immediate mode API which does not support
2205 /// and size hereby can be either specified as ratio of allocated space or
2206 /// allocated space local position and pixel size. Since this API is quite
2207 /// powerful there are a number of utility functions to get the available space
2208 /// and convert between local allocated space and screen space.
2246 /// nk_layout_row_template_push_dynamic | Adds a dynamic column that dynamically grows and can go to zero if not enough space
2251 /// nk_layout_space_begin | Begins a new layouting space that allows to specify each widgets position and size
2252 /// nk_layout_space_push | Pushes position and size of the next widget in own coordinate space either as pixel or ratio
2253 /// nk_layout_space_end | Marks the end of the layouting space
2255 /// nk_layout_space_bounds | Callable after nk_layout_space_begin and returns total space allocated
2256 /// nk_layout_space_to_screen | Converts vector from nk_layout_space coordinate space into screen space
2257 /// nk_layout_space_to_local | Converts vector from screen space into nk_layout_space coordinates
2258 /// nk_layout_space_rect_to_screen | Converts rectangle from nk_layout_space coordinate space into screen space
2259 /// nk_layout_space_rect_to_local | Converts rectangle from screen space into nk_layout_space coordinates
2316 /// Sets current row layout to share horizontal space
2410 /// Adds a dynamic column that dynamically grows and can go to zero if not enough space
2457 /// Begins a new layouting space that allows to specify each widgets position and size.
2471 /// Pushes position and size of the next widget in own coordinate space either as pixel or ratio
2479 /// __bounds__ | Position and size in laoyut space local coordinates
2483 /// Marks the end of the layout space
2494 /// Utility function to calculate total space allocated for `nk_layout_space`
2503 /// Returns `nk_rect` holding the total space allocated
2507 /// Converts vector from nk_layout_space coordinate space into screen space
2515 /// __vec__ | Position to convert from layout space into screen coordinate space
2517 /// Returns transformed `nk_vec2` in screen space coordinates
2521 /// Converts vector from layout space into screen space
2529 /// __vec__ | Position to convert from screen space into layout coordinate space
2531 /// Returns transformed `nk_vec2` in layout space coordinates
2535 /// Converts rectangle from screen space into layout space
2543 /// __bounds__ | Rectangle to convert from layout space into screen space
2545 /// Returns transformed `nk_rect` in screen space coordinates
2549 /// Converts rectangle from layout space into screen space
2557 /// __bounds__ | Rectangle to convert from layout space into screen space
2559 /// Returns transformed `nk_rect` in layout space coordinates
2568 /// Groups are basically windows inside windows. They allow to subdivide space
4351 struct nk_rect space;
4353 state = nk_widget(&space, ctx);
4358 nk_fill_rect(canvas, space, 0, nk_rgb(255,0,0));
4368 call. It allocates space on the panel reserved for this widget to be used,
4369 but also returns the state of the widget space. If your widget is not seen and does
5823 NK_LIB int nk_text_clamp(const struct nk_user_font *font, const char *text, int text_len, float space, int *glyphs, float *text_width, nk_rune *sep_list, int sep_count);
7331 int text_len, float space, int *glyphs, float *text_width,
7349 while (glyph_len && (width < space) && (len < text_len)) {
9438 * defined `nk_draw_index` as `nk_ushort` to safe space be default.
11587 /* e.g. space character */
12438 /* oversampled space. We want to shift in the opposite */
13756 /* pack all glyphs into a tight fit space */
15649 /* calculate draggable window space */
15870 /* fill top empty space */
15877 /* fill left empty space */
15884 /* fill right empty space */
15893 /* fill bottom empty space */
17299 /* if this assert triggers you allocated space between nk_begin and nk_menubar_begin.
17301 `nk_menubar_begin` call. Inside the menubar you then have to allocate space for
17631 /* calculate the usable panel space */
17969 float space = nk_layout_row_calculate_usable_space(&ctx->style, layout->type,
17971 float var_width = (NK_MAX(space-min_fixed_width,0.0f)) / (float)variable_count;
17974 var_width = (NK_MAX(space-total_fixed_width,0)) / (float)min_variable_count;
18183 /* calculate the width of one item inside the current layout space */
19150 /* allocate space and check if the widget needs to be updated and drawn */
19241 /* non table layout need to allocate space */
19804 /* calculate button content space */
20486 /* calculate the selector space */
21446 /* scroll page up by click on empty space or shortcut */
21452 /* scroll page down by click on empty space or shortcut */
21577 /* calculate empty space around cursor */
21665 /* calculate empty space around cursor */
22539 /* the undo records take up too much character space; there's no space
23072 /* calculate total line count + total space + cursor/selection position */
23709 /* empty left space activator */
25535 /// - 2017/06/08 (1.39.0) - Added function to retrieve window space without calling a `nk_layout_xxx` function.
25539 /// - 2017/05/09 (1.38.2) - Fixed vertical scrollbar drawing with not enough space.