Package com.mojang.blaze3d.platform
Class MacosUtil
java.lang.Object
com.mojang.blaze3d.platform.MacosUtil
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clearResizableBit
(long p_304542_) static void
exitNativeFullscreen
(long p_182518_) private static Optional<ca.weblite.objc.NSObject>
getNsWindow
(long p_182522_) private static long
getStyleMask
(ca.weblite.objc.NSObject p_304421_) private static boolean
isInNativeFullscreen
(ca.weblite.objc.NSObject p_304820_) static void
loadIcon
(IoSupplier<InputStream> p_250929_) private static void
toggleNativeFullscreen
(ca.weblite.objc.NSObject p_182524_)
-
Field Details
-
NS_RESIZABLE_WINDOW_MASK
private static final int NS_RESIZABLE_WINDOW_MASK- See Also:
-
NS_FULL_SCREEN_WINDOW_MASK
private static final int NS_FULL_SCREEN_WINDOW_MASK- See Also:
-
-
Constructor Details
-
MacosUtil
public MacosUtil()
-
-
Method Details
-
exitNativeFullscreen
public static void exitNativeFullscreen(long p_182518_) -
clearResizableBit
public static void clearResizableBit(long p_304542_) -
getNsWindow
-
isInNativeFullscreen
private static boolean isInNativeFullscreen(ca.weblite.objc.NSObject p_304820_) -
getStyleMask
private static long getStyleMask(ca.weblite.objc.NSObject p_304421_) -
toggleNativeFullscreen
private static void toggleNativeFullscreen(ca.weblite.objc.NSObject p_182524_) -
loadIcon
- Throws:
IOException
-