winemine.rc 4.03 KB
Newer Older
Joshua Thielen's avatar
Joshua Thielen committed
1
/*
2
 * WineMine resources
3
 *
4
 * Copyright 2000 Joshua Thielen
5
 * Copyright 2003 Marcelo Duarte
6 7 8 9 10 11 12 13 14 15 16 17 18
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
19
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Joshua Thielen's avatar
Joshua Thielen committed
20 21 22 23
 */

#include "resource.h"

24 25
#pragma makedep po

26 27 28
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT

STRINGTABLE {
29 30 31 32 33
     IDS_APPNAME,         "WineMine"
     IDS_NOBODY,          "Nobody"
     IDS_ABOUT,           "Copyright 2000 Joshua Thielen"
     IDC_CONFIRMTITLE,    "Reset Results"
     IDC_CONFIRMTEXT,     "All results will be lost. Are you sure?"
34
}
35

36
IDM_WINEMINE MENU
37
{
38
    POPUP "&Game" {
39 40
        MENUITEM "&New\tF2",       IDM_NEW
        MENUITEM SEPARATOR
41
        MENUITEM "Question &Marks",IDM_MARKQ
42 43 44 45 46 47
        MENUITEM SEPARATOR
        MENUITEM "&Beginner",      IDM_BEGINNER
        MENUITEM "&Advanced",      IDM_ADVANCED
        MENUITEM "&Expert",        IDM_EXPERT
        MENUITEM "&Custom...",     IDM_CUSTOM
        MENUITEM SEPARATOR
48 49
        MENUITEM "&Fastest Times", IDM_TIMES
        MENUITEM SEPARATOR
50
        MENUITEM "E&xit",          IDM_EXIT
51
    }
52
    POPUP "&Help" {
53
        MENUITEM "&About WineMine",   IDM_ABOUT
54
    }
55 56
}

57 58 59 60 61
DLG_TIMES DIALOG 0, 0, 170, 80
STYLE DS_MODALFRAME | DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
FONT 8, "MS Shell Dlg"
CAPTION "Fastest Times"
{
62 63 64 65 66 67 68 69 70 71 72 73
    GROUPBOX        "Fastest times",        -1,  10,  10, 150,  45
    LTEXT           "Beginner",             -1,  20,  20,  50,   8
    LTEXT           "Advanced",             -1,  20,  30,  50,   8
    LTEXT           "Expert",               -1,  20,  40,  50,   8
    LTEXT           "",              IDC_TIME1,  80,  20,  15,   8
    LTEXT           "",              IDC_TIME2,  80,  30,  15,   8
    LTEXT           "",              IDC_TIME3,  80,  40,  15,   8
    LTEXT           "",              IDC_NAME1, 100,  20,  55,   8
    LTEXT           "",              IDC_NAME2, 100,  30,  55,   8
    LTEXT           "",              IDC_NAME3, 100,  40,  55,   8
    DEFPUSHBUTTON   "OK",                 IDOK, 115,  60,  40,  15
    PUSHBUTTON      "Reset Results", IDC_RESET,  15,  60,  80,  15
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
}

DLG_CONGRATS DIALOG  0, 0, 160, 60
STYLE DS_MODALFRAME | DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
FONT 8, "MS Shell Dlg"
CAPTION "Congratulations!"
{
    LTEXT           "Please enter your name", -1,  10,  10, 150,  10
    EDITTEXT                              IDC_EDITNAME,  10,  20, 110,  12
    DEFPUSHBUTTON   "OK",                         IDOK,  60,  40,  40,  15
}

DLG_CUSTOM DIALOG  0, 0, 140, 100
STYLE DS_MODALFRAME | DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
FONT 8, "MS Shell Dlg"
CAPTION "Custom Game"
{
    LTEXT           "Rows",   -1,         5,   5,  70,  10
    LTEXT           "Columns",-1,         5,  35,  70,  10
    LTEXT           "Mines",  -1,         5,  65,  70,  10
    EDITTEXT              IDC_EDITROWS,   5,  15,  35,  12, ES_NUMBER
    EDITTEXT              IDC_EDITCOLS,   5,  45,  35,  12, ES_NUMBER
    EDITTEXT             IDC_EDITMINES,   5,  75,  35,  12, ES_NUMBER
    DEFPUSHBUTTON   "OK",     IDOK,      80,  30,  50,  15
    PUSHBUTTON      "Cancel", IDCANCEL,  80,  50,  50,  15
}

IDA_WINEMINE ACCELERATORS
{
    VK_F2, IDM_NEW, VIRTKEY
}

106 107
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL

108
/* @makedep: winemine.ico */
109
IDI_WINEMINE ICON winemine.ico
Joshua Thielen's avatar
Joshua Thielen committed
110

111
/* @makedep: faces.bmp */
112
IDI_FACES BITMAP faces.bmp
Joshua Thielen's avatar
Joshua Thielen committed
113

114
/* @makedep: leds.bmp */
115
IDI_LEDS BITMAP leds.bmp
Joshua Thielen's avatar
Joshua Thielen committed
116

117
/* @makedep: mines.bmp */
118
IDI_MINES BITMAP mines.bmp