Blender V2.61 - r43446
Defines | Enumerations | Functions | Variables

GHOST_SystemCarbon.cpp File Reference

#include <Carbon/Carbon.h>
#include <ApplicationServices/ApplicationServices.h>
#include "GHOST_SystemCarbon.h"
#include "GHOST_DisplayManagerCarbon.h"
#include "GHOST_EventKey.h"
#include "GHOST_EventButton.h"
#include "GHOST_EventCursor.h"
#include "GHOST_EventWheel.h"
#include "GHOST_TimerManager.h"
#include "GHOST_TimerTask.h"
#include "GHOST_WindowManager.h"
#include "GHOST_WindowCarbon.h"
#include "GHOST_NDOFManager.h"
#include "AssertMacros.h"

Go to the source code of this file.

Defines

#define GHOST_KEY_SWITCH(mac, ghost)   { case (mac): ghostKey = (ghost); break; }
#define FIRSTFILEBUFLG   512

Enumerations

enum  { kEventClassBlender = 'blnd' }
enum  { kEventBlenderNdofAxis = 1, kEventBlenderNdofButtons = 2 }

Functions

static GHOST_TButtonMask convertButton (EventMouseButton button)
static GHOST_TKey convertKey (int rawCode)
static unsigned char convertRomanToLatin (unsigned char ascii)
int GHOST_HACK_getFirstFile (char buf[FIRSTFILEBUFLG])

Variables

const EventTypeSpec kEvents []
static bool g_hasFirstFile = false
static char g_firstFileBuf [512]

Detailed Description

Definition in file GHOST_SystemCarbon.cpp.


Define Documentation

#define FIRSTFILEBUFLG   512

Definition at line 578 of file GHOST_SystemCarbon.cpp.

#define GHOST_KEY_SWITCH (   mac,
  ghost 
)    { case (mac): ghostKey = (ghost); break; }

Copyright (C) 2001 NaN Technologies B.V.

Author:
Maarten Gribnau
Date:
May 7, 2001

Definition at line 60 of file GHOST_SystemCarbon.cpp.


Enumeration Type Documentation

anonymous enum
Enumerator:
kEventClassBlender 

Definition at line 63 of file GHOST_SystemCarbon.cpp.

anonymous enum
Enumerator:
kEventBlenderNdofAxis 
kEventBlenderNdofButtons 

Definition at line 67 of file GHOST_SystemCarbon.cpp.


Function Documentation

static GHOST_TButtonMask convertButton ( EventMouseButton  button) [static]
static GHOST_TKey convertKey ( int  rawCode) [static]
static unsigned char convertRomanToLatin ( unsigned char  ascii) [static]

Definition at line 233 of file GHOST_SystemCarbon.cpp.

Referenced by GHOST_SystemCarbon::handleKeyEvent().

int GHOST_HACK_getFirstFile ( char  buf[FIRSTFILEBUFLG])

Definition at line 582 of file GHOST_SystemCarbon.cpp.

References g_firstFileBuf, and g_hasFirstFile.


Variable Documentation

char g_firstFileBuf[512] [static]
bool g_hasFirstFile = false [static]
const EventTypeSpec kEvents[]

Definition at line 72 of file GHOST_SystemCarbon.cpp.

Referenced by GHOST_SystemCarbon::init().