MeVisLabToolboxReference
macx::Window Class Reference

Window related functions. More...

#include <macWindow.h>

List of all members.

Public Types

enum  WindowLevelType { UndefinedWindowLevel = 0, NormalWindowLevel = 1, FloatingWindowLevel = 2, PopUpMenuWindowLevel = 3 }

Static Public Member Functions

static macxNSWindow * nsWindowFromNSView (macxNSView *view)
 Return NSWindow pointer from NSView pointer.
static void nsWindowSetLevel (macxNSWindow *window, WindowLevelType level)
 Adjust the window level.
static void nsWindowSetHasShadow (macxNSWindow *window, bool hasShadow=true)
 Specify whether the window has a shadow.
static void nsWindowSetCanGoFullScreen (macxNSWindow *window, bool trueOrFalse=true)
 Specify whether the window will have a fullscreen button in the upper right of its titlebar.
static void nsWindowToggleFullScreen (macxNSWindow *window)
 Take the window into or out of fullscreen mode (Mac OS X 10.7 or later)
static void nsWindowEnterFullScreen (macxNSWindow *window)
 Take the window into fullscreen mode (Mac OS X 10.7 or later)
static void nsWindowExitFullScreen (macxNSWindow *window)
 Take the window out of fullscreen mode (Mac OS X 10.7 or later)
static bool nsWindowIsFullScreen (macxNSWindow *window)
 Returns whether the window has fullscreen appearance (Mac OS X 10.7 or later)

Detailed Description

Window related functions.

Definition at line 19 of file macWindow.h.


Member Enumeration Documentation

Enumerator:
UndefinedWindowLevel 
NormalWindowLevel 
FloatingWindowLevel 
PopUpMenuWindowLevel 

Definition at line 26 of file macWindow.h.


Member Function Documentation

static void macx::Window::nsWindowEnterFullScreen ( macxNSWindow *  window) [static]

Take the window into fullscreen mode (Mac OS X 10.7 or later)

static void macx::Window::nsWindowExitFullScreen ( macxNSWindow *  window) [static]

Take the window out of fullscreen mode (Mac OS X 10.7 or later)

static macxNSWindow* macx::Window::nsWindowFromNSView ( macxNSView *  view) [static]

Return NSWindow pointer from NSView pointer.

static bool macx::Window::nsWindowIsFullScreen ( macxNSWindow *  window) [static]

Returns whether the window has fullscreen appearance (Mac OS X 10.7 or later)

static void macx::Window::nsWindowSetCanGoFullScreen ( macxNSWindow *  window,
bool  trueOrFalse = true 
) [static]

Specify whether the window will have a fullscreen button in the upper right of its titlebar.

static void macx::Window::nsWindowSetHasShadow ( macxNSWindow *  window,
bool  hasShadow = true 
) [static]

Specify whether the window has a shadow.

static void macx::Window::nsWindowSetLevel ( macxNSWindow *  window,
WindowLevelType  level 
) [static]

Adjust the window level.

static void macx::Window::nsWindowToggleFullScreen ( macxNSWindow *  window) [static]

Take the window into or out of fullscreen mode (Mac OS X 10.7 or later)


The documentation for this class was generated from the following file: