瀏覽代碼

Update controls_test_suite.c

Ray 2 年之前
父節點
當前提交
2955c676ce
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      examples/controls_test_suite/controls_test_suite.c

+ 2 - 4
examples/controls_test_suite/controls_test_suite.c

@@ -123,9 +123,8 @@ int main()
     bool showMessageBox = false;
     bool showMessageBox = false;
 
 
     char textInput[256] = { 0 };
     char textInput[256] = { 0 };
-    bool showTextInputBox = false;
-
     char textInputFileName[256] = { 0 };
     char textInputFileName[256] = { 0 };
+    bool showTextInputBox = false;
 
 
     float alpha = 1.0f;
     float alpha = 1.0f;
 
 
@@ -199,8 +198,7 @@ int main()
             // raygui: controls drawing
             // raygui: controls drawing
             //----------------------------------------------------------------------------------
             //----------------------------------------------------------------------------------
             // Check all possible events that require GuiLock
             // Check all possible events that require GuiLock
-            if (dropDown000EditMode ||
-                dropDown001EditMode) GuiLock();
+            if (dropDown000EditMode || dropDown001EditMode) GuiLock();
 
 
             // First GUI column
             // First GUI column
             //GuiSetStyle(CHECKBOX, TEXT_ALIGNMENT, TEXT_ALIGN_LEFT);
             //GuiSetStyle(CHECKBOX, TEXT_ALIGNMENT, TEXT_ALIGN_LEFT);