AppleWin/source/Frame.h
2008-08-31 04:31:35 +00:00

38 lines
765 B
C

#pragma once
enum {NOT_ASCII=0, ASCII};
// 3D Border
#define VIEWPORTX 5
#define VIEWPORTY 5
// 560 = Double Hi-Res
// 384 = Doule Scan Line
#define FRAMEBUFFER_W 560
#define FRAMEBUFFER_H 384
// Win32
extern HWND g_hFrameWindow;
extern HDC g_hFrameDC;
extern BOOL fullscreen;
void FrameCreateWindow ();
HDC FrameGetDC ();
HDC FrameGetVideoDC (LPBYTE *,LONG *);
void FrameRefreshStatus (int);
void FrameRegisterClass ();
void FrameReleaseDC ();
void FrameReleaseVideoDC ();
void FrameSetCursorPosByMousePos();
extern string PathFilename[2];
LRESULT CALLBACK FrameWndProc (
HWND window,
UINT message,
WPARAM wparam,
LPARAM lparam );
extern bool g_bScrollLock_FullSpeed;
extern int g_nCharsetType;