grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / classes / zune / nlist / nlistviews_mcp / private.h
blobc438e60943db9a9baa52f7e43dc320d049d30fa7
1 #ifndef MUI_NLISTVIEWS_priv_MCP_H
2 #define MUI_NLISTVIEWS_priv_MCP_H
4 /***************************************************************************
6 NListviews.mcp - New Listview MUI Custom Class Preferences
7 Registered MUI class, Serial Number: 1d51 (0x9d510001 to 0x9d51001F
8 and 0x9d510101 to 0x9d51013F)
10 Copyright (C) 1996-2001 by Gilles Masson
11 Copyright (C) 2001-2014 NList Open Source Team
13 This library is free software; you can redistribute it and/or
14 modify it under the terms of the GNU Lesser General Public
15 License as published by the Free Software Foundation; either
16 version 2.1 of the License, or (at your option) any later version.
18 This library is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
23 NList classes Support Site: http://www.sf.net/projects/nlist-classes
25 $Id$
27 ***************************************************************************/
29 #include "amiga-align.h"
30 #include "NListviews_mcp.h"
31 #include "default-align.h"
33 #include "Debug.h"
35 #include <mcc_common.h>
37 #define MCPMAXRAWBUF 64
39 struct NListviews_MCP_Data
41 Object *mcp_group;
43 Object *mcp_list1;
44 Object *mcp_list2;
46 Object *mcp_PenTitle;
47 Object *mcp_PenList;
48 Object *mcp_PenSelect;
49 Object *mcp_PenCursor;
50 Object *mcp_PenUnselCur;
51 Object *mcp_PenInactive;
52 Object *mcp_BG_Title;
53 Object *mcp_BG_List;
54 Object *mcp_BG_Select;
55 Object *mcp_BG_Cursor;
56 Object *mcp_BG_UnselCur;
57 Object *mcp_BG_Inactive;
59 Object *mcp_R_Multi;
60 Object *mcp_B_MultiMMB;
61 Object *mcp_R_Drag;
62 Object *mcp_SL_VertInc;
63 Object *mcp_R_HSB;
64 Object *mcp_R_VSB;
65 Object *mcp_B_Smooth;
67 Object *mcp_Font;
68 Object *mcp_Font_Little;
69 Object *mcp_Font_Fixed;
70 Object *mcp_ForcePen;
72 Object *mcp_ColWidthDrag;
73 Object *mcp_PartialCol;
74 Object *mcp_List_Select;
75 Object *mcp_NList_Menu;
76 Object *mcp_PartialChar;
77 Object *mcp_SerMouseFix;
78 Object *mcp_DragLines;
79 Object *mcp_VerticalCenteredLines;
80 Object *mcp_SelectPointer;
82 Object *mcp_WheelStep;
83 Object *mcp_WheelFast;
84 Object *mcp_WheelMMB;
86 Object *mcp_listkeys;
87 Object *mcp_stringkey;
88 Object *mcp_snoopkey;
89 Object *mcp_insertkey;
90 Object *mcp_removekey;
91 Object *mcp_updatekeys;
92 Object *mcp_defaultkeys;
93 Object *mcp_txtfct;
94 Object *mcp_popstrfct;
95 Object *mcp_poplistfct;
97 struct KeyBinding *nlkeys;
98 char QualifierString[192];
100 char rawtext[MCPMAXRAWBUF];
101 char **exampleText;
103 struct InputEvent ievent;
105 WORD pad1,pad2;
108 #define LIBVER(lib) ((struct Library *)lib)->lib_Version
109 #define LIBREV(lib) ((struct Library *)lib)->lib_Revision
110 #define VERSION_IS_AT_LEAST(ver, rev, minver, minrev) (((ver) > (minver)) || ((ver) == (minver) && (rev) == (minrev)) || ((ver) == (minver) && (rev) > (minrev)))
111 #define LIB_VERSION_IS_AT_LEAST(lib, minver, minrev) VERSION_IS_AT_LEAST(((struct Library *)(lib))->lib_Version, ((struct Library *)(lib))->lib_Revision, minver, minrev)
113 #if defined(__amigaos4__)
114 #define AllocVecShared(size, flags) AllocVecTags((size), AVT_Type, MEMF_SHARED, AVT_Lock, FALSE, ((flags)&MEMF_CLEAR) ? AVT_ClearWithValue : TAG_IGNORE, 0, TAG_DONE)
115 #else
116 #define AllocVecShared(size, flags) AllocVec((size), (flags))
117 #endif
119 #endif /* MUI_NLISTVIEWS_priv_MCP_H */