You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: imgui-binding/src/main/java/imgui/enums/ImDrawListFlags.java
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,17 @@ private ImDrawListFlags() {
5
5
}
6
6
7
7
publicstaticfinalintNone = 0;
8
-
publicstaticfinalintAntiAliasedLines = 1; // Lines are anti-aliased (*2 the number of triangles for 1.0f wide line, otherwise *3 the number of triangles)
9
-
publicstaticfinalintAntiAliasedFill = 1 << 1; // Filled shapes have anti-aliased edges (*2 the number of vertices)
10
-
publicstaticfinalintAllowVtxOffset = 1 << 2; // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.
8
+
9
+
/**
10
+
* Lines are anti-aliased (*2 the number of triangles for 1.0f wide line, otherwise *3 the number of triangles)
11
+
*/
12
+
publicstaticfinalintAntiAliasedLines = 1;
13
+
/**
14
+
* Filled shapes have anti-aliased edges (*2 the number of vertices)
15
+
*/
16
+
publicstaticfinalintAntiAliasedFill = 1 << 1;
17
+
/**
18
+
* Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.
Copy file name to clipboardExpand all lines: imgui-binding/src/main/java/imgui/enums/ImGuiBackendFlags.java
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,20 @@ private ImGuiBackendFlags() {
8
8
}
9
9
10
10
publicstaticfinalintNone = 0;
11
-
publicstaticfinalintHasGamepad = 1; // Back-end Platform supports gamepad and currently has one connected.
12
-
publicstaticfinalintHasMouseCursors = 1 << 1; // Back-end Platform supports honoring GetMouseCursor() value to change the OS cursor shape.
13
-
publicstaticfinalintHasSetMousePos = 1 << 2; // Back-end Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set).
14
-
publicstaticfinalintRendererHasVtxOffset = 1 << 3; // Back-end Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices.
11
+
/**
12
+
* Back-end Platform supports gamepad and currently has one connected.
13
+
*/
14
+
publicstaticfinalintHasGamepad = 1;
15
+
/**
16
+
* Back-end Platform supports honoring GetMouseCursor() value to change the OS cursor shape.
17
+
*/
18
+
publicstaticfinalintHasMouseCursors = 1 << 1;
19
+
/**
20
+
* Back-end Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set).
21
+
*/
22
+
publicstaticfinalintHasSetMousePos = 1 << 2;
23
+
/**
24
+
* Back-end Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices.
publicstaticfinalintNoAlpha = 1 << 1; // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).
12
-
publicstaticfinalintNoPicker = 1 << 2; // // ColorEdit: disable picker when clicking on colored square.
13
-
publicstaticfinalintNoOptions = 1 << 3; // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview.
14
-
publicstaticfinalintNoSmallPreview = 1 << 4; // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs)
15
-
publicstaticfinalintNoInputs = 1 << 5; // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square).
16
-
publicstaticfinalintNoTooltip = 1 << 6; // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.
17
-
publicstaticfinalintNoLabel = 1 << 7; // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).
18
-
publicstaticfinalintNoSidePreview = 1 << 8; // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead.
19
-
publicstaticfinalintNoDragDrop = 1 << 9; // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.
11
+
/**
12
+
* ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).
13
+
*/
14
+
publicstaticfinalintNoAlpha = 1 << 1;
15
+
/**
16
+
* ColorEdit: disable picker when clicking on colored square.
17
+
*/
18
+
publicstaticfinalintNoPicker = 1 << 2;
19
+
/**
20
+
* ColorEdit: disable toggling options menu when right-clicking on inputs/small preview.
21
+
*/
22
+
publicstaticfinalintNoOptions = 1 << 3;
23
+
/**
24
+
* ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs)
25
+
*/
26
+
publicstaticfinalintNoSmallPreview = 1 << 4;
27
+
/**
28
+
* ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square).
29
+
*/
30
+
publicstaticfinalintNoInputs = 1 << 5;
31
+
/**
32
+
* ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.
33
+
*/
34
+
publicstaticfinalintNoTooltip = 1 << 6;
35
+
/**
36
+
* ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).
37
+
*/
38
+
publicstaticfinalintNoLabel = 1 << 7;
39
+
/**
40
+
* ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead.
41
+
*/
42
+
publicstaticfinalintNoSidePreview = 1 << 8;
43
+
/**
44
+
* ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.
45
+
*/
46
+
publicstaticfinalintNoDragDrop = 1 << 9;
20
47
21
48
// User Options (right-click on widget to change some of them).
22
-
publicstaticfinalintAlphaBar = 1 << 16; // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker.
23
-
publicstaticfinalintAlphaPreview = 1 << 17; // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque.
publicstaticfinalintHDR = 1 << 19; // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).
26
-
publicstaticfinalintDisplayRGB = 1 << 20; // [Display] // ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex.
publicstaticfinalintFloat = 1 << 24; // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers.
31
-
publicstaticfinalintPickerHueBar = 1 << 25; // [Picker] // ColorPicker: bar for Hue, rectangle for Sat/Value.
32
-
publicstaticfinalintPickerHueWheel = 1 << 26; // [Picker] // ColorPicker: wheel for Hue, triangle for Sat/Value.
33
-
publicstaticfinalintInputRGB = 1 << 27; // [Input] // ColorEdit, ColorPicker: input and output data in RGB format.
34
-
publicstaticfinalintInputHSV = 1 << 28; // [Input] // ColorEdit, ColorPicker: input and output data in HSV format.
35
49
36
-
// Defaults Options. You can set application defaults using SetColorEditOptions(). The intent is that you probably don't want to
37
-
// override them in most of your calls. Let the user choose via the option menu and/or call SetColorEditOptions() once during startup.
50
+
/**
51
+
* ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker.
52
+
*/
53
+
publicstaticfinalintAlphaBar = 1 << 16;
54
+
/**
55
+
* ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque.
* (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).
64
+
*/
65
+
publicstaticfinalintHDR = 1 << 19;
66
+
/**
67
+
* [Display]
68
+
* <p>
69
+
* ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex.
70
+
*/
71
+
publicstaticfinalintDisplayRGB = 1 << 20;
72
+
/**
73
+
* [Display]
74
+
*/
75
+
publicstaticfinalintDisplayHSV = 1 << 21;
76
+
/**
77
+
* [Display]
78
+
*/
79
+
publicstaticfinalintDisplayHex = 1 << 22;
80
+
/**
81
+
* [DataType]
82
+
* <p>
83
+
* ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255.
84
+
*/
85
+
publicstaticfinalintUint8 = 1 << 23;
86
+
/**
87
+
* [DataType]
88
+
* <p>
89
+
* ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers.
90
+
*/
91
+
publicstaticfinalintFloat = 1 << 24;
92
+
/**
93
+
* [Picker]
94
+
* <p>
95
+
* ColorPicker: bar for Hue, rectangle for Sat/Value.
96
+
*/
97
+
publicstaticfinalintPickerHueBar = 1 << 25;
98
+
/**
99
+
* [Picker]
100
+
* <p>
101
+
* ColorPicker: wheel for Hue, triangle for Sat/Value.
102
+
*/
103
+
publicstaticfinalintPickerHueWheel = 1 << 26;
104
+
/**
105
+
* [Input]
106
+
* <p>
107
+
* ColorEdit, ColorPicker: input and output data in RGB format.
108
+
*/
109
+
publicstaticfinalintInputRGB = 1 << 27;
110
+
/**
111
+
* [Input]
112
+
* <p>
113
+
* ColorEdit, ColorPicker: input and output data in HSV format.
114
+
*/
115
+
publicstaticfinalintInputHSV = 1 << 28;
116
+
117
+
/**
118
+
* Defaults Options. You can set application defaults using SetColorEditOptions(). The intent is that you probably don't want to
119
+
* override them in most of your calls. Let the user choose via the option menu and/or call SetColorEditOptions() once during startup.
Copy file name to clipboardExpand all lines: imgui-binding/src/main/java/imgui/enums/ImGuiComboFlags.java
+28-7Lines changed: 28 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,33 @@ private ImGuiComboFlags() {
8
8
}
9
9
10
10
publicstaticfinalintNone = 0;
11
-
publicstaticfinalintPopupAlignLeft = 1; // Align the popup toward the left by default
12
-
publicstaticfinalintHeightSmall = 1 << 1; // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()
publicstaticfinalintHeightLarge = 1 << 3; // Max ~20 items visible
15
-
publicstaticfinalintHeightLargest = 1 << 4; // As many fitting items as possible
16
-
publicstaticfinalintNoArrowButton = 1 << 5; // Display on the preview box without the square arrow button
17
-
publicstaticfinalintNoPreview = 1 << 6; // Display only a square arrow button
11
+
/**
12
+
* Align the popup toward the left by default
13
+
*/
14
+
publicstaticfinalintPopupAlignLeft = 1;
15
+
/**
16
+
* Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()
17
+
*/
18
+
publicstaticfinalintHeightSmall = 1 << 1;
19
+
/**
20
+
* Max ~8 items visible (default)
21
+
*/
22
+
publicstaticfinalintHeightRegular = 1 << 2;
23
+
/**
24
+
* Max ~20 items visible
25
+
*/
26
+
publicstaticfinalintHeightLarge = 1 << 3;
27
+
/**
28
+
* As many fitting items as possible
29
+
*/
30
+
publicstaticfinalintHeightLargest = 1 << 4;
31
+
/**
32
+
* Display on the preview box without the square arrow button
* Enumateration for ImGui::SetWindow***(), SetNextWindow***(), SetNextItem***() functions
4
+
* Enumeration for ImGui::SetWindow***(), SetNextWindow***(), SetNextItem***() functions
5
5
* Represent a condition.
6
6
* Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always.
7
7
*/
8
8
publicfinalclassImGuiCond {
9
9
privateImGuiCond() {
10
10
}
11
11
12
-
publicstaticfinalintAlways = 1; // Set the variable
13
-
publicstaticfinalintOnce = 1 << 1; // Set the variable once per runtime session (only the first call with succeed)
14
-
publicstaticfinalintFirstUseEver = 1 << 2; // Set the variable if the object/window has no persistently saved data (no entry in .ini file)
15
-
publicstaticfinalintAppearing = 1 << 3; // Set the variable if the object/window is appearing after being hidden/inactive (or the first time)
12
+
/**
13
+
* Set the variable
14
+
*/
15
+
publicstaticfinalintAlways = 1;
16
+
/**
17
+
* Set the variable once per runtime session (only the first call with succeed)
18
+
*/
19
+
publicstaticfinalintOnce = 1 << 1;
20
+
/**
21
+
* Set the variable if the object/window has no persistently saved data (no entry in .ini file)
22
+
*/
23
+
publicstaticfinalintFirstUseEver = 1 << 2;
24
+
/**
25
+
* Set the variable if the object/window is appearing after being hidden/inactive (or the first time)
0 commit comments