mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
6cffb30330
. 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
23 lines
407 B
C
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 );
|