[API] Add API for Dear ImGui v1.78
This commit is contained in:
1 parent
8c367ecf60
commit
0b4aa25b1d
13 files changed
+278
-168
No files matched your search
@@ -0,0 +1,25 @@
|
||||
package imgui.flag;
|
||||
|
||||
public final class ImGuiSliderFlags {
|
||||
private ImGuiSliderFlags() {
|
||||
}
|
||||
|
||||
public static final int None = 0;
|
||||
/**
|
||||
* Clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds.
|
||||
*/
|
||||
public static final int ClampOnInput = 1 << 4;
|
||||
/**
|
||||
* Make the widget logarithmic (linear otherwise).
|
||||
* Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits.
|
||||
*/
|
||||
public static final int Logarithmic = 1 << 5;
|
||||
/**
|
||||
* Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits).
|
||||
*/
|
||||
public static final int NoRoundToFormat = 1 << 6;
|
||||
/**
|
||||
* Disable CTRL+Click or Enter key allowing to input text directly into the widget
|
||||
*/
|
||||
public static final int NoInput = 1 << 7;
|
||||
}
|
||||
Reference in new issue
Block a user