Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / classes / gadgets / texteditor / mcp / TextEditor_mcp.h
blob48b2c988e22fb8232e73e25acbb5e1613430d1dc
1 /***************************************************************************
3 TextEditor.mcc - Textediting MUI Custom Class
4 Copyright (C) 1997-2000 Allan Odgaard
5 Copyright (C) 2005 by TextEditor.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 TextEditor class Support Site: http://www.sf.net/projects/texteditor-mcc
19 $Id$
21 ***************************************************************************/
23 #ifndef MUI_TEXTEDITOR_MCP_H
24 #define MUI_TEXTEDITOR_MCP_H
26 #ifndef LIBRARIES_MUI_H
27 #include <libraries/mui.h>
28 #endif
30 #include <devices/inputevent.h>
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
36 #ifdef __GNUC__
37 #ifdef __PPC__
38 #pragma pack(2)
39 #endif
40 #elif defined(__VBCC__)
41 #pragma amiga-align
42 #endif
44 #define MUIC_TextEditor_mcp "TextEditor.mcp"
45 #define TextEditorMcpObject MUI_NewObject(MUIC_TextEditor_mcp
47 #define MUICFG_TextEditor_Background 0xad000051
48 #define MUICFG_TextEditor_BlinkSpeed 0xad000052
49 #define MUICFG_TextEditor_BlockQual 0xad000053
50 #define MUICFG_TextEditor_CheckWord 0xad000050
51 #define MUICFG_TextEditor_CursorColor 0xad000054
52 #define MUICFG_TextEditor_CursorTextColor 0xad000055
53 #define MUICFG_TextEditor_CursorWidth 0xad000056
54 #define MUICFG_TextEditor_FixedFont 0xad000057
55 #define MUICFG_TextEditor_Frame 0xad000058
56 #define MUICFG_TextEditor_HighlightColor 0xad000059
57 #define MUICFG_TextEditor_MarkedColor 0xad00005a
58 #define MUICFG_TextEditor_NormalFont 0xad00005b
59 #define MUICFG_TextEditor_SetMaxPen 0xad00005c
60 #define MUICFG_TextEditor_Smooth 0xad00005d
61 #define MUICFG_TextEditor_TabSize 0xad00005e
62 #define MUICFG_TextEditor_TextColor 0xad00005f
63 #define MUICFG_TextEditor_UndoSize 0xad000060
64 #define MUICFG_TextEditor_TypeNSpell 0xad000061
65 #define MUICFG_TextEditor_LookupCmd 0xad000062
66 #define MUICFG_TextEditor_SuggestCmd 0xad000063
67 #define MUICFG_TextEditor_Keybindings 0xad000064
68 #define MUICFG_TextEditor_SuggestKey 0xad000065 /* OBSOLETE! */
69 #define MUICFG_TextEditor_SeparatorShine 0xad000066
70 #define MUICFG_TextEditor_SeparatorShadow 0xad000067
71 #define MUICFG_TextEditor_ConfigVersion 0xad000068
73 #ifdef __GNUC__
74 #ifdef __PPC__
75 #pragma pack()
76 #endif
77 #elif defined(__VBCC__)
78 #pragma default-align
79 #endif
81 #ifdef __cplusplus
83 #endif
85 #endif /* MUI_TEXTEDITOR_MCP_H */