2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
2010-12-18 20:55:55 +00:00
|
|
|
// 1.19.0.0 Hard Disk Status/Indicator Light
|
|
|
|
#define HD_LED 1
|
|
|
|
|
|
|
|
// Keyboard -- keystroke type
|
|
|
|
enum {NOT_ASCII=0, ASCII};
|
2006-02-25 20:50:29 +00:00
|
|
|
|
2008-08-31 04:31:35 +00:00
|
|
|
|
2006-07-02 09:56:50 +00:00
|
|
|
// Win32
|
2009-02-17 02:12:39 +00:00
|
|
|
extern HWND g_hFrameWindow;
|
2015-01-02 01:19:49 +00:00
|
|
|
extern int g_nViewportCX;
|
|
|
|
extern int g_nViewportCY;
|
2014-07-27 21:31:00 +00:00
|
|
|
extern BOOL g_bConfirmReboot; // saved PageConfig REGSAVE
|
2011-02-20 18:59:53 +00:00
|
|
|
extern BOOL g_bMultiMon;
|
2009-02-17 02:12:39 +00:00
|
|
|
|
2015-01-02 01:19:49 +00:00
|
|
|
|
2009-02-17 02:12:39 +00:00
|
|
|
// Emulator
|
|
|
|
extern bool g_bFreshReset;
|
2014-08-13 20:30:35 +00:00
|
|
|
extern std::string PathFilename[2];
|
2009-02-17 02:12:39 +00:00
|
|
|
extern bool g_bScrollLock_FullSpeed;
|
|
|
|
extern int g_nCharsetType;
|
|
|
|
|
2016-07-12 21:43:31 +00:00
|
|
|
|
2009-02-17 02:12:39 +00:00
|
|
|
// Prototypes
|
|
|
|
void CtrlReset();
|
|
|
|
|
2012-12-29 14:53:52 +00:00
|
|
|
void FrameCreateWindow(void);
|
2009-02-17 02:12:39 +00:00
|
|
|
HDC FrameGetDC ();
|
2017-10-11 18:18:53 +00:00
|
|
|
void FrameReleaseDC ();
|
2014-07-29 14:56:55 +00:00
|
|
|
void FrameRefreshStatus (int, bool bUpdateDiskStatus = true );
|
2009-02-17 02:12:39 +00:00
|
|
|
void FrameRegisterClass ();
|
|
|
|
void FrameSetCursorPosByMousePos();
|
2012-12-29 14:53:52 +00:00
|
|
|
int GetViewportScale(void);
|
2016-07-25 20:19:00 +00:00
|
|
|
int SetViewportScale(int nNewScale, bool bForce = false);
|
2012-12-29 14:53:52 +00:00
|
|
|
void GetViewportCXCY(int& nViewportCX, int& nViewportCY);
|
2016-03-21 23:48:02 +00:00
|
|
|
void FrameUpdateApple2Type(void);
|
2017-09-29 19:33:30 +00:00
|
|
|
bool GetBestDisplayResolutionForFullScreen(UINT& bestWidth, UINT& bestHeight, UINT userSpecifiedHeight=0);
|
2009-02-17 02:12:39 +00:00
|
|
|
|
2017-10-02 21:22:26 +00:00
|
|
|
bool IsFullScreen(void);
|
|
|
|
bool GetFullScreenShowSubunitStatus(void);
|
|
|
|
void SetFullScreenShowSubunitStatus(bool bShow);
|
|
|
|
|
2014-07-24 01:08:52 +00:00
|
|
|
void FrameDrawDiskLEDS( HDC hdc );
|
|
|
|
void FrameDrawDiskStatus( HDC hdc );
|
2014-07-22 01:21:31 +00:00
|
|
|
|
2009-02-17 02:12:39 +00:00
|
|
|
LRESULT CALLBACK FrameWndProc (
|
|
|
|
HWND window,
|
|
|
|
UINT message,
|
|
|
|
WPARAM wparam,
|
|
|
|
LPARAM lparam );
|
|
|
|
|
2016-07-26 21:33:45 +00:00
|
|
|
int GetFullScreenOffsetX(void);
|
|
|
|
int GetFullScreenOffsetY(void);
|
2017-10-11 16:38:36 +00:00
|
|
|
|
|
|
|
UINT GetFrameBufferBorderlessWidth(void);
|
|
|
|
UINT GetFrameBufferBorderlessHeight(void);
|
|
|
|
UINT GetFrameBufferBorderWidth(void);
|
|
|
|
UINT GetFrameBufferBorderHeight(void);
|
|
|
|
UINT GetFrameBufferWidth(void);
|
|
|
|
UINT GetFrameBufferHeight(void);
|
|
|
|
UINT Get3DBorderWidth(void);
|
|
|
|
UINT Get3DBorderHeight(void);
|