public class GuiWindowCommons
extends java.lang.Object
GuiWindow
.Constructor and Description |
---|
GuiWindowCommons() |
Modifier and Type | Method and Description |
---|---|
static void |
hide(GuiWindow window)
Hide the supplied window.
|
static boolean |
insideBorder(GuiWindow window,
NativePoint point)
Check if the specified point is inside the window's top, left, bottom or right border.
|
public static void hide(GuiWindow window)
window
- A reference to a GuiWindow
instance,
must not be null
.public static boolean insideBorder(GuiWindow window, NativePoint point)
window
- The window to check.point
- The point to check.true
if the point is inside the window's border.