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