Blender V2.61 - r43446
Classes | Functions | Variables

GHOST_WindowCocoa.mm File Reference

#include <Cocoa/Cocoa.h>
#include <Carbon/Carbon.h>
#include <OpenGL/gl.h>
#include <OpenGL/CGLRenderers.h>
#include "GHOST_WindowCocoa.h"
#include "GHOST_SystemCocoa.h"
#include "GHOST_Debug.h"

Go to the source code of this file.

Classes

class  CocoaWindowDelegate
class  CocoaWindow
class  CocoaOpenGLView

Functions

static GHOST_TUns16 uns16ReverseBits (GHOST_TUns16 shrt)

Variables

 __pad0__
 associatedWindow = winCocoa

Function Documentation

static GHOST_TUns16 uns16ReverseBits ( GHOST_TUns16  shrt) [static]

Reverse the bits in a GHOST_TUns8 static GHOST_TUns8 uns8ReverseBits(GHOST_TUns8 ch) { ch= ((ch>>1)&0x55) | ((ch<<1)&0xAA); ch= ((ch>>2)&0x33) | ((ch<<2)&0xCC); ch= ((ch>>4)&0x0F) | ((ch<<4)&0xF0); return ch; } Reverse the bits in a GHOST_TUns16

Definition at line 1435 of file GHOST_WindowCocoa.mm.


Variable Documentation

Definition at line 82 of file GHOST_WindowCocoa.mm.

associatedWindow = winCocoa

Definition at line 83 of file GHOST_WindowCocoa.mm.