Windows CE changes (from <Someone>)

The changes did not apply to the main trunk as easily as I wouuld have
hoped, so I attempted a number of manual applications. I hope <Someone>
can tell me if there is a problem.

Changelist:
- bugfix: help text windows close immediately after open (unhandled WM_KEYDOWN in mhtext.c)
- bugfix: action button uses hero coordinates instead of cursor position
- pocketpc: bugfix: menu window closes on up/down keys from first/last position
- smartphone: do not translate input when command helper is hidden (fixes Motorola Q keyboard bug)
- smartphone: new keypad layouts
- smartphone: wizard mode command layout
- smartphone: option to feed arbitrary text as a command to nethack core
- wrap/unwrap text option for text windows
- hardware keyboard detection
- hide keypad when hardware keyboard is present
- backport message window highlighting from winnt port
- new icon with recommended image sizes
This commit is contained in:
nethack.allison
2009-10-10 14:39:53 +00:00
parent 1ad1e07d7a
commit 142f13de3f
18 changed files with 844 additions and 81 deletions
+16 -7
View File
@@ -42,11 +42,11 @@ BEGIN
BEGIN
MENUITEM "Options", IDM_VIEW_OPTIONS
MENUITEM "Keypad", IDM_VIEW_KEYPAD
MENUITEM SEPARATOR
MENUITEM "Entire Map", IDM_MAP_FIT_TO_SCREEN
MENUITEM "Cmd", IDM_CMD_DLG
MENUITEM SEPARATOR
MENUITEM "ASCII", IDM_MAP_ASCII8X8
MENUITEM "Use Tiles", IDM_MAP_TILES
MENUITEM SEPARATOR
MENUITEM "Tiles", IDM_MAP_TILES
MENUITEM SEPARATOR
MENUITEM "Help", IDM_HELP_MENU
MENUITEM "Save", IDM_SAVE
MENUITEM "Quit", IDM_EXIT
@@ -59,7 +59,6 @@ BEGIN
MENUITEM "Cancel", IDCANCEL
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
@@ -245,6 +244,14 @@ BEGIN
NOMENU,
END
IDC_SPHONE_TEXTDIALOGBAR SHMENUBAR DISCARDABLE
BEGIN
IDC_SPHONE_DIALOGBAR, 2,
I_IMAGENONE, IDOK, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, IDOK, 0, NOMENU,
I_IMAGENONE, IDC_TEXT_TOGGLE_WRAP, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, IDS_TEXT_WRAP, 0,
NOMENU,
END
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
@@ -274,10 +281,10 @@ BEGIN
VALUE "FileDescription", "nethackm\0"
VALUE "FileVersion", "3, 5, 0, 0\0"
VALUE "InternalName", "nethackm\0"
VALUE "LegalCopyright", "Copyright © 2005\0"
VALUE "LegalCopyright", "Copyright © 1985-2010\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "nethackm.exe\0"
VALUE "PrivateBuild", "050309\0"
VALUE "PrivateBuild", "090914\0"
VALUE "ProductName", "NetHack For Smartphone\0"
VALUE "ProductVersion", "3, 5, 0, 0\0"
VALUE "SpecialBuild", "\0"
@@ -329,6 +336,8 @@ BEGIN
IDS_CAP_ENTIREMAP "Entire Map"
IDS_CAP_NORMALMAP "Normal Map"
IDM_HELP_MENU "Help Menu"
IDS_TEXT_WRAP "Wrap"
IDS_TEXT_UNWRAP "Unwrap"
END
#endif // English (U.S.) resources