Blender  V2.59
Defines | Functions | Variables
wm_apple.c File Reference
#include "BKE_context.h"
#include "BKE_global.h"
#include "WM_api.h"
#include <OpenGL/OpenGL.h>
#include <Carbon/Carbon.h>

Go to the source code of this file.

Defines

#define __CARBONSOUND__
#define ID   ID_

Functions

static int checkAppleVideoCard (void)
static void getMacAvailableBounds (short *top, short *left, short *bottom, short *right)
void wm_set_apple_prefsize (int scr_x, int scr_y)

Variables

int macPrefState = 0

Detailed Description

Definition in file wm_apple.c.


Define Documentation

#define __CARBONSOUND__

Definition at line 40 of file wm_apple.c.

#define ID   ID_

Definition at line 42 of file wm_apple.c.


Function Documentation

static int checkAppleVideoCard ( void  ) [static]

Definition at line 57 of file wm_apple.c.

References macPrefState, and NULL.

Referenced by wm_set_apple_prefsize().

static void getMacAvailableBounds ( short *  top,
short *  left,
short *  bottom,
short *  right 
) [static]

Definition at line 107 of file wm_apple.c.

Referenced by wm_set_apple_prefsize().

void wm_set_apple_prefsize ( int  scr_x,
int  scr_y 
)

Variable Documentation

int macPrefState = 0

Definition at line 55 of file wm_apple.c.

Referenced by checkAppleVideoCard(), and wm_window_add_ghostwindow().