expand wincap options to second field
<Someone> wishes to add a couple of new options to the wince port ("run fullscreen" and "do not use CE software keyboard").
The wincap field was full, so this adds a second field for
additional options.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
struct window_procs {
|
||||
const char *name;
|
||||
unsigned long wincap; /* window port capability options supported */
|
||||
unsigned long wincap2; /* additional window port capability options supported */
|
||||
void FDECL((*win_init_nhwindows), (int *, char **));
|
||||
void NDECL((*win_player_selection));
|
||||
void NDECL((*win_askname));
|
||||
@@ -173,6 +174,10 @@ extern NEARDATA struct window_procs windowprocs;
|
||||
#define WC_MOUSE_SUPPORT 0x80000000L /* 32 mouse support */
|
||||
/* no free bits */
|
||||
|
||||
#define WC2_FULLSCREEN 0x01L /* 01 mouse support */
|
||||
#define WC2_SOFTKEYBOARD 0x02L /* 02 software keyboard */
|
||||
/* 30 free bits */
|
||||
|
||||
#define ALIGN_LEFT 1
|
||||
#define ALIGN_RIGHT 2
|
||||
#define ALIGN_TOP 3
|
||||
|
||||
Reference in New Issue
Block a user