Blender V4.3
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
 

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   NSOpenGLView

Definition at line 309 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_BASE_CLASS [2/2]

#define COCOA_VIEW_BASE_CLASS   NSView

Definition at line 309 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_CLASS [1/2]

#define COCOA_VIEW_CLASS   CocoaOpenGLView

Definition at line 308 of file GHOST_WindowCocoa.mm.

◆ COCOA_VIEW_CLASS [2/2]

#define COCOA_VIEW_CLASS   CocoaMetalView

Definition at line 308 of file GHOST_WindowCocoa.mm.

Function Documentation

◆ getImageCursor()

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

Definition at line 963 of file GHOST_WindowCocoa.mm.

References int.

Referenced by GHOST_WindowCocoa::getStandardCursor().

◆ uns16ReverseBits()

static uint16_t uns16ReverseBits ( uint16_t shrt)
static

Reverse the bits in a uint16_t

Definition at line 1179 of file GHOST_WindowCocoa.mm.

Referenced by GHOST_WindowCocoa::setWindowCustomCursorShape().

Variable Documentation

◆ __pad0__

__pad0__

Definition at line 37 of file GHOST_WindowCocoa.mm.