From 7205093eb4e0c94c41cf150560aa11c7cab8cb9a Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sun, 28 Jun 2015 12:53:17 +0200 Subject: [PATCH] remove usage of default params --- cimgui/cimgui.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index a5a8f94..7e71519 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -53,7 +53,7 @@ CIMGUI_API float ig_GetWindowWidth(); CIMGUI_API bool ig_IsWindowCollapsed(); CIMGUI_API void ig_SetNextWindowPos(CONST struct ImVec2 pos, ImGuiSetCond cond); -CIMGUI_API void ig_SetNextWindowPosCenter(ImGuiSetCond cond = 0); +CIMGUI_API void ig_SetNextWindowPosCenter(ImGuiSetCond cond); CIMGUI_API void ig_SetNextWindowSize(CONST struct ImVec2 size, ImGuiSetCond cond); CIMGUI_API void ig_SetNextWindowCollapsed(bool collapsed, ImGuiSetCond cond); CIMGUI_API void ig_SetNextWindowFocus(); @@ -103,10 +103,10 @@ CIMGUI_API void ig_EndTooltip(); // Popup CIMGUI_API void ig_OpenPopup(CONST char* str_id); CIMGUI_API bool ig_BeginPopup(CONST char* str_id); -CIMGUI_API bool ig_BeginPopupModal(CONST char* name, bool* p_opened = NULL, ImGuiWindowFlags extra_flags = 0); -CIMGUI_API bool ig_BeginPopupContextItem(CONST char* str_id, int mouse_button = 1); -CIMGUI_API bool ig_BeginPopupContextWindow(bool also_over_items = true, CONST char* str_id = NULL, int mouse_button = 1); -CIMGUI_API bool ig_BeginPopupContextVoid(CONST char* str_id = NULL, int mouse_button = 1); +CIMGUI_API bool ig_BeginPopupModal(CONST char* name, bool* p_opened, ImGuiWindowFlags extra_flags); +CIMGUI_API bool ig_BeginPopupContextItem(CONST char* str_id, int mouse_button); +CIMGUI_API bool ig_BeginPopupContextWindow(bool also_over_items, CONST char* str_id, int mouse_button); +CIMGUI_API bool ig_BeginPopupContextVoid(CONST char* str_id, int mouse_button); CIMGUI_API void ig_EndPopup(); CIMGUI_API void ig_CloseCurrentPopup();