Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
CoreHeaders/CoreGlobals.h
/* |
// SlimGlobals.h |
// |
// Global Variables Structures and Defines for the slim skeleton |
*/ |
#pragma once |
enum { |
kNumMoreMasters = 4, |
kLow16Bits = 16, |
kLow24Bits = 24 |
}; |
extern EventRecord gEvent; // the most recent event |
extern Boolean gDone; // true when Quit is selected |
extern Boolean gBackgroundFlag; // true if we are in the background |
extern Boolean gColorQD; // true if we can do color |
/* MACROS */ |
#define RHEIGHT(r) (r.bottom - r.top) |
#define RWIDTH(r) (r.right - r.left) |
#include "WindowDispatch.h" |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14