1
1
package imgui ;
2
2
3
3
import imgui .flag .ImGuiInputTextFlags ;
4
- import imgui .type .ImBool ;
4
+ import imgui .type .ImBoolean ;
5
5
import imgui .type .ImDouble ;
6
6
import imgui .type .ImFloat ;
7
7
import imgui .type .ImInt ;
@@ -220,7 +220,7 @@ public static ImDrawData getDrawData() {
220
220
ImGui::ShowDemoWindow();
221
221
*/
222
222
223
- public static void showDemoWindow (ImBool pOpen ) {
223
+ public static void showDemoWindow (ImBoolean pOpen ) {
224
224
nShowDemoWindow (pOpen .getData ());
225
225
}
226
226
@@ -235,7 +235,7 @@ public static void showDemoWindow(ImBool pOpen) {
235
235
ImGui::ShowAboutWindow();
236
236
*/
237
237
238
- public static void showAboutWindow (ImBool pOpen ) {
238
+ public static void showAboutWindow (ImBoolean pOpen ) {
239
239
nShowAboutWindow (pOpen .getData ());
240
240
}
241
241
@@ -255,7 +255,7 @@ public static void showAboutWindow(ImBool pOpen) {
255
255
* Create Debug/Metrics window.
256
256
* Display Dear ImGui internals: draw commands (with individual draw calls and vertices), window list, basic internal state, etc.
257
257
*/
258
- public static void showMetricsWindow (ImBool pOpen ) {
258
+ public static void showMetricsWindow (ImBoolean pOpen ) {
259
259
nShowMetricsWindow (pOpen .getData ());
260
260
}
261
261
@@ -370,15 +370,15 @@ public static void styleColorsLight(ImGuiStyle ref) {
370
370
return ImGui::Begin(title);
371
371
*/
372
372
373
- public static boolean begin (String title , ImBool pOpen ) {
373
+ public static boolean begin (String title , ImBoolean pOpen ) {
374
374
return nBegin (title , pOpen .getData (), 0 );
375
375
}
376
376
377
377
public static boolean begin (String title , int imGuiWindowFlags ) {
378
378
return nBegin (title , imGuiWindowFlags );
379
379
}
380
380
381
- public static boolean begin (String title , ImBool pOpen , int imGuiWindowFlags ) {
381
+ public static boolean begin (String title , ImBoolean pOpen , int imGuiWindowFlags ) {
382
382
return nBegin (title , pOpen .getData (), imGuiWindowFlags );
383
383
}
384
384
@@ -1495,7 +1495,7 @@ public static ImFont getFont() {
1495
1495
return ImGui::Checkbox(label, &flag);
1496
1496
*/
1497
1497
1498
- public static boolean checkbox (String label , ImBool active ) {
1498
+ public static boolean checkbox (String label , ImBoolean active ) {
1499
1499
return nCheckbox (label , active .getData ());
1500
1500
}
1501
1501
@@ -3451,14 +3451,14 @@ public static boolean inputScalarN(String label, int dataType, ImShort pData, in
3451
3451
/**
3452
3452
* When 'pOpen' isn't NULL, display an additional small close button on upper right of the header
3453
3453
*/
3454
- public static boolean collapsingHeader (String label , ImBool pOpen ) {
3454
+ public static boolean collapsingHeader (String label , ImBoolean pOpen ) {
3455
3455
return nCollapsingHeader (label , pOpen .getData (), 0 );
3456
3456
}
3457
3457
3458
3458
/**
3459
3459
* When 'pOpen' isn't NULL, display an additional small close button on upper right of the header
3460
3460
*/
3461
- public static boolean collapsingHeader (String label , ImBool pOpen , int imGuiTreeNodeFlags ) {
3461
+ public static boolean collapsingHeader (String label , ImBoolean pOpen , int imGuiTreeNodeFlags ) {
3462
3462
return nCollapsingHeader (label , pOpen .getData (), imGuiTreeNodeFlags );
3463
3463
}
3464
3464
@@ -3500,15 +3500,15 @@ public static boolean collapsingHeader(String label, ImBool pOpen, int imGuiTree
3500
3500
return ImGui::Selectable(label, selected, imGuiSelectableFlags, ImVec2(sizeX, sizeY));
3501
3501
*/
3502
3502
3503
- public static boolean selectable (String label , ImBool selected ) {
3503
+ public static boolean selectable (String label , ImBoolean selected ) {
3504
3504
return nSelectable (label , selected .getData (), 0 , 0 , 0 );
3505
3505
}
3506
3506
3507
- public static boolean selectable (String label , ImBool selected , int imGuiSelectableFlags ) {
3507
+ public static boolean selectable (String label , ImBoolean selected , int imGuiSelectableFlags ) {
3508
3508
return nSelectable (label , selected .getData (), imGuiSelectableFlags , 0 , 0 );
3509
3509
}
3510
3510
3511
- public static boolean selectable (String label , ImBool selected , int imGuiSelectableFlags , float sizeX , float sizeY ) {
3511
+ public static boolean selectable (String label , ImBoolean selected , int imGuiSelectableFlags , float sizeX , float sizeY ) {
3512
3512
return nSelectable (label , selected .getData (), imGuiSelectableFlags , sizeX , sizeY );
3513
3513
}
3514
3514
@@ -3735,14 +3735,14 @@ public static void listBox(String label, ImInt currentItem, String[] items, int
3735
3735
/**
3736
3736
* Return true when activated + toggle (*pSelected) if pSelected != NULL
3737
3737
*/
3738
- public static boolean menuItem (String label , String shortcut , ImBool pSelected ) {
3738
+ public static boolean menuItem (String label , String shortcut , ImBoolean pSelected ) {
3739
3739
return nMenuItem (label , shortcut , pSelected .getData (), true );
3740
3740
}
3741
3741
3742
3742
/**
3743
3743
* Return true when activated + toggle (*pSelected) if pSelected != NULL
3744
3744
*/
3745
- public static boolean menuItem (String label , String shortcut , ImBool pSelected , boolean enabled ) {
3745
+ public static boolean menuItem (String label , String shortcut , ImBoolean pSelected , boolean enabled ) {
3746
3746
return nMenuItem (label , shortcut , pSelected .getData (), enabled );
3747
3747
}
3748
3748
@@ -3891,7 +3891,7 @@ public static boolean menuItem(String label, String shortcut, ImBool pSelected,
3891
3891
/**
3892
3892
* Modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside)
3893
3893
*/
3894
- public static boolean beginPopupModal (String name , ImBool pOpen ) {
3894
+ public static boolean beginPopupModal (String name , ImBoolean pOpen ) {
3895
3895
return nBeginPopupModal (name , pOpen .getData (), 0 );
3896
3896
}
3897
3897
@@ -3905,7 +3905,7 @@ public static boolean beginPopupModal(String name, int imGuiWindowFlags) {
3905
3905
/**
3906
3906
* Modal dialog (regular window with title bar, block interactions behind the modal window, can't close the modal window by clicking outside)
3907
3907
*/
3908
- public static boolean beginPopupModal (String name , ImBool pOpen , int imGuiWindowFlags ) {
3908
+ public static boolean beginPopupModal (String name , ImBoolean pOpen , int imGuiWindowFlags ) {
3909
3909
return nBeginPopupModal (name , pOpen .getData (), imGuiWindowFlags );
3910
3910
}
3911
3911
@@ -4078,7 +4078,7 @@ public static boolean beginPopupModal(String name, ImBool pOpen, int imGuiWindow
4078
4078
/**
4079
4079
* Create a Tab. Returns true if the Tab is selected.
4080
4080
*/
4081
- public static boolean beginTabItem (String label , ImBool pOpen ) {
4081
+ public static boolean beginTabItem (String label , ImBoolean pOpen ) {
4082
4082
return nBeginTabItem (label , pOpen .getData (), 0 );
4083
4083
}
4084
4084
@@ -4092,7 +4092,7 @@ public static boolean beginTabItem(String label, int imGuiTabBarFlags) {
4092
4092
/**
4093
4093
* Create a Tab. Returns true if the Tab is selected.
4094
4094
*/
4095
- public static boolean beginTabItem (String label , ImBool pOpen , int imGuiTabBarFlags ) {
4095
+ public static boolean beginTabItem (String label , ImBoolean pOpen , int imGuiTabBarFlags ) {
4096
4096
return nBeginTabItem (label , pOpen .getData (), imGuiTabBarFlags );
4097
4097
}
4098
4098
0 commit comments