Rename package: enums->flag

This commit is contained in:
SpaiR committed 2020-06-16 16:58:49 +03:00
1 parent 2ba2216957
commit 911bde2d02
32 files changed
+37 -37

No files matched your search

@@ -0,0 +1,72 @@
package imgui.flag;
/**
* Gamepad/Keyboard directional navigation
* Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable.
* NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays.
* Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable.
* Back-end: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame().
* Note that io.NavInputs[] is cleared by EndFrame().
* Read instructions in imgui.cpp for more details. Download PNG/PSD at http://goo.gl/9LgVZW.
*/
public final class ImGuiNavInput {
private ImGuiNavInput() {
}
/**
* activate / open / toggle / tweak value
* e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard)
*/
public static final int Activate = 0;
/**
* cancel / close / exit
* e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard)
*/
public static final int Cancel = 1;
/**
* text input / on-screen keyboard
* e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard)
*/
public static final int Input = 2;
/**
* tap: toggle menu / hold: focus, move, resize
* e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard)
*/
public static final int Menu = 3;
/**
* move / tweak / resize window (w/ PadMenu)
* e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard)
*/
public static final int DpadLeft = 4;
public static final int DpadRight = 5;
public static final int DpadUp = 6;
public static final int DpadDown = 7;
/**
* scroll / move window (w/ PadMenu)
* e.g. Left Analog Stick Left/Right/Up/Down
*/
public static final int LStickLeft = 8;
public static final int LStickRight = 9;
public static final int LStickUp = 10;
public static final int LStickDown = 11;
/**
* next window (w/ PadMenu)
* e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch)
*/
public static final int FocusPrev = 12;
/**
* prev window (w/ PadMenu)
* e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch)
*/
public static final int FocusNext = 13;
/**
* slower tweaks
* e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch)
*/
public static final int TweakSlow = 14;
/**
* faster tweaks
* e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch)
*/
public static final int TweakFast = 15;
}