1 | /* $Id: console.rc,v 1.1 1999-05-24 20:19:45 ktk Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | *
|
---|
5 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
6 | *
|
---|
7 | */
|
---|
8 | /*
|
---|
9 | * Win32 Console Subsystem for OS/2
|
---|
10 | *
|
---|
11 | * 1998/03/06 PH Patrick Haller (haller@zebra.fh-weingarten.de)
|
---|
12 | *
|
---|
13 | */
|
---|
14 | #ifndef WORKSHOP_INVOKED
|
---|
15 | #include <os2.h>
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | #include "consolerc.h"
|
---|
19 |
|
---|
20 |
|
---|
21 | MENU ID_CONSOLE_MAIN
|
---|
22 | BEGIN
|
---|
23 | MENUITEM "~Properties...", CM_CONSOLE_PROPERTIES
|
---|
24 | MENUITEM SEPARATOR
|
---|
25 | MENUITEM "~Pause", CM_CONSOLE_PAUSE,, MIA_CHECKED
|
---|
26 | MENUITEM "~Repaint", CM_CONSOLE_REPAINT
|
---|
27 | MENUITEM SEPARATOR
|
---|
28 | MENUITEM "~Exit...", CM_CONSOLE_EXIT
|
---|
29 | END
|
---|
30 |
|
---|
31 | ICON ID_CONSOLE_MAIN CONSOLE.Ico
|
---|
32 |
|
---|
33 |
|
---|
34 | DLGTEMPLATE DLG_CONSOLE_PROPERTIES
|
---|
35 | BEGIN
|
---|
36 | DIALOG "Console Properties", 100, 6, 52, 262, 166, WS_VISIBLE, FCF_TITLEBAR | FCF_SYSMENU | FCF_NOBYTEALIGN
|
---|
37 | BEGIN
|
---|
38 | DEFPUSHBUTTON "~Undo", ID_BTN_UNDO, 52, 1, 51, 14
|
---|
39 | PUSHBUTTON "~Apply", ID_BTN_APPLY, 106, 1, 51, 14
|
---|
40 | PUSHBUTTON "Help", ID_BTN_HELP, 160, 1, 51, 14, BS_HELP
|
---|
41 | CONTROL "Sample", NB_CONSOLE_NOTEBOOK, 2, 17, 261, 147, WC_NOTEBOOK, BKS_SOLIDBIND | BKS_BACKPAGESBR | BKS_MAJORTABRIGHT | BKS_SQUARETABS | BKS_STATUSTEXTLEFT | BKS_TABTEXTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP | 0x0800
|
---|
42 | PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
|
---|
43 | END
|
---|
44 |
|
---|
45 | END
|
---|
46 |
|
---|
47 |
|
---|
48 | DLGTEMPLATE DLG_CONSOLE_PAGE1
|
---|
49 | BEGIN
|
---|
50 | DIALOG "", 100, 14, 55, 209, 108, NOT FS_DLGBORDER | NOT WS_SAVEBITS | WS_VISIBLE | WS_CLIPSIBLINGS
|
---|
51 | PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
|
---|
52 | BEGIN
|
---|
53 | CONTROL "~Settings", -1, 2, 1, 205, 105, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
54 | CONTROL "~Close window on exit", CB_CONSOLE_CLOSEWINDOWONEXIT, 5, 78, 196, 10, WC_BUTTON, BS_AUTOCHECKBOX | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
55 | CONTROL "~Insert mode enabled", CB_CONSOLE_INSERTMODE, 5, 62, 196, 10, WC_BUTTON, BS_AUTOCHECKBOX | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
56 | CONTROL "~Quickinsert enabled", CB_CONSOLE_QUICKINSERT, 5, 46, 196, 10, WC_BUTTON, BS_AUTOCHECKBOX | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
57 | CONTROL "Console ~toolbar", CB_CONSOLE_TOOLBAR, 5, 30, 196, 10, WC_BUTTON, BS_AUTOCHECKBOX | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
58 | CONTROL "tabwidth", SPN_CONSOLE_TAB, 122, 4, 55, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_NUMERICONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
59 | CONTROL "Tabulator ~width:", -1, 5, 4, 112, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
60 | CONTROL "tabwidth", SPN_CONSOLE_CURSORBLINK, 122, 17, 55, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_NUMERICONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
61 | CONTROL "Cursor blink ~frequency:", -1, 5, 17, 112, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
62 | END
|
---|
63 |
|
---|
64 | END
|
---|
65 |
|
---|
66 |
|
---|
67 | DLGTEMPLATE DLG_CONSOLE_PAGE2
|
---|
68 | BEGIN
|
---|
69 | DIALOG "", 100, 14, 55, 209, 108, NOT FS_DLGBORDER | NOT WS_SAVEBITS | WS_VISIBLE | WS_CLIPSIBLINGS
|
---|
70 | PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
|
---|
71 | BEGIN
|
---|
72 | CONTROL "S~peaker", -1, 2, 1, 205, 105, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
73 | CONTROL "~Enable speaker", CB_CONSOLE_SPEAKERENABLE, 6, 87, 195, 10, WC_BUTTON, BS_AUTOCHECKBOX | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
74 | CONTROL "Speaker frequency", SLB_CONSOLE_SPEAKERFREQUENCY, 58, 60, 145, 24, WC_SLIDER, SLS_HORIZONTAL | SLS_CENTER | SLS_HOMELEFT | SLS_PRIMARYSCALE1 | SLS_SNAPTOINCREMENT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
75 | CTLDATA 12, 0, 20, 9, 10, 9
|
---|
76 | CONTROL "~Frequency:", -1, 6, 68, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
77 | CONTROL "~Duration:", -1, 6, 42, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
78 | CONTROL "Speaker duration", SLB_CONSOLE_SPEAKERDURATION, 58, 34, 145, 24, WC_SLIDER, SLS_HORIZONTAL | SLS_CENTER | SLS_HOMELEFT | SLS_PRIMARYSCALE1 | SLS_SNAPTOINCREMENT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
79 | CTLDATA 12, 0, 20, 9, 10, 9
|
---|
80 | END
|
---|
81 |
|
---|
82 | END
|
---|
83 |
|
---|
84 |
|
---|
85 | DLGTEMPLATE DLG_CONSOLE_PAGE3
|
---|
86 | BEGIN
|
---|
87 | DIALOG "", 100, 14, 55, 209, 108, NOT FS_DLGBORDER | WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS
|
---|
88 | PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
|
---|
89 | BEGIN
|
---|
90 | CONTROL "~Position and size", -1, 2, 42, 205, 64, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
91 | CONTROL "~X:", -1, 8, 60, 22, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
92 | CONTROL "Sample", SPN_CONSOLE_X, 49, 60, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_NUMERICONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
93 | CONTROL "~Y:", -1, 8, 45, 27, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
94 | CONTROL "Sample", SPN_CONSOLE_Y, 49, 45, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_NUMERICONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
95 | CONTROL "~Width:", -1, 118, 60, 30, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
96 | CONTROL "Sample", SPN_CONSOLE_DEFAULTWIDTH, 155, 60, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_NUMERICONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
97 | CONTROL "~Height:", -1, 119, 45, 30, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
98 | CONTROL "Sample", SPN_CONSOLE_DEFAULTHEIGHT, 155, 45, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_NUMERICONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
99 | CONTROL "~Override default position and size", CB_CONSOLE_WINDOWPOSITION, 8, 80, 155, 10, WC_BUTTON, BS_AUTOCHECKBOX | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
100 | CONTROL "~Console buffer", -1, 2, 1, 205, 39, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
101 | CONTROL "~Width:", -1, 8, 19, 30, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
102 | CONTROL "Sample", SPN_CONSOLE_BUFFERWIDTH, 49, 19, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_NUMERICONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
103 | CONTROL "~Height:", -1, 119, 19, 30, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
104 | CONTROL "Sample", SPN_CONSOLE_BUFFERHEIGHT, 155, 19, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_NUMERICONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
105 | CONTROL "Buffer allocates .. MB memory.", ST_CONSOLE_BUFFERMEMORY, 8, 6, 194, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
106 | END
|
---|
107 |
|
---|
108 | END
|
---|
109 |
|
---|
110 |
|
---|
111 | DLGTEMPLATE DLG_CONSOLE_PAGE5
|
---|
112 | BEGIN
|
---|
113 | DIALOG "", 100, 14, 55, 209, 108, NOT FS_DLGBORDER | NOT WS_SAVEBITS | WS_VISIBLE | WS_CLIPSIBLINGS
|
---|
114 | PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
|
---|
115 | BEGIN
|
---|
116 | CONTROL "~Application priority", -1, 2, 46, 205, 28, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
117 | CONTROL "~Class:", -1, 5, 52, 28, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
118 | CONTROL "Sample", SPN_CONSOLE_APPPRIORITY, 46, 52, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_READONLY | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
119 | CONTROL "~Delta:", -1, 120, 52, 30, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
120 | CONTROL "Sample", SPN_CONSOLE_APPPRIODELTA, 154, 52, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_ALLCHARACTERS | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
121 | CONTROL "~Console priority", -1, 2, 1, 205, 41, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
122 | CONTROL "~Class:", -1, 5, 20, 28, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
123 | CONTROL "Sample", SPN_CONSOLE_CONSOLEPRIORITY, 46, 20, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_ALLCHARACTERS | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
124 | CONTROL "~Delta:", -1, 120, 20, 30, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
125 | CONTROL "Sample", SPN_CONSOLE_CONSOLEPRIODELTA, 154, 20, 48, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_ALLCHARACTERS | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
126 | CONTROL "~Update after scrolling:", -1, 5, 7, 113, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
127 | CONTROL "Sample", SPN_CONSOLE_UPDATELIMIT, 113, 5, 89, 12, WC_SPINBUTTON, SPBS_MASTER | SPBS_ALLCHARACTERS | SPBS_JUSTLEFT | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
128 | END
|
---|
129 |
|
---|
130 | END
|
---|
131 |
|
---|
132 |
|
---|
133 | DLGTEMPLATE DLG_CONSOLE_PAGE4
|
---|
134 | BEGIN
|
---|
135 | DIALOG "", 100, 14, 55, 209, 108, NOT FS_DLGBORDER | WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS
|
---|
136 | PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
|
---|
137 | BEGIN
|
---|
138 | CONTROL "~Colors", -1, 2, 53, 205, 53, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
139 | CONTROL "Fo~reground:", -1, 6, 90, 68, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
140 | CONTROL "...", VS_CONSOLE_FOREGROUND, 6, 56, 95, 34, WC_VALUESET, VS_RGB | VS_BORDER | VS_ITEMBORDER | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
141 | CTLDATA 8, 0, 2, 8
|
---|
142 | CONTROL "~Background:", -1, 103, 90, 68, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
143 | CONTROL "...", VS_CONSOLE_BACKGROUND, 103, 56, 99, 34, WC_VALUESET, VS_RGB | VS_BORDER | VS_ITEMBORDER | WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
144 | CTLDATA 8, 0, 2, 8
|
---|
145 | CONTROL "~Font", -1, 2, 1, 205, 49, WC_STATIC, SS_GROUPBOX | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
146 | CONTROL "Sample", LB_CONSOLE_FONTS, 6, 4, 95, 36, WC_LISTBOX, WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
---|
147 | CONTROL "Sizes (Rows x Cols.)", -1, 105, 32, 97, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
148 | CONTROL "00 x 00", ST_CONSOLE_WINDOWSIZE, 156, 16, 47, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
149 | CONTROL "00 x 00", ST_CONSOLE_SCREENSIZE, 156, 4, 47, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
150 | CONTROL "Window", -1, 105, 16, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
151 | CONTROL "Screen", -1, 105, 4, 45, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
|
---|
152 | END
|
---|
153 |
|
---|
154 | END
|
---|
155 |
|
---|
156 | DLGTEMPLATE DLG_CONSOLE_PAGE6
|
---|
157 | BEGIN
|
---|
158 | DIALOG "", 100, 14, 55, 209, 108, NOT FS_DLGBORDER | WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS
|
---|
159 | BEGIN
|
---|
160 | END
|
---|
161 |
|
---|
162 | END
|
---|
163 |
|
---|