* nk_window_get_size - returns the size with width and height of the currently processed window
* nk_window_get_size - returns the size with width and height of the currently processed window
* nk_window_get_width - returns the width of the currently processed window
* nk_window_get_width - returns the width of the currently processed window
* nk_window_get_height - returns the height of the currently processed window
* nk_window_get_height - returns the height of the currently processed window
* nk_window_get_panel - returns the underlying panel which contains all processing state of the currnet window
* nk_window_get_panel - returns the underlying panel which contains all processing state of the current window
* nk_window_get_content_region - returns the position and size of the currently visible and non-clipped space inside the currently processed window
* nk_window_get_content_region - returns the position and size of the currently visible and non-clipped space inside the currently processed window
* nk_window_get_content_region_min - returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window
* nk_window_get_content_region_min - returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window
* nk_window_get_content_region_max - returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window
* nk_window_get_content_region_max - returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window
* nk_window_is_hidden - returns if the currently processed window was hidden
* nk_window_is_hidden - returns if the currently processed window was hidden
* nk_window_is_active - same as nk_window_has_focus for some reason
* nk_window_is_active - same as nk_window_has_focus for some reason
* nk_window_is_hovered - returns if the currently processed window is currently being hovered by mouse
* nk_window_is_hovered - returns if the currently processed window is currently being hovered by mouse
* nk_window_is_any_hovered - return if any wndow currently hovered
* nk_window_is_any_hovered - return if any window currently hovered
* nk_item_is_any_active - returns if any window or widgets is currently hovered or active
* nk_item_is_any_active - returns if any window or widgets is currently hovered or active
*
*
* nk_window_set_bounds - updates position and size of the currently processed window
* nk_window_set_bounds - updates position and size of the currently processed window
...
@@ -1187,16 +1186,16 @@ enum nk_panel_flags {
...
@@ -1187,16 +1186,16 @@ enum nk_panel_flags {
/* nk_begin - starts a new window; needs to be called every frame for every window (unless hidden) or otherwise the window gets removed
/* nk_begin - starts a new window; needs to be called every frame for every window (unless hidden) or otherwise the window gets removed
* Parameters:
* Parameters:
* @ctx must point to an previously initialized `nk_context` struct
* @ctx must point to an previously initialized `nk_context` struct
* @title window title and identifier. Needs to be persitent over frames to identify the window
* @title window title and identifier. Needs to be persistent over frames to identify the window
* @bounds initial position and window size. However if you do not define `NK_WINDOW_SCALABLE` or `NK_WINDOW_MOVABLE` you can set window position and size every frame
* @bounds initial position and window size. However if you do not define `NK_WINDOW_SCALABLE` or `NK_WINDOW_MOVABLE` you can set window position and size every frame
* @flags window flags defined in `enum nk_panel_flags` with a number of different window behaviors
* @flags window flags defined in `enum nk_panel_flags` with a number of different window behaviors
* Return values:
* Return values:
* returns 1 if the window can be filled up with widgets from this point until `nk_end or 0 otherwise for example if minimized `*/
* returns 1 if the window can be filled up with widgets from this point until `nk_end or 0 otherwise for example if minimized `*/
/* nk_begin_titled - extended window start with seperated title and identifier to allow multiple windows with same name but not title
/* nk_begin_titled - extended window start with separated title and identifier to allow multiple windows with same name but not title
* Parameters:
* Parameters:
* @ctx must point to an previously initialized `nk_context` struct
* @ctx must point to an previously initialized `nk_context` struct
* @name window identifier. Needs to be persitent over frames to identify the window
* @name window identifier. Needs to be persistent over frames to identify the window
* @title window title displayed inside header if flag `NK_WINDOW_TITLE` or either `NK_WINDOW_CLOSABLE` or `NK_WINDOW_MINIMIZED` was set
* @title window title displayed inside header if flag `NK_WINDOW_TITLE` or either `NK_WINDOW_CLOSABLE` or `NK_WINDOW_MINIMIZED` was set
* @bounds initial position and window size. However if you do not define `NK_WINDOW_SCALABLE` or `NK_WINDOW_MOVABLE` you can set window position and size every frame
* @bounds initial position and window size. However if you do not define `NK_WINDOW_SCALABLE` or `NK_WINDOW_MOVABLE` you can set window position and size every frame
* @flags window flags defined in `enum nk_panel_flags` with a number of different window behaviors
* @flags window flags defined in `enum nk_panel_flags` with a number of different window behaviors