mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-20 04:30:54 +00:00
e27879ac99
. Move the Win32 implementation into Win32Frame.
30 lines
920 B
C++
30 lines
920 B
C++
#pragma once
|
|
|
|
class FrameBase
|
|
{
|
|
public:
|
|
FrameBase();
|
|
|
|
virtual ~FrameBase();
|
|
|
|
HINSTANCE g_hInstance;
|
|
HWND g_hFrameWindow;
|
|
BOOL g_bConfirmReboot; // saved PageConfig REGSAVE
|
|
BOOL g_bMultiMon;
|
|
bool g_bFreshReset;
|
|
|
|
virtual void FrameDrawDiskLEDS(HDC hdc) = 0;
|
|
virtual void FrameDrawDiskStatus(HDC hdc) = 0;
|
|
virtual void FrameRefreshStatus(int, bool bUpdateDiskStatus = true) = 0;
|
|
virtual void FrameUpdateApple2Type() = 0;
|
|
virtual void FrameSetCursorPosByMousePos() = 0;
|
|
|
|
virtual void VideoRedrawScreen() = 0;
|
|
virtual void SetFullScreenShowSubunitStatus(bool bShow) = 0;
|
|
virtual bool GetBestDisplayResolutionForFullScreen(UINT& bestWidth, UINT& bestHeight, UINT userSpecifiedHeight = 0) = 0;
|
|
virtual int SetViewportScale(int nNewScale, bool bForce = false) = 0;
|
|
virtual void SetAltEnterToggleFullScreen(bool mode) = 0;
|
|
|
|
virtual void SetLoadedSaveStateFlag(const bool bFlag) = 0;
|
|
};
|