From 78a57a0767a668e26913567bdcd7908815547450 Mon Sep 17 00:00:00 2001 From: ericoporto Date: Sat, 6 Jun 2020 22:13:07 -0300 Subject: [PATCH] fixes header to account 2 extra parameters in ImVec4 Create and adds optionals --- agsimgui/agsimgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agsimgui/agsimgui.cpp b/agsimgui/agsimgui.cpp index 9de2f3c..effbeef 100644 --- a/agsimgui/agsimgui.cpp +++ b/agsimgui/agsimgui.cpp @@ -412,7 +412,7 @@ namespace agsimgui { "builtin managed struct ImVec4 { \r\n" " \r\n" " /// Creates a ImVec4 with float X and Y coordinates. \r\n" -" import static ImVec4* Create(float x, float y); // $AUTOCOMPLETESTATICONLY$ \r\n" +" import static ImVec4* Create(float x=0, float y=0, float z=0, float w=0); // $AUTOCOMPLETESTATICONLY$ \r\n" " \r\n" " /// Float X coordinate of the ImVec4. \r\n" " import attribute float X; \r\n" @@ -446,7 +446,7 @@ namespace agsimgui { "builtin managed struct ImVec2 { \r\n" " \r\n" " /// Creates a ImVec2 with float X and Y coordinates. \r\n" -" import static ImVec2* Create(float x, float y); // $AUTOCOMPLETESTATICONLY$ \r\n" +" import static ImVec2* Create(float x=0, float y=0); // $AUTOCOMPLETESTATICONLY$ \r\n" " \r\n" " /// Float X coordinate of the ImVec2. \r\n" " import attribute float X; \r\n"