--- np2/wince/gx/gx.cpp 2003/11/22 12:49:49 1.3 +++ np2/wince/gx/gx.cpp 2004/07/15 13:48:40 1.5 @@ -1,17 +1,32 @@ #include "compiler.h" #include "gx.h" +#if !defined(GX_DLL) -#ifndef SIZE_QVGA +#if defined(SIZE_QVGA) +#if defined(SUPPORT_SOFTKBD) enum { - WINDOW_WIDTH = 640, - WINDOW_HEIGHT = 400 + WINDOW_WIDTH = 320, + WINDOW_HEIGHT = 240 }; #else enum { WINDOW_WIDTH = 320, - WINDOW_HEIGHT = 240 + WINDOW_HEIGHT = 200 +}; +#endif +#else +#if defined(SUPPORT_SOFTKBD) +enum { + WINDOW_WIDTH = 640, + WINDOW_HEIGHT = 480 }; +#else +enum { + WINDOW_WIDTH = 640, + WINDOW_HEIGHT = 400 +}; +#endif #endif #pragma pack(push, 1) @@ -353,3 +368,5 @@ GXKeyList GXGetDefaultKeys(int iOptions) return(gxkl); } +#endif +