1 /***************************************************************************
3 BetterString.mcc - A better String gadget MUI Custom Class
4 Copyright (C) 1997-2000 Allan Odgaard
5 Copyright (C) 2005-2013 by BetterString.mcc Open Source Team
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
17 BetterString class Support Site: http://www.sf.net/projects/bstring-mcc/
21 ***************************************************************************/
23 #ifndef MUI_BETTERSTRING_MCP_H
24 #define MUI_BETTERSTRING_MCP_H
26 #ifndef LIBRARIES_MUI_H
27 #include <libraries/mui.h>
30 #include <devices/inputevent.h>
36 #if !defined(__AROS__) && defined(__PPC__)
39 #elif defined(__VBCC__)
44 /***********************************************************************/
46 // STACKED ensures proper alignment on AROS 64 bit systems
47 #if !defined(__AROS__) && !defined(STACKED)
51 /***********************************************************************/
53 #define MUIC_BetterString_mcp "BetterString.mcp"
55 #if defined(__AROS__) && !defined(NO_INLINE_STDARG)
56 #define BetterStringMcpObject MUIOBJMACRO_START(MUIC_BetterString_mcp)
58 #define BetterStringMcpObject MUI_NewObject(MUIC_BetterString_mcp
61 #define MUICFG_BetterString_ActiveBack 0xad000302UL
62 #define MUICFG_BetterString_ActiveText 0xad000303UL
63 #define MUICFG_BetterString_InactiveBack 0xad000300UL
64 #define MUICFG_BetterString_InactiveText 0xad000301UL
65 #define MUICFG_BetterString_Cursor 0xad000304UL
66 #define MUICFG_BetterString_MarkedBack 0xad000305UL
67 #define MUICFG_BetterString_MarkedText 0xad000308UL
68 #define MUICFG_BetterString_Font 0xad000306UL // obsolete
69 #define MUICFG_BetterString_Frame 0xad000307UL // obsolete
70 #define MUICFG_BetterString_SelectOnActive 0xad00030aUL
71 #define MUICFG_BetterString_SelectPointer 0xad000309UL
73 #define CFG_BetterString_ActiveBack_Def "2:m1"
74 #define CFG_BetterString_ActiveText_Def "m5"
75 #define CFG_BetterString_InactiveBack_Def "2:m2"
76 #define CFG_BetterString_InactiveText_Def "m4"
77 #define CFG_BetterString_Cursor_Def "m0"
78 #if defined(__amigaos4__)
79 #define CFG_BetterString_MarkedBack_Def "m7"
80 #define CFG_BetterString_MarkedText_Def "m8"
82 #define CFG_BetterString_MarkedBack_Def "m5"
83 #define CFG_BetterString_MarkedText_Def "m0"
85 #define CFG_BetterString_SelectOnActive_Def FALSE
86 #define CFG_BetterString_SelectPointer_Def TRUE
88 #if !defined(__AROS__) && defined(__PPC__)
91 #elif defined(__VBCC__)
100 #endif /* MUI_BETTERSTRING_MCP_H */