diff --git a/doc/nuklear.html b/doc/nuklear.html index 9a77529..da92f37 100644 --- a/doc/nuklear.html +++ b/doc/nuklear.html @@ -702,6 +702,7 @@ as well as some other configuration values have to be configured by filling out `nk_convert_config` struct. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c nk_flags nk_convert(struct nk_context *ctx, struct nk_buffer *cmds, + struct nk_buffer *vertices, struct nk_buffer *elements, const struct nk_convert_config*); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Parameter | Description ------------|----------------------------------------------------------- @@ -1077,8 +1078,8 @@ void nk_window_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *of Parameter | Description -------------|----------------------------------------------------------- __ctx__ | Must point to an previously initialized `nk_context` struct -__offset_x__ | A pointer to the x offset output -__offset_y__ | A pointer to the y offset output +__offset_x__ | A pointer to the x offset output (or NULL to ignore) +__offset_y__ | A pointer to the y offset output (or NULL to ignore) #### nk_window_has_focus Returns if the currently processed window is currently active !!! WARNING @@ -1792,6 +1793,7 @@ while (1) { case ...: // [...] } + nk_clear(&ctx); } nk_free(&ctx); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1804,6 +1806,8 @@ nk_group_end | Ends a group. Should only be called if nk_grou nk_group_scrolled_offset_begin | Start a new group with manual separated handling of scrollbar x- and y-offset nk_group_scrolled_begin | Start a new group with manual scrollbar handling nk_group_scrolled_end | Ends a group with manual scrollbar handling. Should only be called if nk_group_begin returned non-zero +nk_group_get_scroll | Gets the scroll offset for the given group +nk_group_set_scroll | Sets the scroll offset for the given group #### nk_group_begin Starts a new widget group. Requires a previous layouting function to specify a pos/size. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c @@ -1879,8 +1883,8 @@ Parameter | Description -------------|----------------------------------------------------------- __ctx__ | Must point to an previously initialized `nk_context` struct __id__ | The id of the group to get the scroll position of -__x_offset__ | A pointer to the x offset output -__y_offset__ | A pointer to the y offset output +__x_offset__ | A pointer to the x offset output (or NULL to ignore) +__y_offset__ | A pointer to the y offset output (or NULL to ignore) #### nk_group_set_scroll Sets the scroll position of the given group. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c @@ -2137,6 +2141,7 @@ while (1) { case ...: // [...] } + nk_clear(&ctx); } nk_free(&ctx); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2307,6 +2312,7 @@ X...XXXXXXXXXXXXX...X - " - [x]: Major version with API and library breaking changes - [yy]: Minor version with non-breaking API and library changes - [zz]: Bug fix version with no direct changes to API +- 2019/10/09 (4.01.4) - Fix bug for autoscrolling in nk_do_edit - 2019/09/20 (4.01.3) - Fixed a bug wherein combobox cannot be closed by clicking the header when NK_BUTTON_TRIGGER_ON_RELEASE is defined. - 2019/09/10 (4.01.2) - Fixed the nk_cos function, which deviated significantly.