Blender V5.0
GHOST_WindowCocoa.mm File Reference
#include "GHOST_WindowCocoa.hh"
#include "GHOST_ContextNone.hh"
#include "GHOST_Debug.hh"
#include "GHOST_SystemCocoa.hh"
import <Cocoa/Cocoa.h>
import <Metal/Metal.h>
import <QuartzCore/QuartzCore.h>
#include <sys/sysctl.h>
#include "GHOST_WindowViewCocoa.hh"

Go to the source code of this file.

Classes

class  BlenderWindowDelegate
class  BlenderWindow
category  NSCursor(Undocumented)

Macros

#define COCOA_VIEW_CLASS   CocoaOpenGLView
#define COCOA_VIEW_BASE_CLASS   NSOpenGLView
#define COCOA_VIEW_CLASS   CocoaMetalView
#define COCOA_VIEW_BASE_CLASS   NSView

Functions

static NSCursor * getImageCursor (GHOST_TStandardCursor shape, NSString *name, NSPoint hotspot)
static uint16_t uns16ReverseBits (uint16_t shrt)

Variables

 __pad0__

Macro Definition Documentation

◆ COCOA_VIEW_BASE_CLASS [1/2]

#define COCOA_VIEW_BASE_CLASS   NSView

Definition at line 307 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_BASE_CLASS [2/2]

#define COCOA_VIEW_BASE_CLASS   NSOpenGLView

Definition at line 307 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_CLASS [1/2]

#define COCOA_VIEW_CLASS   CocoaMetalView

Definition at line 306 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_CLASS [2/2]

#define COCOA_VIEW_CLASS   CocoaOpenGLView

Definition at line 306 of file GHOST_WindowCocoa.mm.

Function Documentation

◆ getImageCursor()

NSCursor * getImageCursor ( GHOST_TStandardCursor shape,
NSString * name,
NSPoint hotspot )
static

Definition at line 1016 of file GHOST_WindowCocoa.mm.

References name.

Referenced by GHOST_WindowCocoa::getStandardCursor().

◆ uns16ReverseBits()

uint16_t uns16ReverseBits ( uint16_t shrt)
static

Reverse the bits in a uint16_t

Definition at line 1243 of file GHOST_WindowCocoa.mm.

Referenced by GHOST_WindowCocoa::setWindowCustomCursorShape().

Variable Documentation

◆ __pad0__

__pad0__

Definition at line 48 of file GHOST_WindowCocoa.mm.