mesa: simplify dependencies in mmakefiles
[AROS.git] / compiler / include / libraries / reqtools.h
blob650ff98d2e5dea7d80dd3cd7d53c0ee157273608
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, the semaphore and IsLoaded) */
102 ULONG PrefsSize;
103 struct SignalSemaphore PrefsSemaphore;
104 BOOL IsLoaded; /* To avoid multiple loading of preferences */
106 /* Start of real preferences */
107 ULONG Flags;
108 struct ReqDefaults ReqDefaults[RTPREF_NR_OF_REQ];
111 #ifdef __AROS__
112 #define RTPREFS_SIZE (4 + (RTPREF_NR_OF_REQ * (4 + 4 + 2 + 2 + 2 + 2)))
113 #else
114 #define RTPREFS_SIZE (sizeof (struct ReqToolsPrefs) - sizeof (struct SignalSemaphore) - 4)
115 #endif
117 /* Flags */
119 #define RTPRB_DIRSFIRST 0L
120 #define RTPRF_DIRSFIRST (1L<<RTPRB_DIRSFIRST)
121 #define RTPRB_DIRSMIXED 1L
122 #define RTPRF_DIRSMIXED (1L<<RTPRB_DIRSMIXED)
123 #define RTPRB_IMMSORT 2L
124 #define RTPRF_IMMSORT (1L<<RTPRB_IMMSORT)
125 #define RTPRB_NOSCRTOFRONT 3L
126 #define RTPRF_NOSCRTOFRONT (1L<<RTPRB_NOSCRTOFRONT)
127 #define RTPRB_NOLED 4L
128 #define RTPRF_NOLED (1L<<RTPRB_NOLED)
129 #define RTPRB_DEFAULTFONT 5L
130 #define RTPRF_DEFAULTFONT (1L<<RTPRB_DEFAULTFONT)
131 #define RTPRB_DOWHEEL 6L
132 #define RTPRF_DOWHEEL (1L<<RTPRB_DOWHEEL)
133 #define RTPRB_FKEYS 7L
134 #define RTPRF_FKEYS (1L<<RTPRB_FKEYS)
135 #define RTPRB_FANCYWHEEL 8L
136 #define RTPRF_FANCYWHEEL (1L<<RTPRB_FANCYWHEEL)
137 #define RTPRB_MMBPARENT 9L
138 #define RTPRF_MMBPARENT (1L<<RTPRB_MMBPARENT)
140 /***********************
142 * Library Base *
144 ***********************/
146 struct ReqToolsBase
148 struct Library LibNode;
149 UBYTE RTFlags;
150 UBYTE pad[3];
151 BPTR SegList;
153 /* PUBLIC FIELDS */
155 /* NOTE: Some versions of the Manx C compiler contain a bug so it gets
156 confused by the library bases below. Add the rt_ prefix to the
157 library names to fix the problem (e.g. rt_IntuitionBase). */
160 /* The following library bases may be read and used by your program */
161 struct IntuitionBase *IntuitionBase;
162 struct GfxBase *GfxBase;
163 struct DosLibrary *DOSBase;
164 /* Next two library bases are only (and always) valid on Kickstart 2.0!
165 (1.3 version of reqtools also initializes these when run on 2.0) */
166 struct Library *GadToolsBase;
167 struct UtilityBase *UtilityBase;
169 /* PRIVATE FIELDS, THESE WILL CHANGE FROM RELEASE TO RELEASE! */
171 /* Obsolete, at least for AROS. Dont know about AmigaOS. -ksvalast. */
172 UWORD RealOpenCnt;
174 UWORD AvailFontsLock;
175 struct AvailFontsHeader *AvailFontsHeader;
176 ULONG FontsAssignType;
177 BPTR FontsAssignLock;
178 struct AssignList *FontsAssignList;
179 struct ReqToolsPrefs ReqToolsPrefs;
180 UWORD prefspad;
183 /* types of requesters, for rtAllocRequestA() */
184 #define RT_FILEREQ 0L
185 #define RT_REQINFO 1L
186 #define RT_FONTREQ 2L
187 /* (V38) */
188 #define RT_SCREENMODEREQ 3L
190 /***********************
192 * File requester *
194 ***********************/
196 /* structure _MUST_ be allocated with rtAllocRequest() */
198 struct rtFileRequester
200 ULONG ReqPos;
201 UWORD LeftOffset;
202 UWORD TopOffset;
203 ULONG Flags;
204 /* OBSOLETE IN V38! DON'T USE! */ struct Hook *Hook;
205 /* */
206 char *Dir; /* READ ONLY! Change with rtChangeReqAttrA()! */
207 char *MatchPat; /* READ ONLY! Change with rtChangeReqAttrA()! */
208 /* */
209 struct TextFont *DefaultFont;
210 ULONG WaitPointer;
211 /* (V38) */
212 ULONG LockWindow;
213 ULONG ShareIDCMP;
214 struct Hook *IntuiMsgFunc;
215 UWORD reserved1;
216 UWORD reserved2;
217 UWORD reserved3;
218 UWORD ReqHeight; /* READ ONLY! Use RTFI_Height tag! */
220 /* Private data follows! HANDS OFF :-) */
223 /* returned by rtFileRequestA() if multiselect is enabled,
224 free list with rtFreeFileList() */
226 struct rtFileList
228 struct rtFileList *Next;
229 ULONG StrLen; /* -1 for directories */
230 char *Name;
233 /* structure passed to RTFI_FilterFunc callback hook by
234 volume requester (see RTFI_VolumeRequest tag) */
236 struct rtVolumeEntry
238 ULONG Type; /* DLT_DEVICE or DLT_DIRECTORY */
239 char *Name;
242 /***********************
244 * Font requester *
246 ***********************/
248 /* structure _MUST_ be allocated with rtAllocRequest() */
250 struct rtFontRequester
252 ULONG ReqPos;
253 UWORD LeftOffset;
254 UWORD TopOffset;
255 ULONG Flags;
256 /* OBSOLETE IN V38! DON'T USE! */ struct Hook *Hook;
257 /* */
258 struct TextAttr Attr; /* READ ONLY! */
259 /* */
260 struct TextFont *DefaultFont;
261 ULONG WaitPointer;
262 /* (V38) */
263 ULONG LockWindow;
264 ULONG ShareIDCMP;
265 struct Hook *IntuiMsgFunc;
266 UWORD reserved1;
267 UWORD reserved2;
268 UWORD reserved3;
269 UWORD ReqHeight; /* READ ONLY! Use RTFO_Height tag! */
271 /* Private data follows! HANDS OFF :-) */
274 /*************************
276 * ScreenMode requester *
278 *************************/
280 /* structure _MUST_ be allocated with rtAllocRequest() */
282 struct rtScreenModeRequester
284 ULONG ReqPos;
285 UWORD LeftOffset;
286 UWORD TopOffset;
287 ULONG Flags;
288 ULONG private1;
289 /* */
290 ULONG DisplayID; /* READ ONLY! */
291 UWORD DisplayWidth; /* READ ONLY! */
292 UWORD DisplayHeight; /* READ ONLY! */
293 /* */
294 struct TextFont *DefaultFont;
295 ULONG WaitPointer;
296 ULONG LockWindow;
297 ULONG ShareIDCMP;
298 struct Hook *IntuiMsgFunc;
299 UWORD reserved1;
300 UWORD reserved2;
301 UWORD reserved3;
302 UWORD ReqHeight; /* READ ONLY! Use RTSC_Height tag! */
303 /* */
304 UWORD DisplayDepth; /* READ ONLY! */
305 UWORD OverscanType; /* READ ONLY! */
306 ULONG AutoScroll; /* READ ONLY! */
307 /* Private data follows! HANDS OFF :-) */
310 /***********************
312 * Requester Info *
314 ***********************/
316 /* for rtEZRequestA(), rtGetLongA(), rtGetStringA() and rtPaletteRequestA(),
317 _MUST_ be allocated with rtAllocRequest() */
319 struct rtReqInfo
321 ULONG ReqPos;
322 UWORD LeftOffset;
323 UWORD TopOffset;
324 ULONG Width; /* not for rtEZRequestA() */
325 char *ReqTitle; /* currently only for rtEZRequestA() */
326 ULONG Flags;
327 struct TextFont *DefaultFont; /* currently only for rtPaletteRequestA() */
328 ULONG WaitPointer;
329 /* (V38) */
330 ULONG LockWindow;
331 ULONG ShareIDCMP;
332 struct Hook *IntuiMsgFunc;
334 /* structure may be extended in future */
337 /***********************
339 * Handler Info *
341 ***********************/
343 /* for rtReqHandlerA(), will be allocated for you when you use
344 the RT_ReqHandler tag, never try to allocate this yourself! */
346 struct rtHandlerInfo
348 IPTR private1;
349 ULONG WaitMask;
350 ULONG DoNotWait;
351 /* Private data follows, HANDS OFF :-) */
354 /* possible return codes from rtReqHandlerA() */
356 #define CALL_HANDLER (ULONG)0x80000000
359 /*************************************
361 * TAGS *
363 *************************************/
365 #define RT_TagBase TAG_USER
367 /*** tags understood by most requester functions ***
369 /* optional pointer to window */
370 #define RT_Window (RT_TagBase+1)
371 /* idcmp flags requester should abort on (useful for IDCMP_DISKINSERTED) */
372 #define RT_IDCMPFlags (RT_TagBase+2)
373 /* position of requester window (see below) - default REQPOS_POINTER */
374 #define RT_ReqPos (RT_TagBase+3)
375 /* leftedge offset of requester relative to position specified by RT_ReqPos */
376 #define RT_LeftOffset (RT_TagBase+4)
377 /* topedge offset of requester relative to position specified by RT_ReqPos */
378 #define RT_TopOffset (RT_TagBase+5)
379 /* name of public screen to put requester on (Kickstart 2.0 only!) */
380 #define RT_PubScrName (RT_TagBase+6)
381 /* address of screen to put requester on */
382 #define RT_Screen (RT_TagBase+7)
383 /* tagdata must hold the address of (!) an APTR variable */
384 #define RT_ReqHandler (RT_TagBase+8)
385 /* font to use when screen font is rejected, _MUST_ be fixed-width font!
386 (struct TextFont *, not struct TextAttr *!)
387 - default GfxBase->DefaultFont */
388 #define RT_DefaultFont (RT_TagBase+9)
389 /* boolean to set the standard wait pointer in window - default FALSE */
390 #define RT_WaitPointer (RT_TagBase+10)
391 /* (V38) char preceding keyboard shortcut characters (will be underlined) */
392 #define RT_Underscore (RT_TagBase+11)
393 /* (V38) share IDCMP port with window - default FALSE */
394 #define RT_ShareIDCMP (RT_TagBase+12)
395 /* (V38) lock window and set standard wait pointer - default FALSE */
396 #define RT_LockWindow (RT_TagBase+13)
397 /* (V38) boolean to make requester's screen pop to front - default TRUE */
398 #define RT_ScreenToFront (RT_TagBase+14)
399 /* (V38) Requester should use this font - default: screen font */
400 #define RT_TextAttr (RT_TagBase+15)
401 /* (V38) call this hook for every IDCMP message not for requester */
402 #define RT_IntuiMsgFunc (RT_TagBase+16)
403 /* (V38) Locale ReqTools should use for text */
404 #define RT_Locale (RT_TagBase+17)
406 /*** tags specific to rtEZRequestA ***
408 /* title of requester window - english default "Request" or "Information" */
409 #define RTEZ_ReqTitle (RT_TagBase+20)
410 /* (RT_TagBase+21) reserved */
411 /* various flags (see below) */
412 #define RTEZ_Flags (RT_TagBase+22)
413 /* default response (activated by pressing RETURN) - default TRUE */
414 #define RTEZ_DefaultResponse (RT_TagBase+23)
416 /*** tags specific to rtGetLongA ***
418 /* minimum allowed value - default MININT */
419 #define RTGL_Min (RT_TagBase+30)
420 /* maximum allowed value - default MAXINT */
421 #define RTGL_Max (RT_TagBase+31)
422 /* suggested width of requester window (in pixels) */
423 #define RTGL_Width (RT_TagBase+32)
424 /* boolean to show the default value - default TRUE */
425 #define RTGL_ShowDefault (RT_TagBase+33)
426 /* (V38) string with possible responses - english default " _Ok |_Cancel" */
427 #define RTGL_GadFmt (RT_TagBase+34)
428 /* (V38) optional arguments for RTGL_GadFmt */
429 #define RTGL_GadFmtArgs (RT_TagBase+35)
430 /* (V38) invisible typing - default FALSE */
431 #define RTGL_Invisible (RT_TagBase+36)
432 /* (V38) window backfill - default TRUE */
433 #define RTGL_BackFill (RT_TagBase+37)
434 /* (V38) optional text above gadget */
435 #define RTGL_TextFmt (RT_TagBase+38)
436 /* (V38) optional arguments for RTGS_TextFmt */
437 #define RTGL_TextFmtArgs (RT_TagBase+39)
438 /* (V38) Center text - default FALSE */
439 #define RTGL_CenterText (RT_TagBase+100)
440 /* (V38) various flags (see below) */
441 #define RTGL_Flags RTEZ_Flags
443 /*** tags specific to rtGetStringA ***
445 /* suggested width of requester window (in pixels) */
446 #define RTGS_Width RTGL_Width
447 /* allow empty string to be accepted - default FALSE */
448 #define RTGS_AllowEmpty (RT_TagBase+80)
449 /* (V38) string with possible responses - english default " _Ok |_Cancel" */
450 #define RTGS_GadFmt RTGL_GadFmt
451 /* (V38) optional arguments for RTGS_GadFmt */
452 #define RTGS_GadFmtArgs RTGL_GadFmtArgs
453 /* (V38) invisible typing - default FALSE */
454 #define RTGS_Invisible RTGL_Invisible
455 /* (V38) window backfill - default TRUE */
456 #define RTGS_BackFill RTGL_BackFill
457 /* (V38) optional text above gadget */
458 #define RTGS_TextFmt RTGL_TextFmt
459 /* (V38) optional arguments for RTGS_TextFmt */
460 #define RTGS_TextFmtArgs RTGL_TextFmtArgs
461 /* (V38) Center text - default FALSE */
462 #define RTGS_CenterText RTGL_CenterText
463 /* (V38) various flags (see below) */
464 #define RTGS_Flags RTEZ_Flags
466 /*** tags specific to rtFileRequestA ***
468 /* various flags (see below) */
469 #define RTFI_Flags (RT_TagBase+40)
470 /* suggested height of file requester */
471 #define RTFI_Height (RT_TagBase+41)
472 /* replacement text for 'Ok' gadget (max 6 chars) */
473 #define RTFI_OkText (RT_TagBase+42)
474 /* (V38) bring up volume requester, tag data holds flags (see below) */
475 #define RTFI_VolumeRequest (RT_TagBase+43)
476 /* (V38) call this hook for every file in the directory */
477 #define RTFI_FilterFunc (RT_TagBase+44)
478 /* (V38) allow empty file to be accepted - default FALSE */
479 #define RTFI_AllowEmpty (RT_TagBase+45)
481 /*** tags specific to rtFontRequestA ***
483 /* various flags (see below) */
484 #define RTFO_Flags RTFI_Flags
485 /* suggested height of font requester */
486 #define RTFO_Height RTFI_Height
487 /* replacement text for 'Ok' gadget (max 6 chars) */
488 #define RTFO_OkText RTFI_OkText
489 /* suggested height of font sample display - default 24 */
490 #define RTFO_SampleHeight (RT_TagBase+60)
491 /* minimum height of font displayed */
492 #define RTFO_MinHeight (RT_TagBase+61)
493 /* maximum height of font displayed */
494 #define RTFO_MaxHeight (RT_TagBase+62)
495 /* [(RT_TagBase+63) to (RT_TagBase+66) used below] */
496 /* (V38) call this hook for every font */
497 #define RTFO_FilterFunc RTFI_FilterFunc
499 /*** (V38) tags for rtScreenModeRequestA ***
501 /* various flags (see below) */
502 #define RTSC_Flags RTFI_Flags
503 /* suggested height of screenmode requester */
504 #define RTSC_Height RTFI_Height
505 /* replacement text for 'Ok' gadget (max 6 chars) */
506 #define RTSC_OkText RTFI_OkText
507 /* property flags (see also RTSC_PropertyMask) */
508 #define RTSC_PropertyFlags (RT_TagBase+90)
509 /* property mask - default all bits in RTSC_PropertyFlags considered */
510 #define RTSC_PropertyMask (RT_TagBase+91)
511 /* minimum display width allowed */
512 #define RTSC_MinWidth (RT_TagBase+92)
513 /* maximum display width allowed */
514 #define RTSC_MaxWidth (RT_TagBase+93)
515 /* minimum display height allowed */
516 #define RTSC_MinHeight (RT_TagBase+94)
517 /* maximum display height allowed */
518 #define RTSC_MaxHeight (RT_TagBase+95)
519 /* minimum display depth allowed */
520 #define RTSC_MinDepth (RT_TagBase+96)
521 /* maximum display depth allowed */
522 #define RTSC_MaxDepth (RT_TagBase+97)
523 /* call this hook for every display mode id */
524 #define RTSC_FilterFunc RTFI_FilterFunc
526 /*** tags for rtChangeReqAttrA ***
528 /* file requester - set directory */
529 #define RTFI_Dir (RT_TagBase+50)
530 /* file requester - set wildcard pattern */
531 #define RTFI_MatchPat (RT_TagBase+51)
532 /* file requester - add a file or directory to the buffer */
533 #define RTFI_AddEntry (RT_TagBase+52)
534 /* file requester - remove a file or directory from the buffer */
535 #define RTFI_RemoveEntry (RT_TagBase+53)
536 /* font requester - set font name of selected font */
537 #define RTFO_FontName (RT_TagBase+63)
538 /* font requester - set font size */
539 #define RTFO_FontHeight (RT_TagBase+64)
540 /* font requester - set font style */
541 #define RTFO_FontStyle (RT_TagBase+65)
542 /* font requester - set font flags */
543 #define RTFO_FontFlags (RT_TagBase+66)
544 /* (V38) screenmode requester - get display attributes from screen */
545 #define RTSC_ModeFromScreen (RT_TagBase+80)
546 /* (V38) screenmode requester - set display mode id (32-bit extended) */
547 #define RTSC_DisplayID (RT_TagBase+81)
548 /* (V38) screenmode requester - set display width */
549 #define RTSC_DisplayWidth (RT_TagBase+82)
550 /* (V38) screenmode requester - set display height */
551 #define RTSC_DisplayHeight (RT_TagBase+83)
552 /* (V38) screenmode requester - set display depth */
553 #define RTSC_DisplayDepth (RT_TagBase+84)
554 /* (V38) screenmode requester - set overscan type, 0 for regular size */
555 #define RTSC_OverscanType (RT_TagBase+85)
556 /* (V38) screenmode requester - set autoscroll */
557 #define RTSC_AutoScroll (RT_TagBase+86)
559 /*** tags for rtPaletteRequestA ***
561 /* initially selected color - default 1 */
562 #define RTPA_Color (RT_TagBase+70)
564 /*** tags for rtReqHandlerA ***
566 /* end requester by software control, set tagdata to REQ_CANCEL, REQ_OK or
567 in case of rtEZRequest to the return value */
568 #define RTRH_EndRequest (RT_TagBase+60)
570 /*** tags for rtAllocRequestA ***/
571 /* no tags defined yet */
574 /************
575 * RT_ReqPos *
576 ************/
577 #define REQPOS_POINTER 0L
578 #define REQPOS_CENTERWIN 1L
579 #define REQPOS_CENTERSCR 2L
580 #define REQPOS_TOPLEFTWIN 3L
581 #define REQPOS_TOPLEFTSCR 4L
583 /******************
584 * RTRH_EndRequest *
585 ******************/
586 #define REQ_CANCEL 0L
587 #define REQ_OK 1L
589 /***************************************
590 * flags for RTFI_Flags and RTFO_Flags *
591 * or filereq->Flags and fontreq->Flags *
592 ***************************************/
593 #define FREQB_NOBUFFER 2L
594 #define FREQF_NOBUFFER (1L<<FREQB_NOBUFFER)
596 /*****************************************
597 * flags for RTFI_Flags or filereq->Flags *
598 *****************************************/
599 #define FREQB_MULTISELECT 0L
600 #define FREQF_MULTISELECT (1L<<FREQB_MULTISELECT)
601 #define FREQB_SAVE 1L
602 #define FREQF_SAVE (1L<<FREQB_SAVE)
603 #define FREQB_NOFILES 3L
604 #define FREQF_NOFILES (1L<<FREQB_NOFILES)
605 #define FREQB_PATGAD 4L
606 #define FREQF_PATGAD (1L<<FREQB_PATGAD)
607 #define FREQB_SELECTDIRS 12L
608 #define FREQF_SELECTDIRS (1L<<FREQB_SELECTDIRS)
610 /*****************************************
611 * flags for RTFO_Flags or fontreq->Flags *
612 *****************************************/
613 #define FREQB_FIXEDWIDTH 5L
614 #define FREQF_FIXEDWIDTH (1L<<FREQB_FIXEDWIDTH)
615 #define FREQB_COLORFONTS 6L
616 #define FREQF_COLORFONTS (1L<<FREQB_COLORFONTS)
617 #define FREQB_CHANGEPALETTE 7L
618 #define FREQF_CHANGEPALETTE (1L<<FREQB_CHANGEPALETTE)
619 #define FREQB_LEAVEPALETTE 8L
620 #define FREQF_LEAVEPALETTE (1L<<FREQB_LEAVEPALETTE)
621 #define FREQB_SCALE 9L
622 #define FREQF_SCALE (1L<<FREQB_SCALE)
623 #define FREQB_STYLE 10L
624 #define FREQF_STYLE (1L<<FREQB_STYLE)
626 /*****************************************************
627 * (V38) flags for RTSC_Flags or screenmodereq->Flags *
628 *****************************************************/
629 #define SCREQB_SIZEGADS 13L
630 #define SCREQF_SIZEGADS (1L<<SCREQB_SIZEGADS)
631 #define SCREQB_DEPTHGAD 14L
632 #define SCREQF_DEPTHGAD (1L<<SCREQB_DEPTHGAD)
633 #define SCREQB_NONSTDMODES 15L
634 #define SCREQF_NONSTDMODES (1L<<SCREQB_NONSTDMODES)
635 #define SCREQB_GUIMODES 16L
636 #define SCREQF_GUIMODES (1L<<SCREQB_GUIMODES)
637 #define SCREQB_AUTOSCROLLGAD 18L
638 #define SCREQF_AUTOSCROLLGAD (1L<<SCREQB_AUTOSCROLLGAD)
639 #define SCREQB_OVERSCANGAD 19L
640 #define SCREQF_OVERSCANGAD (1L<<SCREQB_OVERSCANGAD)
642 /*****************************************
643 * flags for RTEZ_Flags or reqinfo->Flags *
644 *****************************************/
645 #define EZREQB_NORETURNKEY 0L
646 #define EZREQF_NORETURNKEY (1L<<EZREQB_NORETURNKEY)
647 #define EZREQB_LAMIGAQUAL 1L
648 #define EZREQF_LAMIGAQUAL (1L<<EZREQB_LAMIGAQUAL)
649 #define EZREQB_CENTERTEXT 2L
650 #define EZREQF_CENTERTEXT (1L<<EZREQB_CENTERTEXT)
652 /***********************************************
653 * (V38) flags for RTGL_Flags or reqinfo->Flags *
654 ***********************************************/
655 #define GLREQB_CENTERTEXT EZREQB_CENTERTEXT
656 #define GLREQF_CENTERTEXT EZREQF_CENTERTEXT
657 #define GLREQB_HIGHLIGHTTEXT 3L
658 #define GLREQF_HIGHLIGHTTEXT (1L<<GLREQB_HIGHLIGHTTEXT)
660 /***********************************************
661 * (V38) flags for RTGS_Flags or reqinfo->Flags *
662 ***********************************************/
663 #define GSREQB_CENTERTEXT EZREQB_CENTERTEXT
664 #define GSREQF_CENTERTEXT EZREQF_CENTERTEXT
665 #define GSREQB_HIGHLIGHTTEXT GLREQB_HIGHLIGHTTEXT
666 #define GSREQF_HIGHLIGHTTEXT GLREQF_HIGHLIGHTTEXT
668 /*****************************************
669 * (V38) flags for RTFI_VolumeRequest tag *
670 *****************************************/
671 #define VREQB_NOASSIGNS 0L
672 #define VREQF_NOASSIGNS (1L<<VREQB_NOASSIGNS)
673 #define VREQB_NODISKS 1L
674 #define VREQF_NODISKS (1L<<VREQB_NODISKS)
675 #define VREQB_ALLDISKS 2L
676 #define VREQF_ALLDISKS (1L<<VREQB_ALLDISKS)
679 Following things are obsolete in ReqTools V38.
680 DON'T USE THESE IN NEW CODE!
682 #ifndef NO_REQTOOLS_OBSOLETE
683 #define REQHOOK_WILDFILE 0L
684 #define REQHOOK_WILDFONT 1L
685 #define FREQB_DOWILDFUNC 11L
686 #define FREQF_DOWILDFUNC (1L<<FREQB_DOWILDFUNC)
687 #endif
689 #endif /* LIBRARIES_REQTOOLS_H */