Convert enums comments to JavaDoc

This commit is contained in:
SpaiR committed 2020-02-10 23:58:54 +03:00
1 parent 5a6de1c214
commit 4d00f348a3
23 files changed
+918 -223

No files matched your search

@@ -9,15 +9,39 @@ public final class ImGuiHoveredFlags {
private ImGuiHoveredFlags() {
}
public static final int None = 0; // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.
public static final int ChildWindows = 1; // IsWindowHovered() only: Return true if any children of the window is hovered
public static final int RootWindow = 1 << 1; // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
public static final int AnyWindow = 1 << 2; // IsWindowHovered() only: Return true if any window is hovered
public static final int AllowWhenBlockedByPopup = 1 << 3; // Return true even if a popup window is normally blocking access to this item/window
//ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet.
public static final int AllowWhenBlockedByActiveItem = 1 << 5; // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns.
public static final int AllowWhenOverlapped = 1 << 6; // Return true even if the position is obstructed or overlapped by another window
public static final int AllowWhenDisabled = 1 << 7; // Return true even if the item is disabled
/**
* Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.
*/
public static final int None = 0;
/**
* IsWindowHovered() only: Return true if any children of the window is hovered
*/
public static final int ChildWindows = 1;
/**
* IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
*/
public static final int RootWindow = 1 << 1;
/**
* IsWindowHovered() only: Return true if any window is hovered
*/
public static final int AnyWindow = 1 << 2;
/**
* Return true even if a popup window is normally blocking access to this item/window
*/
public static final int AllowWhenBlockedByPopup = 1 << 3;
//ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, //Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet.
/**
* Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns.
*/
public static final int AllowWhenBlockedByActiveItem = 1 << 5;
/**
* Return true even if the position is obstructed or overlapped by another window
*/
public static final int AllowWhenOverlapped = 1 << 6;
/**
* Return true even if the item is disabled
*/
public static final int AllowWhenDisabled = 1 << 7;
public static final int RectOnly = AllowWhenBlockedByPopup | AllowWhenBlockedByActiveItem | AllowWhenOverlapped;
public static final int RootAndChildWindows = RootWindow | ChildWindows;
}