AppleWin/source/Windows/WinFrame.h
Andrea 6cffb30330
FrameBase: some changes to ease implementations (PR #910)
. simplify the interface FrameBase to make it easier to implement it for different cases (remove HDC and make parameters more explicit)
. remove functions which are only called on a Win32Frame (in which case a cast is guaranteed to succeed)
. otherwise there is the risk that every FrameBase implementation wants to add its own variants.
. FrameBase::FrameRefreshStatus() simplify implementation: pass all flags explicitly
2021-01-10 16:33:06 +00:00

23 lines
407 B
C

#pragma once
// Win32
extern int g_nViewportCX;
extern int g_nViewportCY;
// Emulator
extern bool g_bScrollLock_FullSpeed;
// Prototypes
HDC FrameGetDC ();
void FrameReleaseDC ();
int GetViewportScale(void);
void GetViewportCXCY(int& nViewportCX, int& nViewportCY);
LRESULT CALLBACK FrameWndProc (
HWND window,
UINT message,
WPARAM wparam,
LPARAM lparam );