don't use NULL or cast NULL where appropriate.
[AROS-Contrib.git] / bgui / include / bgui_prefs.h
blob1ab45c06879282b8974acb1eee8f19e2cc706551
1 /*
2 * @(#) $Header$
4 * $VER: libraries/bgui_prefs.h 41.10 (25.2.98)
5 * bgui.library preferences constants.
7 * (C) Copyright 1998 Manuel Lemos.
8 * (C) Copyright 1996-1997 Ian J. Einman.
9 * (C) Copyright 1993-1996 Jaba Development.
10 * (C) Copyright 1993-1996 Jan van den Baard.
11 * All Rights Reserved.
13 * $Log$
14 * Revision 42.2 2003/01/18 19:10:21 chodorowski
15 * Instead of using the _AROS or __AROS preprocessor symbols, use __AROS__.
17 * Revision 42.1 2000/07/09 18:08:09 bergers
18 * Copies some more include files and changed the include files to work with AROS.
19 * Added entry to comp to compile the Preferences program.
21 * Revision 42.0 2000/05/09 22:23:25 mlemos
22 * Bumped to revision 42.0 before handing BGUI to AROS team
24 * Revision 41.11 2000/05/09 20:01:59 mlemos
25 * Merged with the branch Manuel_Lemos_fixes.
27 * Revision 41.10 1998/02/25 21:14:01 mlemos
28 * Bumping to 41.10
30 * Revision 1.1 1998/02/25 17:16:09 mlemos
31 * Ian sources
37 * IFF ID tags.
39 #define ID_BGUI MAKE_ID('B','G','U','I')
40 #define ID_DTAG MAKE_ID('D','T','A','G')
43 * Preferences specific tags.
45 #define GROUP_DefHSpaceNarrow (BGUI_TB+9001) /* V41.8 */
46 #define GROUP_DefHSpaceNormal (BGUI_TB+9002)
47 #define GROUP_DefHSpaceWide (BGUI_TB+9003)
48 #define GROUP_DefVSpaceNarrow (BGUI_TB+9004)
49 #define GROUP_DefVSpaceNormal (BGUI_TB+9005)
50 #define GROUP_DefVSpaceWide (BGUI_TB+9006)
52 #define FRM_DefaultType (BGUI_TB+9101) /* V41.8 */
54 #ifndef CLASSLIB_H
56 * Private library functions.
58 #ifdef __AROS__
60 #else
61 #pragma libcall BGUIBase BGUI_GetDefaultTags a8 001
62 #pragma libcall BGUIBase BGUI_DefaultPrefs ae 0
63 #pragma libcall BGUIBase BGUI_LoadPrefs b4 801
65 struct TagItem *BGUI_GetDefaultTags(ULONG id);
67 * If you pass the id number of a BGUI class to this function, you will get the current
68 * default tags for the class. This taglist is not a copy, and should not be freed.
69 * After any BGUI_LoadPrefs or BGUI_DefaultPrefs, this pointer will become invalid,
70 * and should be retrieved again.
72 * Example: group_defaults = BGUI_GetDefaultTags(BGUI_GROUP_GADGET);
73 * spvnormal = GetTagData(GROUP_DefVSpaceNormal, 4, group_defaults);
75 * This will get the default normal vertical spacing (or 4 if the taglist wasn't found).
78 VOID BGUI_DefaultPrefs(VOID);
80 * Resets all class defaults to internal defaults. No files are loaded.
84 VOID BGUI_LoadPrefs(UBYTE *name);
86 * Loads the specified BGUI prefs file into BGUI. Effective for current task only.
88 #endif
90 #endif