-
Notifications
You must be signed in to change notification settings - Fork 2
/
toswin2.h
230 lines (189 loc) · 8.66 KB
/
toswin2.h
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
/*
* resource set indices for toswin2
*
* created by ORCS 2.16
*/
/*
* Number of Strings: 184
* Number of Bitblks: 0
* Number of Iconblks: 0
* Number of Color Iconblks: 3
* Number of Color Icons: 3
* Number of Tedinfos: 28
* Number of Free Strings: 23
* Number of Free Images: 0
* Number of Objects: 132
* Number of Trees: 9
* Number of Userblks: 0
* Number of Images: 0
* Total file size: 11598
*/
#undef RSC_NAME
#ifndef __ALCYON__
#define RSC_NAME "toswin2"
#endif
#undef RSC_ID
#ifdef toswin2
#define RSC_ID toswin2
#else
#define RSC_ID 0
#endif
#ifndef RSC_STATIC_FILE
# define RSC_STATIC_FILE 0
#endif
#if !RSC_STATIC_FILE
#define NUM_STRINGS 184
#define NUM_FRSTR 23
#define NUM_UD 0
#define NUM_IMAGES 0
#define NUM_BB 0
#define NUM_FRIMG 0
#define NUM_IB 0
#define NUM_CIB 3
#define NUM_TI 28
#define NUM_OBS 132
#define NUM_TREE 9
#endif
#define VERSION 0 /* form/dialog */
#define RSC_VERSION 3 /* STRING in tree VERSION */
#define MENUTREE 1 /* menu */
#define TDESK 3 /* TITLE in tree MENUTREE */
#define TDATEI 4 /* TITLE in tree MENUTREE */
#define TFENSTER 5 /* TITLE in tree MENUTREE */
#define TOPTION 6 /* TITLE in tree MENUTREE */
#define MABOUT 9 /* STRING in tree MENUTREE */
#define MPROG 18 /* STRING in tree MENUTREE */
#define MSHELL 19 /* STRING in tree MENUTREE */
#define MENDE 21 /* STRING in tree MENUTREE */
#define MCONSOLE 23 /* STRING in tree MENUTREE */
#define MCYCLE 25 /* STRING in tree MENUTREE */
#define MCLOSE 26 /* STRING in tree MENUTREE */
#define MAVCYCLE 28 /* STRING in tree MENUTREE */
#define MSHORTCUT 29 /* STRING in tree MENUTREE */
#define MALLOGIN 30 /* STRING in tree MENUTREE */
#define MCCONFIG 32 /* STRING in tree MENUTREE */
#define MWCONFIG 33 /* STRING in tree MENUTREE */
#define MSAVE 35 /* STRING in tree MENUTREE */
#define ABOUT 2 /* form/dialog */
#define AVERSION 4 /* FTEXT in tree ABOUT */ /* max len 4 */
#define ADATUM 5 /* TEXT in tree ABOUT */ /* max len 11 */
#define AVT100 9 /* TEXT in tree ABOUT */ /* max len 34 */
#define ACOMP 11 /* TEXT in tree ABOUT */ /* max len 5 */
#define AMINT 13 /* TEXT in tree ABOUT */ /* max len 11 */
#define AGEM 15 /* TEXT in tree ABOUT */ /* max len 11 */
#define ACF 17 /* TEXT in tree ABOUT */ /* max len 11 */
#define ARG 3 /* form/dialog */
#define ARGPROG 2 /* STRING in tree ARG */
#define ARGSTR 3 /* FTEXT in tree ARG */ /* max len 50 */
#define ARGOK 4 /* BUTTON in tree ARG */
#define ARGABBRUCH 5 /* BUTTON in tree ARG */
#define CONCONFIG 4 /* form/dialog */
#define CAUTO 3 /* BUTTON in tree CONCONFIG */
#define COUTPUT 4 /* BUTTON in tree CONCONFIG */
#define CLOGACTIVE 6 /* BUTTON in tree CONCONFIG */
#define CLOGSEL 7 /* BUTTON in tree CONCONFIG */
#define CLOGNAME 8 /* TEXT in tree CONCONFIG */ /* max len 19 */
#define CHELP 9 /* BOXTEXT in tree CONCONFIG */ /* max len 5 */
#define COK 10 /* BUTTON in tree CONCONFIG */
#define CABBRUCH 11 /* BUTTON in tree CONCONFIG */
#define WINCONFIG 5 /* form/dialog */
#define WPROG 2 /* TEXT in tree WINCONFIG */ /* max len 40 */
#define WCOL 5 /* FTEXT in tree WINCONFIG */ /* max len 3 */
#define WROW 7 /* FTEXT in tree WINCONFIG */ /* max len 3 */
#define WBUFFER 10 /* FTEXT in tree WINCONFIG */ /* max len 5 */
#define WGBOX 13 /* BOX in tree WINCONFIG */
#define WGCLOSER 14 /* BOXCHAR in tree WINCONFIG */
#define WGTITLE 15 /* BOXTEXT in tree WINCONFIG */ /* max len 5 */
#define WGSMALLER 16 /* BOXCHAR in tree WINCONFIG */
#define WGFULLER 17 /* BOXCHAR in tree WINCONFIG */
#define WGSLVERT 18 /* BOX in tree WINCONFIG */
#define WGSLHOR 19 /* BOX in tree WINCONFIG */
#define WGSIZER 20 /* BOXCHAR in tree WINCONFIG */
#define WTITLE 22 /* FTEXT in tree WINCONFIG */ /* max len 23 */
#define WFBOX 23 /* BUTTON in tree WINCONFIG */
#define WFNAME 24 /* TEXT in tree WINCONFIG */ /* max len 24 */
#define WFSIZE 26 /* TEXT in tree WINCONFIG */ /* max len 3 */
#define WFSEL 27 /* BUTTON in tree WINCONFIG */
#define WTABSTR 28 /* STRING in tree WINCONFIG */
#define WTAB 29 /* BOXTEXT in tree WINCONFIG */ /* max len 11 */
#define WTERMSTR 31 /* STRING in tree WINCONFIG */
#define WTERM 32 /* BOXTEXT in tree WINCONFIG */ /* max len 6 */
#define WFGSTR 33 /* STRING in tree WINCONFIG */
#define WFGCOL 34 /* BOX in tree WINCONFIG */
#define WBGSTR 35 /* STRING in tree WINCONFIG */
#define WBGCOL 36 /* BOX in tree WINCONFIG */
#define WBLOCKCURSOR 38 /* BUTTON in tree WINCONFIG */
#define WWRAP 39 /* BUTTON in tree WINCONFIG */
#define WCLOSE 40 /* BUTTON in tree WINCONFIG */
#define WHELP 41 /* BOXTEXT in tree WINCONFIG */ /* max len 5 */
#define WOK 42 /* BUTTON in tree WINCONFIG */
#define WABBRUCH 43 /* BUTTON in tree WINCONFIG */
#define WINICON 6 /* form/dialog */
#define WIBOX 0 /* BOX in tree WINICON */
#define WICON 1 /* CICON in tree WINICON */ /* max len 1 */
#define CONICON 7 /* form/dialog */
#define POPUPS 8 /* form/dialog */
#define TERMPOP 1 /* BOX in tree POPUPS */
#define TP52 2 /* STRING in tree POPUPS */
#define TP100 3 /* STRING in tree POPUPS */
#define TABPOP 4 /* BOX in tree POPUPS */
#define TPATARI 5 /* STRING in tree POPUPS */
#define TPISO 6 /* STRING in tree POPUPS */
#define NOAES41 0 /* Alert string */
/* [3][TosWin2 l„uft nur unter|MiNT und AES 4.1!][Testen|Abbruch] */
#define NOSCRAP 1 /* Alert string */
/* [1][Klemmbrettpfad nicht|gesetzt.][Abbruch] */
#define SCRAPERR 2 /* Alert string */
/* [1][Fehler beim Schreiben|auf Klemmbrett.][Abbruch] */
#define SCRAPMEM 3 /* Alert string */
/* [1][Kein Speicher fr|Klemmbrett.][Abbruch] */
#define SCRAPEMPTY 4 /* Alert string */
/* [1][Klemmbrett ist leer.][OK] */
#define NOXFSL 5 /* Alert string */
/* [1][Keine Fontauswahl|installiert!][Abbruch] */
#define NOTEXT 6 /* Alert string */
/* [1][Kein Speicher fr|Fenster frei.][Abbruch] */
#define NOPTY 7 /* Alert string */
/* [1][Kein PTY mehr frei.][Abbruch] */
#define NOFORK 8 /* Alert string */
/* [1][Fehler bei fork().][Abbruch] */
#define NOPWD 9 /* Alert string */
/* [1][Keine bzw. fehlerhafte|Userdaten in /etc/passwd.][Abbruch] */
#define LOADERR 10 /* Alert string */
/* [1][Fehler beim Lesen der|Parameterdatei.][Abbruch] */
#define SAVEERR 11 /* Alert string */
/* [1][Fehler beim Schreiben|der Parameterdatei.][Abbruch] */
#define XCONERR 12 /* Alert string */
/* [1][Fehler beim ”ffnen des|Xconout2-Device.][Abbruch] */
#define IDERR 13 /* Alert string */
/* [1][Parameterdatei ungltig.|(Falsche ID)][Abbruch] */
#define NOSTGUIDE 14 /* Alert string */
/* [1][ST-Guide ist nicht|installiert!][OK] */
#define NODDSEND 15 /* Alert string */
/* [3][Das System kennt WF_OWNER|nicht, Drag&Drop daher nicht|m”glich!][schade] */
#define NOTWCALL 16 /* Alert string */
/* [3][Kommunikationsfehler:|tw-call antwortet nicht!?][Abbruch] */
#define STRPROGSEL 17 /* Free string */
/* TOS-Programm starten */
#define STRFONTSEL 18 /* Free string */
/* Zeichensatz w„hlen */
#define STRCFGPROG 19 /* Free string */
/* fr: %s */
#define STRCFGSTD 20 /* Free string */
/* Standard-Fenster */
#define STRLOGSEL 21 /* Free string */
/* Log-Datei w„hlen */
#define STRCONSTITLE 22 /* Free string */
/* Konsole */
#ifdef __STDC__
#ifndef _WORD
# ifdef WORD
# define _WORD WORD
# else
# define _WORD short
# endif
#endif
extern _WORD toswin2_rsc_load(_WORD wchar, _WORD hchar);
extern _WORD toswin2_rsc_gaddr(_WORD type, _WORD idx, void *gaddr);
extern _WORD toswin2_rsc_free(void);
#endif