Skip to content

Commit b5f67b8

Browse files
committed
Rebuild
1 parent 0e872de commit b5f67b8

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

nuklear.h

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ NK_API void nk_input_unicode(struct nk_context*, nk_rune);
955955
*/
956956
NK_API void nk_input_end(struct nk_context*);
957957

958-
/** =============================================================================
958+
/* =============================================================================
959959
*
960960
* DRAWING
961961
*
@@ -1357,15 +1357,15 @@ NK_API const struct nk_draw_command* nk__draw_next(const struct nk_draw_command*
13571357
#define nk_draw_foreach(cmd,ctx, b) for((cmd)=nk__draw_begin(ctx, b); (cmd)!=0; (cmd)=nk__draw_next(cmd, b, ctx))
13581358
#endif
13591359

1360-
/** =============================================================================
1360+
/* =============================================================================
13611361
*
13621362
* WINDOW
13631363
*
13641364
* =============================================================================*/
13651365
/**
13661366
* \page Window
13671367
* Windows are the main persistent state used inside nuklear and are life time
1368-
* controlled by simply "retouching" (i.e. calling) each window each frame.
1368+
* controlled by simply "retouching" (i.e.\ calling) each window each frame.
13691369
* All widgets inside nuklear can only be added inside the function pair `nk_begin_xxx`
13701370
* and `nk_end`. Calling any widgets outside these two functions will result in an
13711371
* assert in debug or no state change in release mode.<br /><br />
@@ -1442,12 +1442,14 @@ NK_API const struct nk_draw_command* nk__draw_next(const struct nk_draw_command*
14421442
* ```
14431443
*
14441444
* # Reference
1445-
* Function | Description
1446-
* ------------------------------------|----------------------------------------
1445+
* Function | Description
1446+
* -----------------------------------------|----------------------------------------
14471447
* \ref nk_begin | Starts a new window; needs to be called every frame for every window (unless hidden) or otherwise the window gets removed
14481448
* \ref nk_begin_titled | Extended window start with separated title and identifier to allow multiple windows with same name but not title
14491449
* \ref nk_end | Needs to be called at the end of the window building process to process scaling, scrollbars and general cleanup
14501450
*
1451+
* Function | Description
1452+
* -----------------------------------------|----------------------------------------
14511453
* \ref nk_window_find | Finds and returns the window with give name
14521454
* \ref nk_window_get_bounds | Returns a rectangle with screen position and size of the currently processed window.
14531455
* \ref nk_window_get_position | Returns the position of the currently processed window
@@ -1469,13 +1471,17 @@ NK_API const struct nk_draw_command* nk__draw_next(const struct nk_draw_command*
14691471
* \ref nk_window_is_hovered | Returns if the currently processed window is currently being hovered by mouse
14701472
* \ref nk_window_is_any_hovered | Return if any window currently hovered
14711473
* \ref nk_item_is_any_active | Returns if any window or widgets is currently hovered or active
1472-
//
1474+
*
1475+
* Function | Description
1476+
* -----------------------------------------|----------------------------------------
14731477
* \ref nk_window_set_bounds | Updates position and size of the currently processed window
14741478
* \ref nk_window_set_position | Updates position of the currently process window
14751479
* \ref nk_window_set_size | Updates the size of the currently processed window
14761480
* \ref nk_window_set_focus | Set the currently processed window as active window
14771481
* \ref nk_window_set_scroll | Sets the scroll offset of the current window
1478-
//
1482+
*
1483+
* Function | Description
1484+
* -----------------------------------------|----------------------------------------
14791485
* \ref nk_window_close | Closes the window with given window name which deletes the window at the end of the frame
14801486
* \ref nk_window_collapse | Collapses the window with given window name
14811487
* \ref nk_window_collapse_if | Collapses the window with given window name if the given condition was met
@@ -2788,7 +2794,7 @@ NK_API struct nk_rect nk_layout_space_rect_to_local(const struct nk_context *ctx
27882794
NK_API void nk_spacer(struct nk_context *ctx);
27892795

27902796

2791-
/** =============================================================================
2797+
/* =============================================================================
27922798
*
27932799
* GROUP
27942800
*
@@ -3006,7 +3012,7 @@ NK_API void nk_group_get_scroll(struct nk_context*, const char *id, nk_uint *x_o
30063012
*/
30073013
NK_API void nk_group_set_scroll(struct nk_context*, const char *id, nk_uint x_offset, nk_uint y_offset);
30083014

3009-
/** =============================================================================
3015+
/* =============================================================================
30103016
*
30113017
* TREE
30123018
*
@@ -4347,7 +4353,7 @@ NK_API void nk_font_atlas_clear(struct nk_font_atlas*);
43474353

43484354
#endif
43494355

4350-
/** ==============================================================
4356+
/* ==============================================================
43514357
*
43524358
* MEMORY BUFFER
43534359
*
@@ -4436,7 +4442,7 @@ NK_API void *nk_buffer_memory(struct nk_buffer*);
44364442
NK_API const void *nk_buffer_memory_const(const struct nk_buffer*);
44374443
NK_API nk_size nk_buffer_total(const struct nk_buffer*);
44384444

4439-
/** ==============================================================
4445+
/* ==============================================================
44404446
*
44414447
* STRING
44424448
*
@@ -4492,7 +4498,7 @@ NK_API const char *nk_str_get_const(const struct nk_str*);
44924498
NK_API int nk_str_len(const struct nk_str*);
44934499
NK_API int nk_str_len_char(const struct nk_str*);
44944500

4495-
/**===============================================================
4501+
/* ===============================================================
44964502
*
44974503
* TEXT EDITOR
44984504
*
@@ -5792,7 +5798,6 @@ struct nk_window {
57925798
* =============================================================*/
57935799
/**
57945800
* \page Stack
5795-
* # Stack
57965801
* The style modifier stack can be used to temporarily change a
57975802
* property inside `nk_style`. For example if you want a special
57985803
* red button you can temporarily push the old button color onto a stack

0 commit comments

Comments
 (0)