|
@@ -1463,7 +1463,7 @@ NK_API const struct nk_draw_command* nk__draw_next(const struct nk_draw_command*
|
|
/// #### nk_collapse_states
|
|
/// #### nk_collapse_states
|
|
/// State | Description
|
|
/// State | Description
|
|
/// ----------------|-----------------------------------------------------------
|
|
/// ----------------|-----------------------------------------------------------
|
|
-/// __NK_MINIMIZED__| UI section is collased and not visible until maximized
|
|
|
|
|
|
+/// __NK_MINIMIZED__| UI section is collapsed and not visible until maximized
|
|
/// __NK_MAXIMIZED__| UI section is extended and visible until minimized
|
|
/// __NK_MAXIMIZED__| UI section is extended and visible until minimized
|
|
/// <br /><br />
|
|
/// <br /><br />
|
|
*/
|
|
*/
|
|
@@ -2001,11 +2001,11 @@ NK_API void nk_window_show(struct nk_context*, const char *name, enum nk_show_st
|
|
/// __ctx__ | Must point to an previously initialized `nk_context` struct
|
|
/// __ctx__ | Must point to an previously initialized `nk_context` struct
|
|
/// __name__ | Identifier of the window to either hide or show
|
|
/// __name__ | Identifier of the window to either hide or show
|
|
/// __state__ | state with either visible or hidden to modify the window with
|
|
/// __state__ | state with either visible or hidden to modify the window with
|
|
-/// __cond__ | condition that has to be met to actually commit the visbility state change
|
|
|
|
|
|
+/// __cond__ | condition that has to be met to actually commit the visibility state change
|
|
*/
|
|
*/
|
|
NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show_states, int cond);
|
|
NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show_states, int cond);
|
|
/*/// #### nk_window_show_if
|
|
/*/// #### nk_window_show_if
|
|
-/// Line for visual seperation. Draws a line with thickness determined by the current row height.
|
|
|
|
|
|
+/// Line for visual separation. Draws a line with thickness determined by the current row height.
|
|
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
|
|
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
|
|
/// void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding)
|
|
/// void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding)
|
|
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
@@ -2069,7 +2069,7 @@ NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk
|
|
/// the size of each widget dynamically by formula:
|
|
/// the size of each widget dynamically by formula:
|
|
///
|
|
///
|
|
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
|
|
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c
|
|
-/// widget_width = (window_width - padding - spacing) * (1/colum_count)
|
|
|
|
|
|
+/// widget_width = (window_width - padding - spacing) * (1/column_count)
|
|
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
///
|
|
///
|
|
/// Just like all other layouting APIs if you define more widget than columns this
|
|
/// Just like all other layouting APIs if you define more widget than columns this
|
|
@@ -11142,7 +11142,7 @@ static int stbrp__skyline_find_min_y(stbrp_context *c, stbrp_node *first, int x0
|
|
if (node->y > min_y) {
|
|
if (node->y > min_y) {
|
|
/* raise min_y higher. */
|
|
/* raise min_y higher. */
|
|
/* we've accounted for all waste up to min_y, */
|
|
/* we've accounted for all waste up to min_y, */
|
|
- /* but we'll now add more waste for everything we've visted */
|
|
|
|
|
|
+ /* but we'll now add more waste for everything we've visited */
|
|
waste_area += visited_width * (node->y - min_y);
|
|
waste_area += visited_width * (node->y - min_y);
|
|
min_y = node->y;
|
|
min_y = node->y;
|
|
/* the first time through, visited_width might be reduced */
|
|
/* the first time through, visited_width might be reduced */
|
|
@@ -11297,7 +11297,7 @@ static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, i
|
|
|
|
|
|
/* insert the new node into the right starting point, and */
|
|
/* insert the new node into the right starting point, and */
|
|
/* let 'cur' point to the remaining nodes needing to be */
|
|
/* let 'cur' point to the remaining nodes needing to be */
|
|
- /* stiched back in */
|
|
|
|
|
|
+ /* stitched back in */
|
|
|
|
|
|
cur = *res.prev_link;
|
|
cur = *res.prev_link;
|
|
if (cur->x < res.x) {
|
|
if (cur->x < res.x) {
|
|
@@ -30269,7 +30269,7 @@ nk_tooltipfv(struct nk_context *ctx, const char *fmt, va_list args)
|
|
/// dynamic and static widgets.
|
|
/// dynamic and static widgets.
|
|
/// - 2016/12/31 (1.30.0) - Extended scrollbar offset from 16-bit to 32-bit.
|
|
/// - 2016/12/31 (1.30.0) - Extended scrollbar offset from 16-bit to 32-bit.
|
|
/// - 2016/12/31 (1.29.2) - Fixed closing window bug of minimized windows.
|
|
/// - 2016/12/31 (1.29.2) - Fixed closing window bug of minimized windows.
|
|
-/// - 2016/12/03 (1.29.1) - Fixed wrapped text with no seperator and C89 error.
|
|
|
|
|
|
+/// - 2016/12/03 (1.29.1) - Fixed wrapped text with no separator and C89 error.
|
|
/// - 2016/12/03 (1.29.0) - Changed text wrapping to process words not characters.
|
|
/// - 2016/12/03 (1.29.0) - Changed text wrapping to process words not characters.
|
|
/// - 2016/11/22 (1.28.6) - Fixed window minimized closing bug.
|
|
/// - 2016/11/22 (1.28.6) - Fixed window minimized closing bug.
|
|
/// - 2016/11/19 (1.28.5) - Fixed abstract combo box closing behavior.
|
|
/// - 2016/11/19 (1.28.5) - Fixed abstract combo box closing behavior.
|
|
@@ -30407,7 +30407,7 @@ nk_tooltipfv(struct nk_context *ctx, const char *fmt, va_list args)
|
|
/// precision.
|
|
/// precision.
|
|
/// - 2016/08/08 (1.07.2) - Fixed compiling error without define `NK_INCLUDE_FIXED_TYPE`.
|
|
/// - 2016/08/08 (1.07.2) - Fixed compiling error without define `NK_INCLUDE_FIXED_TYPE`.
|
|
/// - 2016/08/08 (1.07.1) - Fixed possible floating point error inside `nk_widget` leading
|
|
/// - 2016/08/08 (1.07.1) - Fixed possible floating point error inside `nk_widget` leading
|
|
-/// to wrong wiget width calculation which results in widgets falsely
|
|
|
|
|
|
+/// to wrong widget width calculation which results in widgets falsely
|
|
/// becoming tagged as not inside window and cannot be accessed.
|
|
/// becoming tagged as not inside window and cannot be accessed.
|
|
/// - 2016/08/08 (1.07.0) - Nuklear now differentiates between hiding a window (NK_WINDOW_HIDDEN) and
|
|
/// - 2016/08/08 (1.07.0) - Nuklear now differentiates between hiding a window (NK_WINDOW_HIDDEN) and
|
|
/// closing a window (NK_WINDOW_CLOSED). A window can be hidden/shown
|
|
/// closing a window (NK_WINDOW_CLOSED). A window can be hidden/shown
|