File:
[RetroPC.NET] /
np2 /
wince /
gx /
gx.h
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Tue Oct 21 23:57:41 2003 JST (22 years ago) by
yui
Branches:
MAIN
CVS tags:
VER_0_82_x64,
VER_0_82,
VER_0_81A,
VER_0_81,
VER_0_80,
VER_0_79,
VER_0_78,
VER_0_77,
VER_0_76,
VER_0_75,
VER_0_74,
VER_0_73,
VER_0_72,
VER_0_71,
VER_0_70,
HEAD
add wince (win9x debug only) (T.Yui)
enum {
GX_FULLSCREEN = 0x01,
GX_NORMALKEYS = 0x02,
};
enum {
kfLandscape = 0x008,
kfPalette = 0x010,
kfDirect = 0x020,
kfDirect555 = 0x040,
kfDirect565 = 0x080,
kfDirect888 = 0x100,
kfDirect444 = 0x200,
kfDirectInverted = 0x400
};
struct GXDisplayProperties {
DWORD cxWidth;
DWORD cyHeight;
long cbxPitch;
long cbyPitch;
long cBPP;
DWORD ffFormat;
};
struct GXKeyList {
short vkUp;
POINT ptUp;
short vkDown;
POINT ptDown;
short vkLeft;
POINT ptLeft;
short vkRight;
POINT ptRight;
short vkA;
POINT ptA;
short vkB;
POINT ptB;
short vkC;
POINT ptC;
short vkStart;
POINT ptStart;
};
int GXSetParam(GXDisplayProperties *gxdp);
int GXOpenDisplay(HWND hWnd, DWORD dwFlags);
int GXCloseDisplay(void);
void *GXBeginDraw(void);
int GXEndDraw(void);
GXDisplayProperties GXGetDisplayProperties(void);
int GXSuspend(void);
int GXResume(void);
int GXOpenInput(void);
int GXCloseInput(void);
GXKeyList GXGetDefaultKeys(int iOptions);
RetroPC.NET-CVS <cvs@retropc.net>