added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / libraries / reqtools.h
blob8fce9422160f9c8208aa5074bf72a4db75dd3d48
1 #ifndef LIBRARIES_REQTOOLS_H
2 #define LIBRARIES_REQTOOLS_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Definitions for reqtools.library
9 Lang: English
13 ** $Filename: libraries/reqtools.h $
14 ** $Release: 2.5 $
15 ** $Revision$
17 ** reqtools.library definitions
19 ** (C) Copyright 1991-1994 Nico François
20 ** 1995-1996 Magnus Holmgren
21 ** All Rights Reserved
24 #ifndef EXEC_TYPES_H
25 #include <exec/types.h>
26 #endif /* EXEC_TYPES_H */
28 #ifndef EXEC_LISTS_H
29 #include <exec/lists.h>
30 #endif /* EXEC_LISTS_H */
32 #ifndef EXEC_LIBRARIES_H
33 #include <exec/libraries.h>
34 #endif /* EXEC_LIBRARIES_H */
36 #ifndef EXEC_SEMAPHORES_H
37 #include <exec/semaphores.h>
38 #endif /* EXEC_SEMAPHORES_H */
40 #ifndef LIBRARIES_DOS_H
41 #include <libraries/dos.h>
42 #endif /* LIBRARIES_DOS_H */
44 #ifndef LIBRARIES_DOSEXTENS_H
45 #include <libraries/dosextens.h>
46 #endif /* LIBRARIES_DOSEXTENS_H */
48 #ifndef LIBRARIES_DISKFONT_H
49 #include <libraries/diskfont.h>
50 #endif /* LIBRARIES_DISKFONT_H */
52 #ifndef GRAPHICS_TEXT_H
53 #include <graphics/text.h>
54 #endif /* GRAPHICS_TEXT_H */
56 #ifndef UTILITY_TAGITEM_H
57 #include <utility/tagitem.h>
58 #endif /* UTILITY_TAGITEM_H */
60 #ifndef UTILITY_UTILITY_H
61 #include <utility/utility.h>
62 #endif /* UTILITY_TAGITEM_H */
64 #ifndef INTUITION_INTUITION_H
65 #include <intuition/intuition.h>
66 #endif /* INTUITION_INTUITION_H */
68 #define REQTOOLSNAME "reqtools.library"
69 #define REQTOOLSVERSION 38L
71 #ifndef __AROS__
72 #define IPTR ULONG
73 #endif
75 /***********************
76 * *
77 * Preferences *
78 * *
79 ***********************/
81 #define RTPREF_FILEREQ 0L
82 #define RTPREF_FONTREQ 1L
83 #define RTPREF_PALETTEREQ 2L
84 #define RTPREF_SCREENMODEREQ 3L
85 #define RTPREF_VOLUMEREQ 4L
86 #define RTPREF_OTHERREQ 5L
87 #define RTPREF_NR_OF_REQ 6L
89 struct ReqDefaults
91 ULONG Size;
92 ULONG ReqPos;
93 UWORD LeftOffset;
94 UWORD TopOffset;
95 UWORD MinEntries;
96 UWORD MaxEntries;
99 struct ReqToolsPrefs
101 /* Size of preferences (_without_ this field and the semaphore) */
102 ULONG PrefsSize;
103 struct SignalSemaphore PrefsSemaphore;
105 /* Start of real preferences */
106 ULONG Flags;
107 struct ReqDefaults ReqDefaults[RTPREF_NR_OF_REQ];
110 #ifdef __AROS__
111 #define RTPREFS_SIZE (4 + (RTPREF_NR_OF_REQ * (4 + 4 + 2 + 2 + 2 + 2)))
112 #else
113 #define RTPREFS_SIZE (sizeof (struct ReqToolsPrefs) - sizeof (struct SignalSemaphore) - 4)
114 #endif
116 /* Flags */
118 #define RTPRB_DIRSFIRST 0L
119 #define RTPRF_DIRSFIRST (1L<<RTPRB_DIRSFIRST)
120 #define RTPRB_DIRSMIXED 1L
121 #define RTPRF_DIRSMIXED (1L<<RTPRB_DIRSMIXED)
122 #define RTPRB_IMMSORT 2L
123 #define RTPRF_IMMSORT (1L<<RTPRB_IMMSORT)
124 #define RTPRB_NOSCRTOFRONT 3L
125 #define RTPRF_NOSCRTOFRONT (1L<<RTPRB_NOSCRTOFRONT)
126 #define RTPRB_NOLED 4L
127 #define RTPRF_NOLED (1L<<RTPRB_NOLED)
128 #define RTPRB_DEFAULTFONT 5L
129 #define RTPRF_DEFAULTFONT (1L<<RTPRB_DEFAULTFONT)
130 #define RTPRB_DOWHEEL 6L
131 #define RTPRF_DOWHEEL (1L<<RTPRB_DOWHEEL)
132 #define RTPRB_FKEYS 7L
133 #define RTPRF_FKEYS (1L<<RTPRB_FKEYS)
134 #define RTPRB_FANCYWHEEL 8L
135 #define RTPRF_FANCYWHEEL (1L<<RTPRB_FANCYWHEEL)
136 #define RTPRB_MMBPARENT 9L
137 #define RTPRF_MMBPARENT (1L<<RTPRB_MMBPARENT)
139 /***********************
141 * Library Base *
143 ***********************/
145 struct ReqToolsBase
147 struct Library LibNode;
148 UBYTE RTFlags;
149 UBYTE pad[3];
150 BPTR SegList;
152 /* PUBLIC FIELDS */
154 /* NOTE: Some versions of the Manx C compiler contain a bug so it gets
155 confused by the library bases below. Add the rt_ prefix to the
156 library names to fix the problem (e.g. rt_IntuitionBase). */
159 /* The following library bases may be read and used by your program */
160 struct IntuitionBase *IntuitionBase;
161 struct GfxBase *GfxBase;
162 struct DosLibrary *DOSBase;
163 /* Next two library bases are only (and always) valid on Kickstart 2.0!
164 (1.3 version of reqtools also initializes these when run on 2.0) */
165 struct Library *GadToolsBase;
166 struct UtilityBase *UtilityBase;
168 /* PRIVATE FIELDS, THESE WILL CHANGE FROM RELEASE TO RELEASE! */
170 /* Obsolete, at least for AROS. Dont know about AmigaOS. -ksvalast. */
171 UWORD RealOpenCnt;
173 UWORD AvailFontsLock;
174 struct AvailFontsHeader *AvailFontsHeader;
175 ULONG FontsAssignType;
176 BPTR FontsAssignLock;
177 struct AssignList *FontsAssignList;
178 struct ReqToolsPrefs ReqToolsPrefs;
179 UWORD prefspad;
182 /* types of requesters, for rtAllocRequestA() */
183 #define RT_FILEREQ 0L
184 #define RT_REQINFO 1L
185 #define RT_FONTREQ 2L
186 /* (V38) */
187 #define RT_SCREENMODEREQ 3L
189 /***********************
191 * File requester *
193 ***********************/
195 /* structure _MUST_ be allocated with rtAllocRequest() */
197 struct rtFileRequester
199 ULONG ReqPos;
200 UWORD LeftOffset;
201 UWORD TopOffset;
202 ULONG Flags;
203 /* OBSOLETE IN V38! DON'T USE! */ struct Hook *Hook;
204 /* */
205 char *Dir; /* READ ONLY! Change with rtChangeReqAttrA()! */
206 char *MatchPat; /* READ ONLY! Change with rtChangeReqAttrA()! */
207 /* */
208 struct TextFont *DefaultFont;
209 ULONG WaitPointer;
210 /* (V38) */
211 ULONG LockWindow;
212 ULONG ShareIDCMP;
213 struct Hook *IntuiMsgFunc;
214 UWORD reserved1;
215 UWORD reserved2;
216 UWORD reserved3;
217 UWORD ReqHeight; /* READ ONLY! Use RTFI_Height tag! */
219 /* Private data follows! HANDS OFF :-) */
222 /* returned by rtFileRequestA() if multiselect is enabled,
223 free list with rtFreeFileList() */
225 struct rtFileList
227 struct rtFileList *Next;
228 ULONG StrLen; /* -1 for directories */
229 char *Name;
232 /* structure passed to RTFI_FilterFunc callback hook by
233 volume requester (see RTFI_VolumeRequest tag) */
235 struct rtVolumeEntry
237 ULONG Type; /* DLT_DEVICE or DLT_DIRECTORY */
238 char *Name;
241 /***********************
243 * Font requester *
245 ***********************/
247 /* structure _MUST_ be allocated with rtAllocRequest() */
249 struct rtFontRequester
251 ULONG ReqPos;
252 UWORD LeftOffset;
253 UWORD TopOffset;
254 ULONG Flags;
255 /* OBSOLETE IN V38! DON'T USE! */ struct Hook *Hook;
256 /* */
257 struct TextAttr Attr; /* READ ONLY! */
258 /* */
259 struct TextFont *DefaultFont;
260 ULONG WaitPointer;
261 /* (V38) */
262 ULONG LockWindow;
263 ULONG ShareIDCMP;
264 struct Hook *IntuiMsgFunc;
265 UWORD reserved1;
266 UWORD reserved2;
267 UWORD reserved3;
268 UWORD ReqHeight; /* READ ONLY! Use RTFO_Height tag! */
270 /* Private data follows! HANDS OFF :-) */
273 /*************************
275 * ScreenMode requester *
277 *************************/
279 /* structure _MUST_ be allocated with rtAllocRequest() */
281 struct rtScreenModeRequester
283 ULONG ReqPos;
284 UWORD LeftOffset;
285 UWORD TopOffset;
286 ULONG Flags;
287 ULONG private1;
288 /* */
289 ULONG DisplayID; /* READ ONLY! */
290 UWORD DisplayWidth; /* READ ONLY! */
291 UWORD DisplayHeight; /* READ ONLY! */
292 /* */
293 struct TextFont *DefaultFont;
294 ULONG WaitPointer;
295 ULONG LockWindow;
296 ULONG ShareIDCMP;
297 struct Hook *IntuiMsgFunc;
298 UWORD reserved1;
299 UWORD reserved2;
300 UWORD reserved3;
301 UWORD ReqHeight; /* READ ONLY! Use RTSC_Height tag! */
302 /* */
303 UWORD DisplayDepth; /* READ ONLY! */
304 UWORD OverscanType; /* READ ONLY! */
305 ULONG AutoScroll; /* READ ONLY! */
306 /* Private data follows! HANDS OFF :-) */
309 /***********************
311 * Requester Info *
313 ***********************/
315 /* for rtEZRequestA(), rtGetLongA(), rtGetStringA() and rtPaletteRequestA(),
316 _MUST_ be allocated with rtAllocRequest() */
318 struct rtReqInfo
320 ULONG ReqPos;
321 UWORD LeftOffset;
322 UWORD TopOffset;
323 ULONG Width; /* not for rtEZRequestA() */
324 char *ReqTitle; /* currently only for rtEZRequestA() */
325 ULONG Flags;
326 struct TextFont *DefaultFont; /* currently only for rtPaletteRequestA() */
327 ULONG WaitPointer;
328 /* (V38) */
329 ULONG LockWindow;
330 ULONG ShareIDCMP;
331 struct Hook *IntuiMsgFunc;
333 /* structure may be extended in future */
336 /***********************
338 * Handler Info *
340 ***********************/
342 /* for rtReqHandlerA(), will be allocated for you when you use
343 the RT_ReqHandler tag, never try to allocate this yourself! */
345 struct rtHandlerInfo
347 IPTR private1;
348 ULONG WaitMask;
349 ULONG DoNotWait;
350 /* Private data follows, HANDS OFF :-) */
353 /* possible return codes from rtReqHandlerA() */
355 #define CALL_HANDLER (ULONG)0x80000000
358 /*************************************
360 * TAGS *
362 *************************************/
364 #define RT_TagBase TAG_USER
366 /*** tags understood by most requester functions ***
368 /* optional pointer to window */
369 #define RT_Window (RT_TagBase+1)
370 /* idcmp flags requester should abort on (useful for IDCMP_DISKINSERTED) */
371 #define RT_IDCMPFlags (RT_TagBase+2)
372 /* position of requester window (see below) - default REQPOS_POINTER */
373 #define RT_ReqPos (RT_TagBase+3)
374 /* leftedge offset of requester relative to position specified by RT_ReqPos */
375 #define RT_LeftOffset (RT_TagBase+4)
376 /* topedge offset of requester relative to position specified by RT_ReqPos */
377 #define RT_TopOffset (RT_TagBase+5)
378 /* name of public screen to put requester on (Kickstart 2.0 only!) */
379 #define RT_PubScrName (RT_TagBase+6)
380 /* address of screen to put requester on */
381 #define RT_Screen (RT_TagBase+7)
382 /* tagdata must hold the address of (!) an APTR variable */
383 #define RT_ReqHandler (RT_TagBase+8)
384 /* font to use when screen font is rejected, _MUST_ be fixed-width font!
385 (struct TextFont *, not struct TextAttr *!)
386 - default GfxBase->DefaultFont */
387 #define RT_DefaultFont (RT_TagBase+9)
388 /* boolean to set the standard wait pointer in window - default FALSE */
389 #define RT_WaitPointer (RT_TagBase+10)
390 /* (V38) char preceding keyboard shortcut characters (will be underlined) */
391 #define RT_Underscore (RT_TagBase+11)
392 /* (V38) share IDCMP port with window - default FALSE */
393 #define RT_ShareIDCMP (RT_TagBase+12)
394 /* (V38) lock window and set standard wait pointer - default FALSE */
395 #define RT_LockWindow (RT_TagBase+13)
396 /* (V38) boolean to make requester's screen pop to front - default TRUE */
397 #define RT_ScreenToFront (RT_TagBase+14)
398 /* (V38) Requester should use this font - default: screen font */
399 #define RT_TextAttr (RT_TagBase+15)
400 /* (V38) call this hook for every IDCMP message not for requester */
401 #define RT_IntuiMsgFunc (RT_TagBase+16)
402 /* (V38) Locale ReqTools should use for text */
403 #define RT_Locale (RT_TagBase+17)
405 /*** tags specific to rtEZRequestA ***
407 /* title of requester window - english default "Request" or "Information" */
408 #define RTEZ_ReqTitle (RT_TagBase+20)
409 /* (RT_TagBase+21) reserved */
410 /* various flags (see below) */
411 #define RTEZ_Flags (RT_TagBase+22)
412 /* default response (activated by pressing RETURN) - default TRUE */
413 #define RTEZ_DefaultResponse (RT_TagBase+23)
415 /*** tags specific to rtGetLongA ***
417 /* minimum allowed value - default MININT */
418 #define RTGL_Min (RT_TagBase+30)
419 /* maximum allowed value - default MAXINT */
420 #define RTGL_Max (RT_TagBase+31)
421 /* suggested width of requester window (in pixels) */
422 #define RTGL_Width (RT_TagBase+32)
423 /* boolean to show the default value - default TRUE */
424 #define RTGL_ShowDefault (RT_TagBase+33)
425 /* (V38) string with possible responses - english default " _Ok |_Cancel" */
426 #define RTGL_GadFmt (RT_TagBase+34)
427 /* (V38) optional arguments for RTGL_GadFmt */
428 #define RTGL_GadFmtArgs (RT_TagBase+35)
429 /* (V38) invisible typing - default FALSE */
430 #define RTGL_Invisible (RT_TagBase+36)
431 /* (V38) window backfill - default TRUE */
432 #define RTGL_BackFill (RT_TagBase+37)
433 /* (V38) optional text above gadget */
434 #define RTGL_TextFmt (RT_TagBase+38)
435 /* (V38) optional arguments for RTGS_TextFmt */
436 #define RTGL_TextFmtArgs (RT_TagBase+39)
437 /* (V38) Center text - default FALSE */
438 #define RTGL_CenterText (RT_TagBase+100)
439 /* (V38) various flags (see below) */
440 #define RTGL_Flags RTEZ_Flags
442 /*** tags specific to rtGetStringA ***
444 /* suggested width of requester window (in pixels) */
445 #define RTGS_Width RTGL_Width
446 /* allow empty string to be accepted - default FALSE */
447 #define RTGS_AllowEmpty (RT_TagBase+80)
448 /* (V38) string with possible responses - english default " _Ok |_Cancel" */
449 #define RTGS_GadFmt RTGL_GadFmt
450 /* (V38) optional arguments for RTGS_GadFmt */
451 #define RTGS_GadFmtArgs RTGL_GadFmtArgs
452 /* (V38) invisible typing - default FALSE */
453 #define RTGS_Invisible RTGL_Invisible
454 /* (V38) window backfill - default TRUE */
455 #define RTGS_BackFill RTGL_BackFill
456 /* (V38) optional text above gadget */
457 #define RTGS_TextFmt RTGL_TextFmt
458 /* (V38) optional arguments for RTGS_TextFmt */
459 #define RTGS_TextFmtArgs RTGL_TextFmtArgs
460 /* (V38) Center text - default FALSE */
461 #define RTGS_CenterText RTGL_CenterText
462 /* (V38) various flags (see below) */
463 #define RTGS_Flags RTEZ_Flags
465 /*** tags specific to rtFileRequestA ***
467 /* various flags (see below) */
468 #define RTFI_Flags (RT_TagBase+40)
469 /* suggested height of file requester */
470 #define RTFI_Height (RT_TagBase+41)
471 /* replacement text for 'Ok' gadget (max 6 chars) */
472 #define RTFI_OkText (RT_TagBase+42)
473 /* (V38) bring up volume requester, tag data holds flags (see below) */
474 #define RTFI_VolumeRequest (RT_TagBase+43)
475 /* (V38) call this hook for every file in the directory */
476 #define RTFI_FilterFunc (RT_TagBase+44)
477 /* (V38) allow empty file to be accepted - default FALSE */
478 #define RTFI_AllowEmpty (RT_TagBase+45)
480 /*** tags specific to rtFontRequestA ***
482 /* various flags (see below) */
483 #define RTFO_Flags RTFI_Flags
484 /* suggested height of font requester */
485 #define RTFO_Height RTFI_Height
486 /* replacement text for 'Ok' gadget (max 6 chars) */
487 #define RTFO_OkText RTFI_OkText
488 /* suggested height of font sample display - default 24 */
489 #define RTFO_SampleHeight (RT_TagBase+60)
490 /* minimum height of font displayed */
491 #define RTFO_MinHeight (RT_TagBase+61)
492 /* maximum height of font displayed */
493 #define RTFO_MaxHeight (RT_TagBase+62)
494 /* [(RT_TagBase+63) to (RT_TagBase+66) used below] */
495 /* (V38) call this hook for every font */
496 #define RTFO_FilterFunc RTFI_FilterFunc
498 /*** (V38) tags for rtScreenModeRequestA ***
500 /* various flags (see below) */
501 #define RTSC_Flags RTFI_Flags
502 /* suggested height of screenmode requester */
503 #define RTSC_Height RTFI_Height
504 /* replacement text for 'Ok' gadget (max 6 chars) */
505 #define RTSC_OkText RTFI_OkText
506 /* property flags (see also RTSC_PropertyMask) */
507 #define RTSC_PropertyFlags (RT_TagBase+90)
508 /* property mask - default all bits in RTSC_PropertyFlags considered */
509 #define RTSC_PropertyMask (RT_TagBase+91)
510 /* minimum display width allowed */
511 #define RTSC_MinWidth (RT_TagBase+92)
512 /* maximum display width allowed */
513 #define RTSC_MaxWidth (RT_TagBase+93)
514 /* minimum display height allowed */
515 #define RTSC_MinHeight (RT_TagBase+94)
516 /* maximum display height allowed */
517 #define RTSC_MaxHeight (RT_TagBase+95)
518 /* minimum display depth allowed */
519 #define RTSC_MinDepth (RT_TagBase+96)
520 /* maximum display depth allowed */
521 #define RTSC_MaxDepth (RT_TagBase+97)
522 /* call this hook for every display mode id */
523 #define RTSC_FilterFunc RTFI_FilterFunc
525 /*** tags for rtChangeReqAttrA ***
527 /* file requester - set directory */
528 #define RTFI_Dir (RT_TagBase+50)
529 /* file requester - set wildcard pattern */
530 #define RTFI_MatchPat (RT_TagBase+51)
531 /* file requester - add a file or directory to the buffer */
532 #define RTFI_AddEntry (RT_TagBase+52)
533 /* file requester - remove a file or directory from the buffer */
534 #define RTFI_RemoveEntry (RT_TagBase+53)
535 /* font requester - set font name of selected font */
536 #define RTFO_FontName (RT_TagBase+63)
537 /* font requester - set font size */
538 #define RTFO_FontHeight (RT_TagBase+64)
539 /* font requester - set font style */
540 #define RTFO_FontStyle (RT_TagBase+65)
541 /* font requester - set font flags */
542 #define RTFO_FontFlags (RT_TagBase+66)
543 /* (V38) screenmode requester - get display attributes from screen */
544 #define RTSC_ModeFromScreen (RT_TagBase+80)
545 /* (V38) screenmode requester - set display mode id (32-bit extended) */
546 #define RTSC_DisplayID (RT_TagBase+81)
547 /* (V38) screenmode requester - set display width */
548 #define RTSC_DisplayWidth (RT_TagBase+82)
549 /* (V38) screenmode requester - set display height */
550 #define RTSC_DisplayHeight (RT_TagBase+83)
551 /* (V38) screenmode requester - set display depth */
552 #define RTSC_DisplayDepth (RT_TagBase+84)
553 /* (V38) screenmode requester - set overscan type, 0 for regular size */
554 #define RTSC_OverscanType (RT_TagBase+85)
555 /* (V38) screenmode requester - set autoscroll */
556 #define RTSC_AutoScroll (RT_TagBase+86)
558 /*** tags for rtPaletteRequestA ***
560 /* initially selected color - default 1 */
561 #define RTPA_Color (RT_TagBase+70)
563 /*** tags for rtReqHandlerA ***
565 /* end requester by software control, set tagdata to REQ_CANCEL, REQ_OK or
566 in case of rtEZRequest to the return value */
567 #define RTRH_EndRequest (RT_TagBase+60)
569 /*** tags for rtAllocRequestA ***/
570 /* no tags defined yet */
573 /************
574 * RT_ReqPos *
575 ************/
576 #define REQPOS_POINTER 0L
577 #define REQPOS_CENTERWIN 1L
578 #define REQPOS_CENTERSCR 2L
579 #define REQPOS_TOPLEFTWIN 3L
580 #define REQPOS_TOPLEFTSCR 4L
582 /******************
583 * RTRH_EndRequest *
584 ******************/
585 #define REQ_CANCEL 0L
586 #define REQ_OK 1L
588 /***************************************
589 * flags for RTFI_Flags and RTFO_Flags *
590 * or filereq->Flags and fontreq->Flags *
591 ***************************************/
592 #define FREQB_NOBUFFER 2L
593 #define FREQF_NOBUFFER (1L<<FREQB_NOBUFFER)
595 /*****************************************
596 * flags for RTFI_Flags or filereq->Flags *
597 *****************************************/
598 #define FREQB_MULTISELECT 0L
599 #define FREQF_MULTISELECT (1L<<FREQB_MULTISELECT)
600 #define FREQB_SAVE 1L
601 #define FREQF_SAVE (1L<<FREQB_SAVE)
602 #define FREQB_NOFILES 3L
603 #define FREQF_NOFILES (1L<<FREQB_NOFILES)
604 #define FREQB_PATGAD 4L
605 #define FREQF_PATGAD (1L<<FREQB_PATGAD)
606 #define FREQB_SELECTDIRS 12L
607 #define FREQF_SELECTDIRS (1L<<FREQB_SELECTDIRS)
609 /*****************************************
610 * flags for RTFO_Flags or fontreq->Flags *
611 *****************************************/
612 #define FREQB_FIXEDWIDTH 5L
613 #define FREQF_FIXEDWIDTH (1L<<FREQB_FIXEDWIDTH)
614 #define FREQB_COLORFONTS 6L
615 #define FREQF_COLORFONTS (1L<<FREQB_COLORFONTS)
616 #define FREQB_CHANGEPALETTE 7L
617 #define FREQF_CHANGEPALETTE (1L<<FREQB_CHANGEPALETTE)
618 #define FREQB_LEAVEPALETTE 8L
619 #define FREQF_LEAVEPALETTE (1L<<FREQB_LEAVEPALETTE)
620 #define FREQB_SCALE 9L
621 #define FREQF_SCALE (1L<<FREQB_SCALE)
622 #define FREQB_STYLE 10L
623 #define FREQF_STYLE (1L<<FREQB_STYLE)
625 /*****************************************************
626 * (V38) flags for RTSC_Flags or screenmodereq->Flags *
627 *****************************************************/
628 #define SCREQB_SIZEGADS 13L
629 #define SCREQF_SIZEGADS (1L<<SCREQB_SIZEGADS)
630 #define SCREQB_DEPTHGAD 14L
631 #define SCREQF_DEPTHGAD (1L<<SCREQB_DEPTHGAD)
632 #define SCREQB_NONSTDMODES 15L
633 #define SCREQF_NONSTDMODES (1L<<SCREQB_NONSTDMODES)
634 #define SCREQB_GUIMODES 16L
635 #define SCREQF_GUIMODES (1L<<SCREQB_GUIMODES)
636 #define SCREQB_AUTOSCROLLGAD 18L
637 #define SCREQF_AUTOSCROLLGAD (1L<<SCREQB_AUTOSCROLLGAD)
638 #define SCREQB_OVERSCANGAD 19L
639 #define SCREQF_OVERSCANGAD (1L<<SCREQB_OVERSCANGAD)
641 /*****************************************
642 * flags for RTEZ_Flags or reqinfo->Flags *
643 *****************************************/
644 #define EZREQB_NORETURNKEY 0L
645 #define EZREQF_NORETURNKEY (1L<<EZREQB_NORETURNKEY)
646 #define EZREQB_LAMIGAQUAL 1L
647 #define EZREQF_LAMIGAQUAL (1L<<EZREQB_LAMIGAQUAL)
648 #define EZREQB_CENTERTEXT 2L
649 #define EZREQF_CENTERTEXT (1L<<EZREQB_CENTERTEXT)
651 /***********************************************
652 * (V38) flags for RTGL_Flags or reqinfo->Flags *
653 ***********************************************/
654 #define GLREQB_CENTERTEXT EZREQB_CENTERTEXT
655 #define GLREQF_CENTERTEXT EZREQF_CENTERTEXT
656 #define GLREQB_HIGHLIGHTTEXT 3L
657 #define GLREQF_HIGHLIGHTTEXT (1L<<GLREQB_HIGHLIGHTTEXT)
659 /***********************************************
660 * (V38) flags for RTGS_Flags or reqinfo->Flags *
661 ***********************************************/
662 #define GSREQB_CENTERTEXT EZREQB_CENTERTEXT
663 #define GSREQF_CENTERTEXT EZREQF_CENTERTEXT
664 #define GSREQB_HIGHLIGHTTEXT GLREQB_HIGHLIGHTTEXT
665 #define GSREQF_HIGHLIGHTTEXT GLREQF_HIGHLIGHTTEXT
667 /*****************************************
668 * (V38) flags for RTFI_VolumeRequest tag *
669 *****************************************/
670 #define VREQB_NOASSIGNS 0L
671 #define VREQF_NOASSIGNS (1L<<VREQB_NOASSIGNS)
672 #define VREQB_NODISKS 1L
673 #define VREQF_NODISKS (1L<<VREQB_NODISKS)
674 #define VREQB_ALLDISKS 2L
675 #define VREQF_ALLDISKS (1L<<VREQB_ALLDISKS)
678 Following things are obsolete in ReqTools V38.
679 DON'T USE THESE IN NEW CODE!
681 #ifndef NO_REQTOOLS_OBSOLETE
682 #define REQHOOK_WILDFILE 0L
683 #define REQHOOK_WILDFONT 1L
684 #define FREQB_DOWILDFUNC 11L
685 #define FREQF_DOWILDFUNC (1L<<FREQB_DOWILDFUNC)
686 #endif
688 #endif /* LIBRARIES_REQTOOLS_H */