Class MacosUtil

java.lang.Object
com.mojang.blaze3d.platform.MacosUtil

public class MacosUtil extends Object
  • 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_312472_)
    • getNsWindow

      private static Optional<ca.weblite.objc.NSObject> getNsWindow(long p_182522_)
    • isInNativeFullscreen

      private static boolean isInNativeFullscreen(ca.weblite.objc.NSObject p_311944_)
    • getStyleMask

      private static long getStyleMask(ca.weblite.objc.NSObject p_309879_)
    • toggleNativeFullscreen

      private static void toggleNativeFullscreen(ca.weblite.objc.NSObject p_182524_)
    • loadIcon

      public static void loadIcon(IoSupplier<InputStream> p_250929_) throws IOException
      Throws:
      IOException