Annotation of OpenXM_contrib/gnuplot/os2/gnupmdrv.rc, Revision 1.1.1.1
1.1 maekawa 1: #include <os2.h>
2: #include "dialogs.h"
3:
4: ICON 1 "gnuplot.ico"
5:
6:
7: MENU 1
8: BEGIN
9: SUBMENU "~Options" , IDM_FILE
10: BEGIN
11: MENUITEM "Prin~ters...", IDM_PRINTSETUP
12: MENUITEM "~Print..." , IDM_PRINT
13: MENUITEM "~Fonts...", IDM_FONTS
14: MENUITEM "~Colours", IDM_COLOURS,,MIA_CHECKED
15: SUBMENU "~Lines", IDM_LINES
16: BEGIN
17: MENUITEM "~Solid", IDM_LINES_SOLID,,MIA_CHECKED
18: MENUITEM "~Thick", IDM_LINES_THICK
19: END
20: SUBMENU "Pa~use mode", IDM_PAUSEOPT
21: BEGIN
22: MENUITEM "~Dialog box", IDM_PAUSEDLG,,MIA_CHECKED
23: MENUITEM "~Menu bar", IDM_PAUSEBTN
24: MENUITEM "~Gnuplot", IDM_PAUSEGNU
25: END
26: MENUITEM "P~op to front", IDM_FRONT,,MIA_CHECKED
27: MENUITEM SEPARATOR
28: MENUITEM "~Save settings", IDM_SAVE
29: END
30: SUBMENU "~Edit" , IDM_EDIT
31: BEGIN
32: MENUITEM "~Copy", IDM_COPY
33: MENUITEM "Cl~ear clipboard", IDM_CLEARCLIP
34: END
35: MENUITEM "~Gnuplot" , IDM_COMMAND
36: MENUITEM "~Continue" , IDM_CONTINUE,,MIA_DISABLED
37: SUBMENU "~Help", 1
38: BEGIN
39: MENUITEM "~Help for Help...", IDM_HELPFORHELP
40: MENUITEM "~Extended Help...", IDM_EXTENDEDHELP
41: MENUITEM "~Keys Help...", IDM_KEYSHELP
42: MENUITEM "Help ~index...", IDM_HELPINDEX
43: MENUITEM SEPARATOR
44: MENUITEM "~Gnuplot docs...", IDM_GPLOTINF
45: MENUITEM SEPARATOR
46: MENUITEM "A~bout...", IDM_ABOUT
47: END
48: END
49:
50: ACCELTABLE 1
51: BEGIN
52: VK_ESC, IDM_COMMAND, VIRTUALKEY
53: VK_DELETE, IDM_CLEARCLIP, VIRTUALKEY
54: VK_INSERT, IDM_COPY, VIRTUALKEY, CONTROL
55: END
56:
57: HELPSUBTABLE 1
58: BEGIN
59: HELPSUBITEM IDH_EXTENDED, IDH_EXTENDED
60: HELPSUBITEM IDM_PRINTSETUP ,IDM_PRINTSETUP
61: HELPSUBITEM IDM_PRINT ,IDM_PRINT
62: HELPSUBITEM IDM_FONTS ,IDM_FONTS
63: HELPSUBITEM IDM_FILE ,IDM_FILE
64: HELPSUBITEM IDM_ABOUT ,IDM_ABOUT
65: HELPSUBITEM IDM_FRONT ,IDM_FRONT
66: HELPSUBITEM IDM_COLOURS ,IDM_COLOURS
67: HELPSUBITEM IDM_LINES ,IDM_LINES
68: HELPSUBITEM IDM_LINES_THICK ,IDM_LINES_THICK
69: HELPSUBITEM IDM_LINES_SOLID ,IDM_LINES_SOLID
70: HELPSUBITEM IDM_SAVE ,IDM_SAVE
71: HELPSUBITEM IDM_COMMAND ,IDM_COMMAND
72: HELPSUBITEM IDM_CONTINUE,IDM_CONTINUE
73: HELPSUBITEM IDM_PAUSEDLG,IDM_PAUSEDLG
74: HELPSUBITEM IDM_PAUSEOPT,IDM_PAUSEOPT
75: HELPSUBITEM IDM_PAUSEBTN,IDM_PAUSEBTN
76: HELPSUBITEM IDM_PAUSEGNU,IDM_PAUSEGNU
77: END
78: HELPSUBTABLE ID_PRINT
79: BEGIN
80: HELPSUBITEM ID_PRINT, ID_PRINT
81: END
82: HELPSUBTABLE ID_QPRINT
83: BEGIN
84: HELPSUBITEM ID_QPRINT, ID_QPRINT
85: END
86: HELPSUBTABLE IDD_QUERYPRINT
87: BEGIN
88: HELPSUBITEM IDD_QUERYPRINT, IDD_QUERYPRINT
89: END
90: HELPSUBTABLE IDD_PAUSEBOX
91: BEGIN
92: HELPSUBITEM IDD_PAUSEBOX, IDD_PAUSEBOX
93: END
94: HELPTABLE 1
95: BEGIN
96: HELPITEM 1, 1, IDH_EXTENDED
97: HELPITEM ID_QPRINT, ID_QPRINT, ID_QPRINT
98: HELPITEM ID_PRINT, ID_PRINT, ID_PRINT
99: HELPITEM IDD_QUERYPRINT, IDD_QUERYPRINT, IDD_QUERYPRINT
100: HELPITEM IDD_PAUSEBOX, IDD_PAUSEBOX, IDD_PAUSEBOX
101: END
102:
103:
104: DLGTEMPLATE ID_ABOUT LOADONCALL MOVEABLE DISCARDABLE
105: BEGIN
106: DIALOG "", ID_ABOUT, 22, 17, 144, 75,
107: BEGIN
108: CTEXT "GnuplotPM", -1, 8, 65, 128, 8
109: CTEXT "Gnuplot display for OS/2", -1, 8, 50, 128, 8
110: CTEXT "$Revision: 1.5 $", -1, 8, 35, 128, 8
111: DEFPUSHBUTTON "OK", DID_OK, 56, 10, 32, 14, WS_GROUP
112: END
113: END
114:
115: DLGTEMPLATE ID_QPRINT LOADONCALL MOVEABLE DISCARDABLE
116: BEGIN
117: DIALOG "GnuplotPM: printer setup", ID_QPRINT, 83, 7, 220, 175,
118: FS_NOBYTEALIGN | WS_VISIBLE, FCF_TITLEBAR
119: BEGIN
120: DEFPUSHBUTTON "OK", DID_OK, 6, 5, 38, 13
121: PUSHBUTTON "Cancel", DID_CANCEL, 52, 5, 38, 13
122: PUSHBUTTON "Help", 310, 176, 5, 38, 13, BS_HELP
123: GROUPBOX "Set plot area", -1, 2, 41, 214, 116
124: PUSHBUTTON "Adjust...", IDD_QPRTRACK, 7, 111, 56, 13
125: CONTROL "Text", IDD_QPRBOX, 84, 96, 98, 49, WC_STATIC,
126: SS_FGNDRECT | WS_VISIBLE
127: CONTROL "", IDD_QPRFRAME, 86, 98, 71, 34, WC_STATIC,
128: SS_HALFTONERECT | WS_VISIBLE
129: ENTRYFIELD "Text", IDD_QPRXSIZE, 83, 47, 36, 12, ES_RIGHT | NOT
130: ES_AUTOSCROLL | ES_READONLY
131: ENTRYFIELD "", IDD_QPRXFRAC, 168, 47, 39, 8, NOT ES_AUTOSCROLL |
132: ES_MARGIN
133: LTEXT "Vertical size:", -1, 8, 63, 66, 8, NOT WS_GROUP
134: LTEXT "Horizontal size:", -1, 8, 47, 70, 8, NOT WS_GROUP
135: ENTRYFIELD "Text", IDD_QPRYSIZE, 83, 63, 36, 12, ES_RIGHT | NOT
136: ES_AUTOSCROLL | ES_READONLY
137: ENTRYFIELD "", IDD_QPRYFRAC, 168, 63, 39, 8, NOT ES_AUTOSCROLL |
138: ES_MARGIN
139: LTEXT "Or enter fraction of indicated size:", -1, 9, 79,
140: 143, 8, NOT WS_GROUP
141: LTEXT "cm", -1, 125, 63, 13, 8, NOT WS_GROUP
142: LTEXT "cm", -1, 125, 47, 13, 8
143: PUSHBUTTON "Job properties...", IDD_QPRSETPR, 98, 5, 72, 13
144: LTEXT "Print to file named:", IDD_PRINTQNAME, 8, 28, 80, 8,
145: DT_HALFTONE
146: ENTRYFIELD "", IDD_QPRNAME, 91, 28, 87, 8, NOT ES_AUTOSCROLL |
147: ES_MARGIN
148: LTEXT "Adjust using", -1, 8, 136, 72, 8
149: LTEXT "mouse...", -1, 8, 127, 37, 8
150: LTEXT "Current printer:", -1, 8, 161, 64, 8
151: ENTRYFIELD "", IDD_PRINTNAME, 74, 161, 139, 8, ES_MARGIN
152: END
153: END
154:
155: DLGTEMPLATE IDD_QUERYPRINT LOADONCALL MOVEABLE DISCARDABLE
156: BEGIN
157: DIALOG "GnuplotPM: printer selection", IDD_QUERYPRINT, 59, 44, 243, 99,
158: FS_NOBYTEALIGN | WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
159: BEGIN
160: LTEXT "Select printer:", IDD_QPTEXT, 4, 89, 65, 8
161: LISTBOX IDD_QPRSLIST, 5, 29, 232, 60
162: DEFPUSHBUTTON "OK", DID_OK, 5, 5, 38, 13, WS_GROUP
163: PUSHBUTTON "Cancel", DID_CANCEL, 54, 5, 38, 13
164: PUSHBUTTON "Help", 310, 102, 5, 38, 13, BS_HELP
165: END
166: END
167:
168: DLGTEMPLATE IDD_PAUSEBOX LOADONCALL MOVEABLE DISCARDABLE
169: BEGIN
170: DIALOG "Gnuplot: pause", IDD_PAUSEBOX, 70, 30, 230, 33, WS_VISIBLE,
171: FCF_TITLEBAR | FCF_MINBUTTON
172: BEGIN
173: DEFPUSHBUTTON "Continue", DID_OK, 2, 0, 40, 14
174: PUSHBUTTON "Cancel", DID_CANCEL, 54, 0, 40, 14
175: PUSHBUTTON "Help", 310, 106, 0, 40, 14, BS_HELP
176: LTEXT "", IDD_PAUSETEXT, 4, 20, 223, 8
177: END
178: END
179:
180: DLGTEMPLATE ID_PRINTSTOP LOADONCALL MOVEABLE DISCARDABLE
181: BEGIN
182: DIALOG "GnuplotPM printing...", ID_PRINTSTOP, 128, 74, 148, 22,
183: WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
184: BEGIN
185: PUSHBUTTON "Cancel current print job", DID_CANCEL, 7, 3, 132,
186: 14
187: END
188: END
189:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>