Files
Aerofoil/GpApp/Environ.h

40 lines
924 B
C
Raw Normal View History

2019-11-11 00:11:59 -05:00
//============================================================================
//----------------------------------------------------------------------------
// Environ.h
//----------------------------------------------------------------------------
//============================================================================
2021-03-29 21:41:11 -04:00
#pragma once
2019-11-11 00:11:59 -05:00
2019-12-26 12:58:58 -05:00
#include "PLQDraw.h"
2019-11-11 00:11:59 -05:00
typedef struct
{
Rect fullScreen, constrainedScreen, gray;
2019-11-11 00:11:59 -05:00
long dirID;
2020-06-13 04:33:41 -04:00
short isDepth;
2019-11-11 00:11:59 -05:00
short numScreens;
short vRefNum;
Boolean can1Bit;
Boolean can4Bit;
Boolean can8Bit;
Boolean wasColorOrGray;
Boolean hasWNE;
Boolean hasSystem7;
Boolean hasColor;
Boolean hasGestalt;
Boolean canSwitch;
Boolean canColor;
Boolean hasSM3;
Boolean hasQT;
Boolean hasDrag;
2020-04-01 14:53:44 -04:00
Boolean isResolutionDirty;
2020-10-11 19:50:03 -04:00
Boolean isTouchscreen;
Boolean isMouseTouchscreen;
2019-11-11 00:11:59 -05:00
} macEnviron;
extern macEnviron thisMac;
2020-04-01 14:53:44 -04:00
void FlushResolutionChange(void);