2019-11-16 17:01:11 +00:00
|
|
|
#include "StdAfx.h"
|
|
|
|
|
|
|
|
#include "Common.h"
|
|
|
|
|
|
|
|
void FrameSetCursorPosByMousePos()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2019-11-17 13:57:34 +00:00
|
|
|
UINT GetFrameBufferBorderlessWidth(void)
|
|
|
|
{
|
|
|
|
static const UINT uFrameBufferBorderlessW = 560; // 560 = Double Hi-Res
|
|
|
|
return uFrameBufferBorderlessW;
|
|
|
|
}
|
|
|
|
|
|
|
|
UINT GetFrameBufferBorderlessHeight(void)
|
|
|
|
{
|
|
|
|
static const UINT uFrameBufferBorderlessH = 384; // 384 = Double Scan Line
|
|
|
|
return uFrameBufferBorderlessH;
|
|
|
|
}
|
|
|
|
|
|
|
|
// NB. These border areas are not visible (... and these border areas are unrelated to the 3D border below)
|
|
|
|
UINT GetFrameBufferBorderWidth(void)
|
|
|
|
{
|
|
|
|
static const UINT uBorderW = 20;
|
|
|
|
return uBorderW;
|
|
|
|
}
|
|
|
|
|
|
|
|
UINT GetFrameBufferBorderHeight(void)
|
|
|
|
{
|
|
|
|
static const UINT uBorderH = 18;
|
|
|
|
return uBorderH;
|
|
|
|
}
|
|
|
|
|
2019-11-16 17:01:11 +00:00
|
|
|
UINT GetFrameBufferWidth(void)
|
|
|
|
{
|
2019-11-17 13:57:34 +00:00
|
|
|
return GetFrameBufferBorderlessWidth() + 2*GetFrameBufferBorderWidth();
|
|
|
|
}
|
|
|
|
|
|
|
|
UINT GetFrameBufferHeight(void)
|
|
|
|
{
|
|
|
|
return GetFrameBufferBorderlessHeight() + 2*GetFrameBufferBorderHeight();
|
2019-11-16 17:01:11 +00:00
|
|
|
}
|
2020-06-24 08:34:01 +01:00
|
|
|
|
|
|
|
void FrameUpdateApple2Type()
|
|
|
|
{
|
|
|
|
}
|