-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunterm.rc
More file actions
124 lines (117 loc) · 4.53 KB
/
funterm.rc
File metadata and controls
124 lines (117 loc) · 4.53 KB
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
/***************************************************************************
* Copyright (C) 2008 by Blake Leverett *
* bleverett@gmail.com
* *
* FUNterm is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program 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 General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
#include <windows.h>
#include "funtermres.h"
710 ICON funterm.ico
720 BITMAP GrnLEDOn.bmp
721 BITMAP GrnLEDOff.bmp
722 BITMAP RedLEDOn.bmp
723 BITMAP RedLEDOff.bmp
IDMAINMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "Send &File", IDM_SEND
MENUITEM "&Save screen", IDM_SAVE
MENUITEM "Begin &Logging", IDM_LOG_START
MENUITEM "&End Logging", IDM_LOG_END
MENUITEM "Exit", IDM_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Copy Ctrl-C", IDM_COPY
MENUITEM "&Paste Ctrl-V", IDM_PASTE
MENUITEM "Clear Sc&reen", IDM_CLEAR
END
POPUP "&View"
BEGIN
MENUITEM "&Binary Ctrl-B", IDM_BINARY
END
POPUP "&Comm"
BEGIN
MENUITEM "&Config", IDM_CONFIG
MENUITEM "&Start/Stop Comm F10", IDM_STARTCOMM
MENUITEM "CR/LF toggle", IDM_CRLF
END
POPUP "&Help"
BEGIN
MENUITEM "&About", IDM_ABOUT
END
END
IDPOPUPMENU MENU
BEGIN
POPUP "Popup"
BEGIN
MENUITEM "Copy", IDM_COPY
MENUITEM "Paste", IDM_PASTE
END
END
IDACCEL ACCELERATORS
BEGIN
81, IDM_EXIT, VIRTKEY, CONTROL
88, IDM_CLEAR, VIRTKEY, CONTROL
66, IDM_BINARY, VIRTKEY, CONTROL
67, IDM_COPY, VIRTKEY, CONTROL
86, IDM_PASTE, VIRTKEY, CONTROL
76, IDM_LOG_START, VIRTKEY, CONTROL
69, IDM_LOG_END, VIRTKEY, CONTROL
VK_F10, IDM_STARTCOMM, VIRTKEY
END
IDD_ABOUT DIALOG 6, 18, 140, 95
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "About FUNterm"
FONT 8, "MS Sans Serif"
BEGIN
PUSHBUTTON "OK", IDCANCEL, 52, 75, 35, 13
LTEXT "FUNterm Ver 1.02", 102, 10, 10, 100, 12
LTEXT "Written by Blake Leverett", 103, 10, 24, 100, 12
LTEXT "bleverett@gmail.com", 104, 10, 34, 100, 12
LTEXT "Licensed under GPL, V2.", 105, 10, 44, 100, 12
LTEXT "See COPYING for details.", 105, 10, 54, 100, 12
END
IDD_CONFIG DIALOG 8, 20, 180, 168
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Config serial port"
FONT 8, "MS Sans Serif"
BEGIN
PUSHBUTTON "OK", IDOK, 80, 148, 40, 15
PUSHBUTTON "Cancel", IDCANCEL, 132, 148, 40, 15
LTEXT "Comm Port", 442, 7, 7, 80, 10
LISTBOX ID_COMPORT, 7, 18, 86, 104, WS_VSCROLL
GROUPBOX "Speed", ID_SPEEDGB, 99, 7, 73, 110, WS_GROUP
AUTORADIOBUTTON "9600", ID_BAUD, 103, 20, 39, 10
AUTORADIOBUTTON "19200", 408, 103, 32, 39, 10
AUTORADIOBUTTON "38400", 409, 103, 44, 39, 10
AUTORADIOBUTTON "57600", 410, 103, 56, 39, 10
AUTORADIOBUTTON "115200", 411, 103, 68, 39, 10
AUTORADIOBUTTON "230400", 412, 103, 80, 39, 10
AUTORADIOBUTTON "460800", 413, 103, 92, 39, 10
AUTORADIOBUTTON "921600", 414, 103, 104, 39, 10
AUTOCHECKBOX "Open port on startup", ID_CBOPEN, 12, 120, 124, 10
AUTOCHECKBOX "Use hardware flow control", ID_CBFLOW, 12, 132, 129, 10
END
STRINGTABLE
BEGIN
2010, "Get help"
2000, "Create, open, save, or print documents"
500, "Displays information about this application"
300, "Quits this application"
210, "Start or stop serial communication"
200, "Configures serial port"
END