18 #if defined(__APPLE__)
22 #ifndef MACOS_FORWARD_DECLARE_OBJC_CLASS
24 # define MACOS_FORWARD_DECLARE_OBJC_CLASS(classname) @class classname
26 # define MACOS_FORWARD_DECLARE_OBJC_CLASS(classname) class classname
47 UndefinedWindowLevel = 0,
48 NormalWindowLevel = 1,
49 FloatingWindowLevel = 2,
50 PopUpMenuWindowLevel = 3
Window related functions.
static void nsWindowSetHasShadow(NSWindow *window, bool hasShadow=true)
Specify whether the window has a shadow.
static bool nsWindowIsFullScreen(NSWindow *window)
Returns whether the window has fullscreen appearance (Mac OS X 10.7 and up)
static void nsWindowExitFullScreen(NSWindow *window)
Take the window out of fullscreen mode (Mac OS X 10.7 and up)
static void nsWindowSetLevel(NSWindow *window, WindowLevelType level)
Adjust the window level.
static double nsWindowBackingScaleFactor(NSWindow *window)
Return the backing scale factor (Mac OS X 10.7 and up)
static void nsWindowToggleFullScreen(NSWindow *window)
Take the window into or out of fullscreen mode (Mac OS X 10.7 and up)
static void nsWindowSetCanGoFullScreen(NSWindow *window, bool trueOrFalse=true)
Specify whether the window will have a fullscreen button in the upper right of its titlebar.
static void nsWindowEnterFullScreen(NSWindow *window)
Take the window into fullscreen mode (Mac OS X 10.7 and up)
static NSWindow * nsWindowFromNSView(NSView *view)
Return NSWindow pointer from NSView pointer.
static void nsWindowSetAllowsAutomaticWindowTabbing(bool trueOrFalse)
Allows automatic window tabbing when trueOrFalse is true (macOS 10.12 and up)
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.
#define MACOS_FORWARD_DECLARE_OBJC_CLASS(classname)
Window related functions.
MLCSO_EXPORT void level(CSO *cso)
Determines the normal and the center of gravity of the given CSO.