2003-11-20 17:26:35 +01:00
|
|
|
// -*- mode: c; -*-
|
|
|
|
//
|
|
|
|
// Microsoft Developer Studio generated resource script. But now I'm
|
|
|
|
// editing it. :-)
|
|
|
|
//
|
|
|
|
#include "resource.h"
|
|
|
|
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
|
|
//
|
|
|
|
#include "newres.h"
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// English (U.S.) resources
|
|
|
|
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
|
|
#ifdef _WIN32
|
|
|
|
#include "winnt.h"
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
|
|
#pragma code_page(1252)
|
|
|
|
#endif //_WIN32
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Icon
|
|
|
|
//
|
|
|
|
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
|
|
// remains consistent on all systems.
|
2005-11-27 21:10:06 +01:00
|
|
|
IDI_XWORDS4 ICON DISCARDABLE "bmps/xwords4.ico"
|
2003-11-20 17:26:35 +01:00
|
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// TEXTINCLUDE
|
|
|
|
//
|
|
|
|
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
"#include ""winnt.h""\r\n"
|
|
|
|
"resource.h\0"
|
|
|
|
END
|
|
|
|
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
"#include ""newres.h""\r\n"
|
|
|
|
"\0"
|
|
|
|
END
|
|
|
|
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
"\r\n"
|
|
|
|
"\0"
|
|
|
|
END
|
|
|
|
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Menubar
|
|
|
|
//
|
|
|
|
|
|
|
|
IDM_MENU MENU DISCARDABLE
|
|
|
|
BEGIN
|
2008-01-20 16:36:17 +01:00
|
|
|
POPUP "Menu"
|
2003-11-20 17:26:35 +01:00
|
|
|
BEGIN
|
|
|
|
MENUITEM "Turn &done", ID_MOVE_TURNDONE
|
|
|
|
MENUITEM "&Juggle", ID_MOVE_JUGGLE
|
2008-01-20 16:36:17 +01:00
|
|
|
MENUITEM "Fli&p", ID_MOVE_FLIP
|
2003-11-20 17:26:35 +01:00
|
|
|
MENUITEM "&Trade", ID_MOVE_TRADE
|
|
|
|
MENUITEM "(un)&Hide tray", ID_MOVE_HIDETRAY
|
2008-01-20 16:36:17 +01:00
|
|
|
MENUITEM "Tile &values", ID_MOVE_VALUES
|
|
|
|
|
|
|
|
POPUP "&Undo"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "Undo current", ID_MOVE_UNDOCURRENT
|
|
|
|
MENUITEM "Undo last (&z)", ID_MOVE_UNDOLAST
|
|
|
|
END
|
|
|
|
|
|
|
|
POPUP "Hint"
|
|
|
|
BEGIN
|
2008-02-05 04:38:15 +01:00
|
|
|
MENUITEM "Next hint (&m)", ID_MOVE_NEXTHINT
|
2008-01-20 16:36:17 +01:00
|
|
|
MENUITEM "H&int", ID_MOVE_HINT
|
|
|
|
#ifdef XWFEATURE_SEARCHLIMIT
|
|
|
|
MENUITEM "Limited hint (&c)", ID_MOVE_LIMITEDHINT
|
|
|
|
#endif
|
|
|
|
END
|
|
|
|
|
|
|
|
POPUP "&File"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "Fu&ll screen", ID_FILE_FULLSCREEN
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "&New game", ID_FILE_NEWGAME
|
|
|
|
MENUITEM "Open &saved game", ID_FILE_SAVEDGAMES
|
|
|
|
MENUITEM "P&references", ID_FILE_PREFERENCES
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "&About", ID_FILE_ABOUT
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "E&xit", IDM_FILE_EXIT
|
|
|
|
END
|
|
|
|
|
|
|
|
POPUP "&Game"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "Tile counts and values", ID_GAME_TILECOUNTSANDVALUES
|
|
|
|
MENUITEM "Tiles left", ID_GAME_TILESLEFT
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Game info", ID_GAME_GAMEINFO
|
|
|
|
MENUITEM "History", ID_GAME_HISTORY
|
|
|
|
MENUITEM "Final sc&ores", ID_GAME_FINALSCORES
|
|
|
|
#if defined XWFEATURE_RELAY || defined XWFEATURE_BLUETOOTH
|
|
|
|
MENUITEM "Resend messages", ID_GAME_RESENDMSGS
|
|
|
|
#endif
|
|
|
|
END
|
2003-11-20 17:26:35 +01:00
|
|
|
END
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Dialog
|
|
|
|
//
|
2006-05-28 02:41:44 +02:00
|
|
|
#define REPOS_BUTTON_HT 14
|
|
|
|
#define REPOS_BUTTON_WIDTH 28
|
|
|
|
#define REPOS_BUTTON_VPAD 2
|
|
|
|
#define REPOS_BUTTON_HPAD 2
|
|
|
|
|
2003-11-20 17:26:35 +01:00
|
|
|
|
2006-04-30 23:51:19 +02:00
|
|
|
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 129, 95
|
2004-02-18 05:23:14 +01:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
2003-11-20 17:26:35 +01:00
|
|
|
EXSTYLE 0x80000000L
|
2004-01-10 19:03:27 +01:00
|
|
|
CAPTION "About Crosswords"
|
2003-11-20 17:26:35 +01:00
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
2004-01-25 17:48:09 +01:00
|
|
|
ICON IDI_XWORDS4,IDC_STATIC,8,17,20,20
|
2008-01-19 17:34:21 +01:00
|
|
|
LTEXT "Crosswords 4.2a1 (rev " SVN_REV ") "\
|
|
|
|
"for PocketPC. Copyright 1998-2008 by "\
|
2006-04-30 23:51:19 +02:00
|
|
|
"Eric House. This software is released under the GNU "\
|
|
|
|
"Public License.\r\r"\
|
|
|
|
"For dictionaries, a manual, or source code go to "\
|
2008-01-19 17:34:21 +01:00
|
|
|
"http://xwords.sf.net or http://eehouse.org/xwords/.",
|
2006-05-14 17:22:48 +02:00
|
|
|
IDC_STATIC,32,4,86,101,SS_NOPREFIX
|
2003-11-20 17:26:35 +01:00
|
|
|
END
|
|
|
|
|
2005-02-05 22:49:03 +01:00
|
|
|
#ifdef CEFEATURE_CANSCROLL
|
|
|
|
# define ROW_HEIGHT 10
|
|
|
|
# define ROW_SPACE 12
|
|
|
|
# define ROW_SPACE_PL 11
|
|
|
|
#else
|
|
|
|
# define ROW_HEIGHT 12
|
|
|
|
# define ROW_SPACE 15
|
|
|
|
# define ROW_SPACE_PL ROW_SPACE
|
|
|
|
#endif
|
2003-12-09 06:20:56 +01:00
|
|
|
#define LEFT_COL 2
|
2003-11-20 17:26:35 +01:00
|
|
|
#ifdef XWFEATURE_STANDALONE_ONLY
|
2003-12-09 06:20:56 +01:00
|
|
|
# define GAME_NAME_LEFT LEFT_COL
|
2003-11-20 17:26:35 +01:00
|
|
|
# define GAME_ROBOT_LEFT 81
|
|
|
|
# define GAME_PWD_LEFT 105
|
|
|
|
# define NPLAYERS_ROW 3
|
2006-06-10 18:15:31 +02:00
|
|
|
# define GAME_NAMELABEL_LEFT GAME_NAME_LEFT
|
|
|
|
# define GAME_ROBOTLABEL_LEFT GAME_ROBOT_LEFT
|
|
|
|
# define GAME_PWDLABEL_LEFT GAME_PWD_LEFT
|
2003-11-20 17:26:35 +01:00
|
|
|
#else
|
|
|
|
# define SERVERROLE_ROW 3
|
|
|
|
# define NPLAYERS_ROW (SERVERROLE_ROW+ROW_SPACE+3)
|
2005-07-23 17:31:21 +02:00
|
|
|
# define GAME_REMOTE_LEFT 2
|
|
|
|
# define GAME_NAME_LEFT 15
|
2003-11-20 17:26:35 +01:00
|
|
|
# define GAME_ROBOT_LEFT 92
|
|
|
|
# define GAME_PWD_LEFT 110
|
2005-07-23 17:31:21 +02:00
|
|
|
# define GAME_NAMELABEL_LEFT (GAME_NAME_LEFT + 20)
|
2006-06-10 18:15:31 +02:00
|
|
|
# define GAME_ROBOTLABEL_LEFT 87
|
|
|
|
# define GAME_PWDLABEL_LEFT 112
|
2003-11-20 17:26:35 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2006-07-02 02:42:41 +02:00
|
|
|
#define LABELS_ROW (NPLAYERS_ROW+ROW_SPACE+3)
|
|
|
|
#define PLAYER_ROW_1 (LABELS_ROW+ROW_SPACE_PL)
|
2005-02-05 22:49:03 +01:00
|
|
|
#define PLAYER_ROW_2 (PLAYER_ROW_1+ROW_SPACE_PL)
|
|
|
|
#define PLAYER_ROW_3 (PLAYER_ROW_2+ROW_SPACE_PL)
|
|
|
|
#define PLAYER_ROW_4 (PLAYER_ROW_3+ROW_SPACE_PL)
|
2006-07-02 02:42:41 +02:00
|
|
|
#define DICTPICK_ROW (PLAYER_ROW_4+ROW_SPACE+2)
|
2003-11-20 17:26:35 +01:00
|
|
|
#define BUTTONS_ROW (DICTPICK_ROW+ROW_SPACE+3)
|
2005-02-05 22:49:03 +01:00
|
|
|
#define BUTTON_HT 12
|
|
|
|
#define GAMEINFO_HEIGHT (BUTTONS_ROW + BUTTON_HT + 4)
|
2003-11-20 17:26:35 +01:00
|
|
|
|
2005-07-23 17:31:21 +02:00
|
|
|
#define CHECK_WIDTH 10
|
|
|
|
|
2003-12-09 06:20:56 +01:00
|
|
|
IDD_GAMEINFO DIALOG DISCARDABLE 0, 0, 133, GAMEINFO_HEIGHT
|
2004-02-18 05:23:14 +01:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
2003-11-20 17:26:35 +01:00
|
|
|
CAPTION "Game info"
|
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
|
|
|
#ifndef XWFEATURE_STANDALONE_ONLY
|
|
|
|
LTEXT "Role:",IDC_STATIC,25,SERVERROLE_ROW,20,8
|
|
|
|
COMBOBOX IDC_ROLECOMBO,45,SERVERROLE_ROW,50,58,CBS_DROPDOWNLIST |
|
|
|
|
WS_VSCROLL | WS_TABSTOP
|
2005-07-23 17:31:21 +02:00
|
|
|
|
2003-11-20 17:26:35 +01:00
|
|
|
#endif
|
2006-07-02 02:42:41 +02:00
|
|
|
LTEXT "",IDC_TOTAL_LABEL,LEFT_COL,NPLAYERS_ROW,43,8
|
|
|
|
COMBOBOX IDC_NPLAYERSCOMBO,46,NPLAYERS_ROW,17,58,CBS_DROPDOWNLIST |
|
2003-11-20 17:26:35 +01:00
|
|
|
WS_VSCROLL | WS_TABSTOP
|
2006-06-08 03:35:20 +02:00
|
|
|
|
2006-07-02 02:42:41 +02:00
|
|
|
// "R" for rearrange. Go to J if no change becomes possible.
|
|
|
|
PUSHBUTTON "R",GIJUGGLE_BUTTON,65,NPLAYERS_ROW,12,12
|
2006-06-08 03:35:20 +02:00
|
|
|
|
2006-07-04 00:34:36 +02:00
|
|
|
PUSHBUTTON "Preferences...",OPTIONS_BUTTON,79,NPLAYERS_ROW,51,12
|
2003-11-20 17:26:35 +01:00
|
|
|
LTEXT "Name",IDC_STATIC,GAME_NAMELABEL_LEFT,
|
|
|
|
LABELS_ROW,19,8,SS_NOPREFIX
|
2006-06-10 18:15:31 +02:00
|
|
|
LTEXT "Robot",IDC_STATIC,GAME_ROBOTLABEL_LEFT,LABELS_ROW,20,8
|
|
|
|
LTEXT "Pwd",IDC_STATIC,GAME_PWDLABEL_LEFT,LABELS_ROW,16,8
|
2006-10-28 16:56:04 +02:00
|
|
|
#if defined XWFEATURE_RELAY || defined XWFEATURE_BLUETOOTH
|
2006-06-10 18:15:31 +02:00
|
|
|
LTEXT "Remote",IDC_REMOTE_LABEL,LEFT_COL,LABELS_ROW,25,8,SS_NOPREFIX
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "",REMOTE_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
2005-07-23 17:31:21 +02:00
|
|
|
GAME_REMOTE_LEFT, PLAYER_ROW_1,CHECK_WIDTH,ROW_HEIGHT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "",REMOTE_CHECK2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
2005-07-23 17:31:21 +02:00
|
|
|
GAME_REMOTE_LEFT, PLAYER_ROW_2,CHECK_WIDTH,ROW_HEIGHT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "",REMOTE_CHECK3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
2005-07-23 17:31:21 +02:00
|
|
|
GAME_REMOTE_LEFT, PLAYER_ROW_3,CHECK_WIDTH,ROW_HEIGHT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "",REMOTE_CHECK4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
2005-07-23 17:31:21 +02:00
|
|
|
GAME_REMOTE_LEFT, PLAYER_ROW_4,CHECK_WIDTH,ROW_HEIGHT
|
2003-11-20 17:26:35 +01:00
|
|
|
#endif
|
|
|
|
CONTROL "",ROBOT_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
2005-07-23 17:31:21 +02:00
|
|
|
GAME_ROBOT_LEFT,PLAYER_ROW_1,CHECK_WIDTH,ROW_HEIGHT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "",ROBOT_CHECK2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
2005-07-23 17:31:21 +02:00
|
|
|
GAME_ROBOT_LEFT,PLAYER_ROW_2,CHECK_WIDTH,ROW_HEIGHT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "",ROBOT_CHECK3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
2005-07-23 17:31:21 +02:00
|
|
|
GAME_ROBOT_LEFT,PLAYER_ROW_3,CHECK_WIDTH,ROW_HEIGHT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "",ROBOT_CHECK4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
2005-07-23 17:31:21 +02:00
|
|
|
GAME_ROBOT_LEFT, PLAYER_ROW_4,CHECK_WIDTH,ROW_HEIGHT
|
2003-11-20 17:26:35 +01:00
|
|
|
|
2005-02-05 22:49:03 +01:00
|
|
|
EDITTEXT NAME_EDIT1,GAME_NAME_LEFT,PLAYER_ROW_1,70,ROW_HEIGHT,
|
|
|
|
ES_AUTOHSCROLL
|
|
|
|
EDITTEXT NAME_EDIT2,GAME_NAME_LEFT,PLAYER_ROW_2,70,ROW_HEIGHT,
|
|
|
|
ES_AUTOHSCROLL
|
|
|
|
EDITTEXT NAME_EDIT3,GAME_NAME_LEFT,PLAYER_ROW_3,70,ROW_HEIGHT,
|
|
|
|
ES_AUTOHSCROLL
|
|
|
|
EDITTEXT NAME_EDIT4,GAME_NAME_LEFT,PLAYER_ROW_4,70,ROW_HEIGHT,
|
2003-11-20 17:26:35 +01:00
|
|
|
ES_AUTOHSCROLL | NOT WS_VISIBLE
|
|
|
|
|
2005-07-23 17:31:21 +02:00
|
|
|
EDITTEXT PASS_EDIT1,GAME_PWD_LEFT,PLAYER_ROW_1,20,ROW_HEIGHT,
|
2003-11-20 17:26:35 +01:00
|
|
|
ES_PASSWORD | ES_AUTOHSCROLL
|
2005-07-23 17:31:21 +02:00
|
|
|
EDITTEXT PASS_EDIT2,GAME_PWD_LEFT,PLAYER_ROW_2,20,ROW_HEIGHT,
|
2003-11-20 17:26:35 +01:00
|
|
|
ES_PASSWORD | ES_AUTOHSCROLL
|
2005-07-23 17:31:21 +02:00
|
|
|
EDITTEXT PASS_EDIT3,GAME_PWD_LEFT,PLAYER_ROW_3,20,ROW_HEIGHT,
|
2003-11-20 17:26:35 +01:00
|
|
|
ES_PASSWORD | ES_AUTOHSCROLL
|
2005-07-23 17:31:21 +02:00
|
|
|
EDITTEXT PASS_EDIT4,GAME_PWD_LEFT,PLAYER_ROW_4,20,ROW_HEIGHT,
|
2003-11-20 17:26:35 +01:00
|
|
|
ES_PASSWORD | ES_AUTOHSCROLL
|
|
|
|
|
2006-04-22 16:05:09 +02:00
|
|
|
LTEXT "Dictionary:",IDC_STATIC,LEFT_COL,DICTPICK_ROW,36,8,
|
|
|
|
SS_NOPREFIX
|
2006-04-20 15:48:44 +02:00
|
|
|
COMBOBOX IDC_DICTCOMBO,43,DICTPICK_ROW,85,58,
|
2006-04-19 06:56:00 +02:00
|
|
|
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
PUSHBUTTON "OK",IDOK,29,BUTTONS_ROW,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2006-05-25 05:41:32 +02:00
|
|
|
DEFPUSHBUTTON "Cancel",IDCANCEL,70,BUTTONS_ROW,
|
|
|
|
REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2003-11-20 17:26:35 +01:00
|
|
|
END
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
#define SB_WIDTH 121
|
|
|
|
#define SB_BUTTON_WIDTH 19
|
|
|
|
#define SB_OK_LEFT ((SB_WIDTH/2)-10-SB_BUTTON_WIDTH)
|
|
|
|
#define SB_CANCEL_LEFT ((SB_WIDTH/2)+10)
|
|
|
|
|
|
|
|
|
|
|
|
IDD_STRBOX DIALOG DISCARDABLE 0, 25, SB_WIDTH, 97
|
2004-02-18 05:23:14 +01:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | /*WS_SYSMENU | */ DS_CENTER
|
2003-11-20 17:26:35 +01:00
|
|
|
CAPTION "Dialog"
|
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
2006-05-28 00:21:09 +02:00
|
|
|
EDITTEXT ID_EDITTEXT,3,3,115,76,ES_MULTILINE | ES_READONLY
|
2004-02-27 07:10:54 +01:00
|
|
|
| WS_VSCROLL
|
2006-05-28 00:21:09 +02:00
|
|
|
PUSHBUTTON "OK",IDOK, SB_OK_LEFT,81,SB_BUTTON_WIDTH,REPOS_BUTTON_HT
|
|
|
|
DEFPUSHBUTTON "No",IDCANCEL,SB_CANCEL_LEFT,81,SB_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2003-11-20 17:26:35 +01:00
|
|
|
END
|
|
|
|
|
2003-12-09 06:20:56 +01:00
|
|
|
IDD_ASKBLANK DIALOG DISCARDABLE 0, 0, 131, 90
|
2004-02-18 05:23:14 +01:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
2003-12-09 06:20:56 +01:00
|
|
|
CAPTION "Tile picker"
|
2003-11-20 17:26:35 +01:00
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
2004-02-14 07:09:19 +01:00
|
|
|
DEFPUSHBUTTON "OK",IDOK,70,70,20,14
|
2003-12-09 06:20:56 +01:00
|
|
|
LTEXT "Enter a letter for this blank tile.",IDC_BPICK,8,8,63,18
|
|
|
|
#ifdef FEATURE_TRAY_EDIT
|
2006-05-28 00:21:09 +02:00
|
|
|
PUSHBUTTON "Pick all!",IDC_PICKALL,8,70,39,14
|
|
|
|
PUSHBUTTON "Del",IDC_BACKUP,48,70,18,14
|
2003-12-09 06:20:56 +01:00
|
|
|
LTEXT "Pick a tile for your tray.",IDC_CPICK,8,8,63,18
|
|
|
|
|
|
|
|
EDITTEXT IDC_PICKMSG,8,28,80,30,ES_MULTILINE | ES_READONLY
|
|
|
|
|
|
|
|
#endif
|
|
|
|
LISTBOX BLANKFACE_LIST,100,5,25,83,LBS_NOINTEGRALHEIGHT |
|
2003-11-20 17:26:35 +01:00
|
|
|
WS_VSCROLL | WS_TABSTOP
|
|
|
|
END
|
|
|
|
|
2006-05-28 00:47:33 +02:00
|
|
|
#define PW_WIDTH 104
|
|
|
|
#define PW_OK_LEFT ((PW_WIDTH/2)-10-REPOS_BUTTON_WIDTH)
|
|
|
|
#define PW_CANCEL_LEFT ((PW_WIDTH/2)+10)
|
|
|
|
|
|
|
|
IDD_ASKPASS DIALOG DISCARDABLE 0, 0, PW_WIDTH, 50
|
2004-02-18 05:23:14 +01:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
2003-11-20 17:26:35 +01:00
|
|
|
CAPTION "Password"
|
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
2006-05-28 00:47:33 +02:00
|
|
|
LTEXT "",IDC_PWDLABEL,5,8,67,24
|
|
|
|
EDITTEXT PASS_EDIT,76,8,23,12,ES_PASSWORD | ES_AUTOHSCROLL
|
|
|
|
DEFPUSHBUTTON "OK",IDOK,PW_OK_LEFT,32,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
|
|
|
PUSHBUTTON "Cancel",IDCANCEL,PW_CANCEL_LEFT,32,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2003-11-20 17:26:35 +01:00
|
|
|
END
|
|
|
|
|
2004-07-10 19:47:30 +02:00
|
|
|
#ifdef XWFEATURE_SEARCHLIMIT
|
2006-05-28 00:21:09 +02:00
|
|
|
#define HC_LABELS_COL 5
|
|
|
|
#define HC_DROPDOWNS_COL 70
|
|
|
|
#define HC_MINROW 3
|
|
|
|
#define HC_MAXROW 16
|
|
|
|
#define HC_WIDTH 90
|
|
|
|
#define HC_OK_LEFT ((HC_WIDTH/2)-10-REPOS_BUTTON_WIDTH)
|
|
|
|
#define HC_CANCEL_LEFT ((HC_WIDTH/2)+10)
|
2004-07-10 19:47:30 +02:00
|
|
|
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
IDD_ASKHINTLIMTS DIALOG DISCARDABLE 0, 0, HC_WIDTH, 47
|
2004-07-10 19:47:30 +02:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
|
|
|
CAPTION "Tile hint limits"
|
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
2006-05-28 00:21:09 +02:00
|
|
|
LTEXT "Use at least:",IDC_STATIC,HC_LABELS_COL,HC_MINROW,60,8
|
|
|
|
COMBOBOX HC_MIN_COMBO,HC_DROPDOWNS_COL,HC_MINROW,17,58,
|
2004-07-10 19:47:30 +02:00
|
|
|
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
LTEXT "But no more than:",IDC_STATIC,HC_LABELS_COL,HC_MAXROW,60,8
|
|
|
|
COMBOBOX HC_MAX_COMBO,HC_DROPDOWNS_COL,HC_MAXROW,17,58,
|
2004-07-10 19:47:30 +02:00
|
|
|
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
DEFPUSHBUTTON "OK",IDOK,HC_OK_LEFT,31,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
|
|
|
PUSHBUTTON "Cancel",IDCANCEL,HC_CANCEL_LEFT,31,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2004-07-10 19:47:30 +02:00
|
|
|
END
|
|
|
|
#endif
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
#define PR_WIDTH 118
|
|
|
|
#define PR_OK_LEFT ((PR_WIDTH/2)-10-REPOS_BUTTON_WIDTH)
|
|
|
|
#define PR_CANCEL_LEFT ((PR_WIDTH/2)+10)
|
2006-07-02 03:08:45 +02:00
|
|
|
#define PREFS_ROW_HT 9
|
2006-05-28 00:21:09 +02:00
|
|
|
|
|
|
|
IDD_OPTIONSDLG DIALOG DISCARDABLE 0, 20, PR_WIDTH, 112
|
2004-02-18 05:23:14 +01:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
2003-11-20 17:26:35 +01:00
|
|
|
CAPTION "Preferences"
|
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
|
|
|
CONTROL "Global prefs",IDC_RADIOGLOBAL,"Button",
|
2006-05-28 00:21:09 +02:00
|
|
|
BS_AUTORADIOBUTTON | WS_GROUP,4,5,54,10
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "Game prefs",IDC_RADIOLOCAL,"Button",BS_AUTORADIOBUTTON,
|
2006-05-28 00:21:09 +02:00
|
|
|
64,5,53,10
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "Color played tiles",IDC_CHECKCOLORPLAYED,"Button",
|
2006-07-02 03:08:45 +02:00
|
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,8,20,90,PREFS_ROW_HT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "Enable cursor",IDC_CHECKSHOWCURSOR,"Button",
|
2006-07-02 03:08:45 +02:00
|
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,8,35,90,PREFS_ROW_HT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "Explain robot scores",IDC_CHECKROBOTSCORES,"Button",
|
2006-07-02 03:08:45 +02:00
|
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,8,50,90,PREFS_ROW_HT
|
2004-04-15 04:18:13 +02:00
|
|
|
PUSHBUTTON "Edit colors...",IDC_PREFCOLORS,8,67,60,12
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "Smart robot",IDC_CHECKSMARTROBOT,"Button",
|
2006-07-02 03:08:45 +02:00
|
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,8,20,90,PREFS_ROW_HT
|
2003-11-20 17:26:35 +01:00
|
|
|
CONTROL "Disallow hints",IDC_CHECKNOHINTS,"Button",
|
2006-07-02 03:08:45 +02:00
|
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,8,35,60,PREFS_ROW_HT
|
2004-06-18 15:29:19 +02:00
|
|
|
#ifdef XWFEATURE_SEARCHLIMIT
|
|
|
|
CONTROL "Hint limits",IDC_CHECKHINTSLIMITS,"Button",
|
2006-07-02 02:42:41 +02:00
|
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,69,35,50,10
|
2004-06-18 15:29:19 +02:00
|
|
|
#endif
|
2003-11-20 17:26:35 +01:00
|
|
|
|
|
|
|
CONTROL "Timer on (minutes)",TIMER_CHECK,"Button",
|
2006-07-02 03:08:45 +02:00
|
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,8,50,85,PREFS_ROW_HT
|
2003-11-20 17:26:35 +01:00
|
|
|
EDITTEXT TIMER_EDIT,93,52,24,12,ES_AUTOHSCROLL | ES_NUMBER
|
2006-07-02 03:08:45 +02:00
|
|
|
LTEXT "Phonies:",PHONIES_LABEL,8,65,28,PREFS_ROW_HT
|
2006-05-28 00:21:09 +02:00
|
|
|
COMBOBOX PHONIES_COMBO,38,65,67,58,CBS_DROPDOWNLIST | WS_VSCROLL |
|
2003-11-20 17:26:35 +01:00
|
|
|
WS_TABSTOP
|
2003-12-09 06:20:56 +01:00
|
|
|
#ifdef FEATURE_TRAY_EDIT
|
|
|
|
CONTROL "Pick tiles face-up", IDC_PICKTILES, "Button",
|
2006-07-02 03:08:45 +02:00
|
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,8,80,90,PREFS_ROW_HT
|
2003-12-09 06:20:56 +01:00
|
|
|
#else
|
|
|
|
#endif
|
2006-05-28 00:21:09 +02:00
|
|
|
DEFPUSHBUTTON "OK",IDOK,PR_OK_LEFT,95,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
|
|
|
PUSHBUTTON "Cancel",IDCANCEL,PR_CANCEL_LEFT,95,
|
|
|
|
REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2003-11-20 17:26:35 +01:00
|
|
|
END
|
|
|
|
|
2006-10-28 16:56:04 +02:00
|
|
|
#if defined XWFEATURE_RELAY || defined XWFEATURE_BLUETOOTH
|
2005-07-23 17:31:21 +02:00
|
|
|
|
|
|
|
# define LAB_COL 8
|
|
|
|
# define LAB_COL_WIDTH 40
|
|
|
|
# define CTRL_COL 50
|
|
|
|
# define CTRL_COL_WIDTH 60
|
|
|
|
# define CONN_ROW_1 10
|
|
|
|
# define CONN_ROW_2 25
|
2005-07-30 03:51:24 +02:00
|
|
|
# define CONN_ROW_HINT 45
|
|
|
|
# define CONN_ROW_3 57
|
|
|
|
# define CONN_ROW_4 70
|
|
|
|
# define BUTTON_ROW 98
|
2005-07-23 17:31:21 +02:00
|
|
|
/* #This is a comment???? */
|
|
|
|
IDD_CONNSSDLG DIALOG DISCARDABLE 0, 20, 120, 115
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
|
|
|
CAPTION "Connection"
|
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
|
|
|
|
|
|
|
LTEXT "Connect via",IDC_CCONVIA_LAB,LAB_COL,CONN_ROW_1,40,12
|
|
|
|
COMBOBOX IDC_CONNECTCOMBO,CTRL_COL,CONN_ROW_1,CTRL_COL_WIDTH,58,CBS_DROPDOWNLIST |
|
|
|
|
WS_VSCROLL | WS_TABSTOP
|
2006-10-28 16:56:04 +02:00
|
|
|
|
|
|
|
#ifdef XWFEATURE_RELAY
|
2005-07-30 03:51:24 +02:00
|
|
|
LTEXT "Cookie",IDC_COOKIE_LAB,LAB_COL,CONN_ROW_2,40,12
|
|
|
|
EDITTEXT COOKIE_EDIT,CTRL_COL,CONN_ROW_2,CTRL_COL_WIDTH,12,
|
2005-07-23 17:31:21 +02:00
|
|
|
ES_AUTOHSCROLL
|
|
|
|
|
|
|
|
|
2005-07-30 03:51:24 +02:00
|
|
|
CTEXT "(These will rarely change)",IDC_CRELAYHINT_LAB,0,CONN_ROW_HINT,120,12
|
|
|
|
LTEXT "Relay name",IDC_CRELAYNAME_LAB,LAB_COL,CONN_ROW_3,40,12
|
|
|
|
EDITTEXT RELAYNAME_EDIT,CTRL_COL,CONN_ROW_3,CTRL_COL_WIDTH,12,
|
|
|
|
ES_AUTOHSCROLL
|
|
|
|
LTEXT "Relay port",IDC_CRELAYPORT_LAB,LAB_COL,CONN_ROW_4,40,12
|
|
|
|
EDITTEXT RELAYPORT_EDIT,CTRL_COL,CONN_ROW_4,CTRL_COL_WIDTH,12,
|
|
|
|
ES_AUTOHSCROLL | ES_NUMBER
|
2006-10-28 16:56:04 +02:00
|
|
|
#else
|
|
|
|
LTEXT "Relay connection not supported.",IDC_COOKIE_LAB,LAB_COL,CONN_ROW_2,40,12
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XWFEATURE_BLUETOOTH
|
|
|
|
LTEXT "Host name:",
|
|
|
|
IDC_BLUET_ADDR_LAB,LAB_COL,CONN_ROW_2,40,36
|
|
|
|
EDITTEXT IDC_BLUET_ADDR_EDIT,CTRL_COL,CONN_ROW_2,CTRL_COL_WIDTH,12,
|
|
|
|
ES_AUTOHSCROLL
|
|
|
|
PUSHBUTTON "Browse",IDC_BLUET_ADDR_BROWSE,CTRL_COL,CONN_ROW_HINT,
|
|
|
|
REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
|
|
|
|
|
|
|
#else
|
|
|
|
LTEXT "Bluetooth not supported.",
|
|
|
|
IDC_BLUET_ADDR_LAB,LAB_COL,CONN_ROW_2,40,12
|
|
|
|
#endif
|
2005-07-23 17:31:21 +02:00
|
|
|
|
2006-06-10 18:15:31 +02:00
|
|
|
PUSHBUTTON "OK",IDOK,9,BUTTON_ROW,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
|
|
|
DEFPUSHBUTTON "Cancel",IDCANCEL,70,BUTTON_ROW,
|
2006-05-25 05:41:32 +02:00
|
|
|
REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2005-07-23 17:31:21 +02:00
|
|
|
END
|
|
|
|
#endif
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
#define CLR_WIDTH 114
|
|
|
|
#define CLR_OK_LEFT ((CLR_WIDTH/2)-10-REPOS_BUTTON_WIDTH)
|
|
|
|
#define CLR_CANCEL_LEFT ((CLR_WIDTH/2)+10)
|
2004-04-15 04:18:13 +02:00
|
|
|
#define CLR_LAB_WIDTH 40
|
2007-01-19 09:24:02 +01:00
|
|
|
#define CLR_LAB_HT 12
|
2004-03-28 03:18:59 +02:00
|
|
|
#define CLR_BUT_WIDTH 12
|
2007-01-19 09:24:02 +01:00
|
|
|
#define CLR_BUT_HT 10
|
|
|
|
|
|
|
|
#define CLR_SMALL_GAP 12
|
|
|
|
#define CLR_LRG_GAP 14
|
|
|
|
|
|
|
|
#define CLR_ROW_1 4
|
|
|
|
#define CLR_ROW_2 (CLR_ROW_1+CLR_SMALL_GAP)
|
|
|
|
#define CLR_ROW_3 (CLR_ROW_2+CLR_LRG_GAP)
|
|
|
|
#define CLR_ROW_4 (CLR_ROW_3+CLR_SMALL_GAP)
|
|
|
|
#define CLR_ROW_5 (CLR_ROW_4+CLR_LRG_GAP)
|
|
|
|
#define CLR_ROW_6 (CLR_ROW_5+CLR_SMALL_GAP)
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
#define CLR_BUTTON_ROW 81
|
2004-04-15 04:18:13 +02:00
|
|
|
#define CLR_COL_1 2
|
|
|
|
#define CLR_COL_2 43
|
|
|
|
#define CLR_COL_3 58
|
|
|
|
#define CLR_COL_4 99
|
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
IDD_COLORSDLG DIALOG DISCARDABLE 0, 20, CLR_WIDTH, 96
|
2004-03-28 03:18:59 +02:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
|
|
|
CAPTION "Color preferences"
|
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
2004-04-15 04:18:13 +02:00
|
|
|
LTEXT "Dbl letter:",DLBLTR_LABEL,CLR_COL_1,CLR_ROW_1,
|
2004-03-28 03:18:59 +02:00
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2006-05-28 00:21:09 +02:00
|
|
|
PUSHBUTTON "",DLBLTR_BUTTON,CLR_COL_2,CLR_ROW_1,CLR_BUT_WIDTH,
|
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
LTEXT "Dbl word:",DBLWRD_LABEL,CLR_COL_3,CLR_ROW_1,
|
2004-03-28 03:18:59 +02:00
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2006-05-28 00:21:09 +02:00
|
|
|
PUSHBUTTON "",DBLWRD_BUTTON,CLR_COL_4,CLR_ROW_1,CLR_BUT_WIDTH,
|
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
|
|
|
LTEXT "Triple letter:",TPLLTR_LABEL,CLR_COL_1,CLR_ROW_2,
|
2006-05-28 00:21:09 +02:00
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
|
|
|
PUSHBUTTON "",TPLLTR_BUTTON,CLR_COL_2,CLR_ROW_2,CLR_BUT_WIDTH,
|
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
|
|
|
LTEXT "Triple word:",TPLWRD_LABEL,CLR_COL_3,CLR_ROW_2,
|
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2006-05-28 00:21:09 +02:00
|
|
|
PUSHBUTTON "",TPLWRD_BUTTON,CLR_COL_4,CLR_ROW_2,CLR_BUT_WIDTH,
|
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
|
|
|
LTEXT "Empty cell:",EMPTYCELL_LABEL,CLR_COL_1,CLR_ROW_3,
|
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2006-05-28 00:21:09 +02:00
|
|
|
PUSHBUTTON "",EMPCELL_BUTTON,CLR_COL_2,CLR_ROW_3,CLR_BUT_WIDTH,
|
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
|
|
|
LTEXT "Tile bkgnd:",TILEBACK_LABEL,CLR_COL_3,CLR_ROW_3,
|
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2006-05-28 00:21:09 +02:00
|
|
|
PUSHBUTTON "",TBACK_BUTTON,CLR_COL_4,CLR_ROW_3,CLR_BUT_WIDTH,
|
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
2007-01-19 09:24:02 +01:00
|
|
|
LTEXT "Focus color:",FOCURCLR_LABEL,CLR_COL_1,CLR_ROW_4,
|
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
|
|
|
PUSHBUTTON "",FOCUS_BUTTON,CLR_COL_2,CLR_ROW_4,CLR_BUT_WIDTH,
|
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
|
|
|
|
|
|
|
LTEXT "Player 1:",PLAYER1_LABEL,CLR_COL_1,CLR_ROW_5,
|
2004-03-28 03:18:59 +02:00
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2007-01-19 09:24:02 +01:00
|
|
|
PUSHBUTTON "",PLAYER1_BUTTON,CLR_COL_2,CLR_ROW_5,CLR_BUT_WIDTH,
|
2006-05-28 00:21:09 +02:00
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
2007-01-19 09:24:02 +01:00
|
|
|
LTEXT "Player 2:",PLAYER2_LABEL,CLR_COL_3,CLR_ROW_5,
|
2004-03-28 03:18:59 +02:00
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2007-01-19 09:24:02 +01:00
|
|
|
PUSHBUTTON "",PLAYER2_BUTTON,CLR_COL_4,CLR_ROW_5,CLR_BUT_WIDTH,
|
2006-05-28 00:21:09 +02:00
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
2007-01-19 09:24:02 +01:00
|
|
|
LTEXT "Player 3:",PLAYER3_LABEL,CLR_COL_1,CLR_ROW_6,
|
2004-03-28 03:18:59 +02:00
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2007-01-19 09:24:02 +01:00
|
|
|
PUSHBUTTON "",PLAYER3_BUTTON,CLR_COL_2,CLR_ROW_6,CLR_BUT_WIDTH,
|
2006-05-28 00:21:09 +02:00
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
2007-01-19 09:24:02 +01:00
|
|
|
LTEXT "Player 4:",PLAYER4_LABEL,CLR_COL_3,CLR_ROW_6,
|
2004-03-28 03:18:59 +02:00
|
|
|
CLR_LAB_WIDTH,CLR_LAB_HT
|
2007-01-19 09:24:02 +01:00
|
|
|
PUSHBUTTON "",PLAYER4_BUTTON,CLR_COL_4,CLR_ROW_6,CLR_BUT_WIDTH,
|
2006-05-28 00:21:09 +02:00
|
|
|
CLR_BUT_HT,BS_OWNERDRAW
|
2004-03-28 03:18:59 +02:00
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
DEFPUSHBUTTON "OK",IDOK,CLR_OK_LEFT,CLR_BUTTON_ROW,
|
|
|
|
REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
|
|
|
PUSHBUTTON "Cancel",IDCANCEL,CLR_CANCEL_LEFT,CLR_BUTTON_ROW,
|
|
|
|
REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2004-03-28 03:18:59 +02:00
|
|
|
END
|
2004-04-03 17:36:33 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
// Editor for individual colors
|
|
|
|
//
|
|
|
|
#ifdef MY_COLOR_SEL
|
2006-03-04 16:57:39 +01:00
|
|
|
|
|
|
|
# define CLRELABEL_COL 3
|
|
|
|
# define CLREEDIT_COL 28
|
|
|
|
# define CLRESLIDER_COL 45
|
|
|
|
# define CLRE_LAB_WIDTH 22
|
|
|
|
# define CLRE_LAB_HT 12
|
|
|
|
# define CLREDIT_ROW_1 5
|
|
|
|
# define CLREDIT_ROW_2 21
|
|
|
|
# define CLREDIT_ROW_3 37
|
|
|
|
# define SLIDER_WIDTH 46
|
2006-05-28 00:21:09 +02:00
|
|
|
#define CLRE_WIDTH 112
|
|
|
|
#define CLRE_OK_LEFT ((CLRE_WIDTH/2)-10-REPOS_BUTTON_WIDTH)
|
|
|
|
#define CLRE_CANCEL_LEFT ((CLRE_WIDTH/2)+10)
|
2004-04-03 17:36:33 +02:00
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
IDD_COLOREDITDLG DIALOG DISCARDABLE 0, 0, CLRE_WIDTH, 72
|
2004-04-03 17:36:33 +02:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER
|
|
|
|
CAPTION "Edit color"
|
|
|
|
FONT 8, "System"
|
|
|
|
BEGIN
|
|
|
|
LTEXT "Red:",RED_LABEL,CLRELABEL_COL,CLREDIT_ROW_1,
|
|
|
|
CLRE_LAB_WIDTH,CLRE_LAB_HT
|
|
|
|
EDITTEXT RED_EDIT,CLREEDIT_COL,CLREDIT_ROW_1,18,12,
|
|
|
|
ES_AUTOHSCROLL | ES_NUMBER
|
|
|
|
CONTROL "foo",CLREDT_SLIDER1,"msctls_trackbar32",
|
|
|
|
TBS_BOTH|TBS_NOTICKS|WS_TABSTOP,
|
2004-04-15 04:18:13 +02:00
|
|
|
CLRESLIDER_COL,CLREDIT_ROW_1,SLIDER_WIDTH,15
|
2004-04-03 17:36:33 +02:00
|
|
|
|
|
|
|
LTEXT "Green:",GREEN_LABEL,CLRELABEL_COL,CLREDIT_ROW_2,
|
|
|
|
CLRE_LAB_WIDTH,CLRE_LAB_HT
|
|
|
|
EDITTEXT GREEN_EDIT,CLREEDIT_COL,CLREDIT_ROW_2,18,12,
|
|
|
|
ES_AUTOHSCROLL | ES_NUMBER
|
|
|
|
CONTROL "foo",CLREDT_SLIDER2,"msctls_trackbar32",
|
|
|
|
TBS_BOTH|TBS_NOTICKS|WS_TABSTOP,
|
2004-04-15 04:18:13 +02:00
|
|
|
CLRESLIDER_COL,CLREDIT_ROW_2,SLIDER_WIDTH,15
|
2004-04-03 17:36:33 +02:00
|
|
|
|
|
|
|
LTEXT "Blue:",BLUE_LABEL,CLRELABEL_COL,CLREDIT_ROW_3,
|
|
|
|
CLRE_LAB_WIDTH,CLRE_LAB_HT
|
|
|
|
EDITTEXT BLUE_EDIT,CLREEDIT_COL,CLREDIT_ROW_3,18,12,
|
|
|
|
ES_AUTOHSCROLL | ES_NUMBER
|
|
|
|
CONTROL "foo",CLREDT_SLIDER3,"msctls_trackbar32",
|
|
|
|
TBS_BOTH|TBS_NOTICKS|WS_TABSTOP,
|
2004-04-15 04:18:13 +02:00
|
|
|
CLRESLIDER_COL,CLREDIT_ROW_3,SLIDER_WIDTH,15
|
2004-04-03 17:36:33 +02:00
|
|
|
|
2006-05-28 00:21:09 +02:00
|
|
|
DEFPUSHBUTTON "OK",IDOK,CLRE_OK_LEFT,56,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
|
|
|
PUSHBUTTON "Cancel",IDCANCEL,CLRE_CANCEL_LEFT,56,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT
|
2004-04-03 17:36:33 +02:00
|
|
|
END
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2003-11-20 17:26:35 +01:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// DESIGNINFO
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
IDD_ABOUTBOX, DIALOG
|
|
|
|
BEGIN
|
|
|
|
LEFTMARGIN, 7
|
|
|
|
RIGHTMARGIN, 118
|
|
|
|
TOPMARGIN, 7
|
|
|
|
BOTTOMMARGIN, 69
|
|
|
|
END
|
|
|
|
|
|
|
|
IDD_GAMEINFO, DIALOG
|
|
|
|
BEGIN
|
|
|
|
LEFTMARGIN, 7
|
|
|
|
RIGHTMARGIN, 128
|
|
|
|
TOPMARGIN, 7
|
|
|
|
BOTTOMMARGIN, 143
|
|
|
|
END
|
|
|
|
|
|
|
|
IDD_STRBOX, DIALOG
|
|
|
|
BEGIN
|
|
|
|
LEFTMARGIN, 7
|
|
|
|
RIGHTMARGIN, 121
|
|
|
|
TOPMARGIN, 7
|
|
|
|
BOTTOMMARGIN, 125
|
|
|
|
END
|
|
|
|
|
|
|
|
IDD_ASKBLANK, DIALOG
|
|
|
|
BEGIN
|
|
|
|
LEFTMARGIN, 7
|
|
|
|
RIGHTMARGIN, 104
|
|
|
|
TOPMARGIN, 7
|
|
|
|
BOTTOMMARGIN, 114
|
|
|
|
END
|
|
|
|
|
|
|
|
IDD_ASKPASS, DIALOG
|
|
|
|
BEGIN
|
|
|
|
LEFTMARGIN, 7
|
|
|
|
RIGHTMARGIN, 125
|
|
|
|
TOPMARGIN, 6
|
|
|
|
BOTTOMMARGIN, 64
|
|
|
|
END
|
|
|
|
|
|
|
|
IDD_OPTIONSDLG, DIALOG
|
|
|
|
BEGIN
|
|
|
|
LEFTMARGIN, 7
|
|
|
|
TOPMARGIN, 7
|
|
|
|
BOTTOMMARGIN, 71
|
|
|
|
END
|
|
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Accelerator
|
|
|
|
//
|
|
|
|
|
|
|
|
IDC_XWORDS4 ACCELERATORS DISCARDABLE
|
|
|
|
BEGIN
|
|
|
|
"/", IDM_HELP_ABOUT, ASCII, ALT, NOINVERT
|
|
|
|
VK_F4, IDM_FILE_EXIT, VIRTKEY, ALT, NOINVERT
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Bitmap
|
|
|
|
//
|
|
|
|
|
|
|
|
IDB_RIGHTARROW BITMAP DISCARDABLE "bmps/rightarrow.bmp"
|
|
|
|
IDB_DOWNARROW BITMAP DISCARDABLE "bmps/downarro.bmp"
|
|
|
|
IDB_ORIGIN BITMAP DISCARDABLE "bmps/origin.bmp"
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// CLRS
|
|
|
|
//
|
|
|
|
|
|
|
|
ID_COLORS_RES CLRS MOVEABLE PURE
|
|
|
|
BEGIN
|
|
|
|
0xAF, 0xAF, 0x00, /* bonus 1 */
|
|
|
|
0x00, 0xAF, 0xAF,
|
|
|
|
0xAF, 0x00, 0xAF,
|
|
|
|
0xAF, 0xAF, 0xAF,
|
2004-03-28 03:18:59 +02:00
|
|
|
0xFF, 0xFF, 0xFF, /* empty cells */
|
2003-11-20 17:26:35 +01:00
|
|
|
0xFF, 0xFF, 0x99, /* tile background */
|
2007-01-19 09:24:02 +01:00
|
|
|
0x70, 0x70, 0xFF, /* focus */
|
2003-11-20 17:26:35 +01:00
|
|
|
0x00, 0x00, 0x00, /* player 1 */
|
|
|
|
0xFF, 0x00, 0x00,
|
|
|
|
0x00, 0x00, 0xFF,
|
|
|
|
0x00, 0xFF, 0x00,
|
2004-03-28 03:18:59 +02:00
|
|
|
0x00, 0x00, 0x00, /* black */
|
2005-11-27 21:10:06 +01:00
|
|
|
0xFF, 0xFF, 0xFF /* white */
|
2003-11-20 17:26:35 +01:00
|
|
|
END
|
|
|
|
|
2004-01-29 05:47:32 +01:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// BONS: bonus square values.
|
|
|
|
//
|
|
|
|
|
|
|
|
// Butts' board
|
|
|
|
ID_BONUS_RES BONS MOVEABLE PURE
|
|
|
|
BEGIN
|
|
|
|
0x4001, 0x0004,
|
|
|
|
0x0200, 0x0300,
|
|
|
|
0x0020, 0x0010,
|
|
|
|
0x1002, 0x0001,
|
|
|
|
0x0000, 0x2000,
|
|
|
|
0x0300, 0x0300,
|
|
|
|
0x0010, 0x0010,
|
2005-11-27 21:10:06 +01:00
|
|
|
0x4001, 0x0002
|
2004-01-29 05:47:32 +01:00
|
|
|
END
|
2003-11-20 17:26:35 +01:00
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// String Table
|
|
|
|
//
|
|
|
|
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
2006-02-06 05:44:09 +01:00
|
|
|
#ifdef DEBUG
|
|
|
|
IDS_APP_TITLE "Crossw_dbg"
|
|
|
|
IDC_XWORDS4 "XWORDS4_DBG"
|
|
|
|
#else
|
2004-07-11 18:31:11 +02:00
|
|
|
IDS_APP_TITLE "Crosswords"
|
2003-11-20 17:26:35 +01:00
|
|
|
IDC_XWORDS4 "XWORDS4"
|
2006-02-06 05:44:09 +01:00
|
|
|
#endif
|
2004-12-17 08:42:25 +01:00
|
|
|
IDS_FILE "File"
|
|
|
|
IDS_GAME "Game"
|
|
|
|
IDS_MOVE "Move"
|
2006-04-24 06:34:42 +02:00
|
|
|
#ifdef _WIN32_WCE
|
2006-04-22 16:05:09 +02:00
|
|
|
IDS_DICTDIRS "\\Program Files\\Crosswords"
|
|
|
|
IDS_DICTDIRS+1 "\\SD Card\\Crosswords"
|
2006-06-07 03:20:56 +02:00
|
|
|
IDS_DICTDIRS+2 "\\Storage Card\\Crosswords"
|
2006-04-24 06:34:42 +02:00
|
|
|
#else
|
|
|
|
IDS_DICTDIRS "."
|
2006-04-22 16:05:09 +02:00
|
|
|
#endif
|
2003-11-20 17:26:35 +01:00
|
|
|
END
|
|
|
|
|
|
|
|
#endif // English (U.S.) resources
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2006-02-06 05:44:09 +01:00
|
|
|
/* This is supposed to keep the OS from running us in "emulation mode", but it
|
|
|
|
isn't working. Changing the versions as reported by objdump does work */
|
|
|
|
/* #ifdef _WIN32_WCE */
|
|
|
|
/* HI_RES_AWARE CEUX {1} */
|
|
|
|
/* #endif */
|
2003-11-20 17:26:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif // not APSTUDIO_INVOKED
|
|
|
|
|