@@ -511,6 +511,16 @@ public static bool BeginWindow(string windowTitle, ref bool opened, float backgr
511511 return ImGuiNative . igBegin2 ( windowTitle , ref opened , new Vector2 ( ) , backgroundAlpha , flags ) ;
512512 }
513513
514+ public static bool BeginWindow ( string windowTitle , ref bool opened , Vector2 startingSize , WindowFlags flags )
515+ {
516+ return ImGuiNative . igBegin2 ( windowTitle , ref opened , startingSize , 1f , flags ) ;
517+ }
518+
519+ public static bool BeginWindow ( string windowTitle , ref bool opened , Vector2 startingSize , float backgroundAlpha , WindowFlags flags )
520+ {
521+ return ImGuiNative . igBegin2 ( windowTitle , ref opened , startingSize , backgroundAlpha , flags ) ;
522+ }
523+
514524 public static bool BeginMenu ( string label )
515525 {
516526 return ImGuiNative . igBeginMenu ( label , true ) ;
@@ -531,11 +541,6 @@ public static void CloseCurrentPopup()
531541 ImGuiNative . igCloseCurrentPopup ( ) ;
532542 }
533543
534- public static bool BeginWindow ( string windowTitle , ref bool opened , Vector2 startingSize , WindowFlags flags )
535- {
536- return ImGuiNative . igBegin2 ( windowTitle , ref opened , startingSize , 1f , flags ) ;
537- }
538-
539544 public static void EndMenuBar ( )
540545 {
541546 ImGuiNative . igEndMenuBar ( ) ;
@@ -546,11 +551,6 @@ public static void EndMenu()
546551 ImGuiNative . igEndMenu ( ) ;
547552 }
548553
549- public static bool BeginWindow ( string windowTitle , ref bool opened , Vector2 startingSize , float backgroundAlpha , WindowFlags flags )
550- {
551- return ImGuiNative . igBegin2 ( windowTitle , ref opened , startingSize , backgroundAlpha , flags ) ;
552- }
553-
554554 public static void Separator ( )
555555 {
556556 ImGuiNative . igSeparator ( ) ;
0 commit comments