summaryrefslogtreecommitdiff
path: root/pico/osdep/mswin.rc
blob: d59a78c4800ae14a7bd664e22d733dbb5a988fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
//Microsoft App Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS


/////////////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS


//////////////////////////////////////////////////////////////////////////////
//
// Icon
//

ALPINEICON                ICON    DISCARDABLE     "PICO.ICO"

//////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//


/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//

PICOHAND                CURSOR  "MSWINHND.CUR"

//////////////////////////////////////////////////////////////////////////////
//
// Menu
//

ALPINEMENU MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&Save File",                  IDM_MI_SAVEFILE
        MENUITEM "&Read File",                  IDM_MI_READFILE
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       IDM_MI_EXIT
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM "Cu&t\tCtrl-Shift-X",          IDM_EDIT_CUT
        MENUITEM "&Copy\tCtrl-Shift-C",         IDM_EDIT_COPY
        MENUITEM "Copy &Append\tCtrl-Alt-C",    IDM_EDIT_COPY_APPEND
        MENUITEM "&Paste\tCtrl-Shift-V",        IDM_EDIT_PASTE
        MENUITEM "Cance&l Paste!\tCtrl-Alt-V",  IDM_EDIT_CANCEL_PASTE
        MENUITEM SEPARATOR
        MENUITEM "Select All",                  IDM_EDIT_SEL_ALL
        MENUITEM SEPARATOR
        MENUITEM "&Find\tCtrl-Shift-F",         IDM_MI_WHEREIS
        MENUITEM SEPARATOR
        MENUITEM "&Spell",                      IDM_MI_SPELLCHK
    END
    POPUP "&Compose"
    BEGIN
        MENUITEM "Show Current &Position",      IDM_MI_CURPOSITION
        MENUITEM "&Where Is",                   IDM_MI_WHEREIS
        MENUITEM "&Justify Paragraph",          IDM_MI_JUSTIFY
    END
    POPUP "C&onfig"
    BEGIN
        MENUITEM "Set &Font",                   IDM_OPT_SETFONT
        MENUITEM SEPARATOR
        MENUITEM "&ToolBar",                    IDM_OPT_TOOLBAR
        MENUITEM "Tool&bar on Top",             IDM_OPT_TOOLBARPOS
        POPUP "&Cursor"
        BEGIN
            MENUITEM "Block",                   IDM_OPT_CARETBLOCK
            MENUITEM "Small Block",             IDM_OPT_CARETSMALLBLOCK
            MENUITEM "Underline",               IDM_OPT_CARETHBAR
            MENUITEM "Vertical Bar",            IDM_OPT_CARETVBAR
        END
        MENUITEM SEPARATOR
        MENUITEM "Use &Dialog Boxes",           IDM_OPT_USEDIALOGS
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "Screen Help",                 IDM_MI_SCREENHELP
        MENUITEM "About",                       IDM_ABOUT
    END
END

TEXTWINMENU MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&Close",                      IDM_FILE_CLOSE
        MENUITEM SEPARATOR
        MENUITEM "&Print",                      IDM_FILE_PRINT
    END
END


#include "mswin_spell.dlg"

//////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

ABOUTDLGBOX DIALOG DISCARDABLE  10, 25, 220, 80
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Pico"
FONT 8, "Helv"
BEGIN
    ICON            ALPINEICON,IDD_ABOUTICON,10,5,18,20
    CTEXT           "Pico for Windows%S\nVersion %d.%02d%S\nBuild (%S)",
                    IDD_VERSION,46,8,120,26,SS_NOPREFIX | NOT WS_GROUP
    LTEXT           "",IDD_BYLINE,45,40,172,56,SS_NOPREFIX | NOT WS_GROUP
    DEFPUSHBUTTON   "OK",IDD_OK,177,8,40,14
    PUSHBUTTON      "",IDC_BUTTON2,10,5,30,30,BS_ICON | NOT 
                    WS_VISIBLE | WS_DISABLED,WS_EX_TRANSPARENT
END

IDD_TOOLBAR DIALOG DISCARDABLE  0, 0, 302, 12
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Quit",IDM_MI_EXIT,1,0,25,11
    PUSHBUTTON      "Save",IDM_MI_SAVEFILE,26,0,26,11
    PUSHBUTTON      "Find",IDM_MI_WHEREIS,52,0,22,11
    PUSHBUTTON      "Spell",IDM_MI_SPELLCHK,74,0,26,11
END

#ifdef APSTUDIO_INVOKED
//////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

0X00020000L TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "#include ""windows.h""\r\n"
    "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "\r\n"
    "\0"
END

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

/////////////////////////////////////////////////////////////////////////////////////
#endif    // APSTUDIO_INVOKED


//////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_BYLINE              "Copyright 2013-2020 Eduardo Chappa, Copyright 2006-2009 University of Washington"
    IDS_APPNAME             "Pico"
    IDS_APPIDENT            "pico"
END

#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 5,10,0,0
 PRODUCTVERSION 5,10,0,0
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x40004L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Comments", "see http://alpine.x10host.com/alpine/release\0"
            VALUE "CompanyName", "Patches for Alpine\0"
            VALUE "FileDescription", "Pico\0"
            VALUE "FileVersion", "5.10\0"
            VALUE "InternalName", "pico\0"
            VALUE "LegalCopyright", "Copyright 2013-2020 Eduardo Chappa,\nCopyright 2006-2009 University of Washington\0"
            VALUE "OriginalFilename", "pico.exe\0"
            VALUE "ProductName", "  pico\0"
            VALUE "ProductVersion", "5.10\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC

#ifndef APSTUDIO_INVOKED
////////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED