1 #ifndef INTUITION_SGHOOKS_H
2 #define INTUITION_SGHOOKS_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: Include file for GTYP_STRGADGET gadgets.
13 # include <exec/types.h>
18 struct TextFont
*Font
;
22 struct Hook
*EditHook
;
29 struct Gadget
*Gadget
;
30 struct StringInfo
*StringInfo
;
34 struct InputEvent
*IEvent
;
40 struct GadgetInfo
*GadgetInfo
;
44 #define EO_NOOP (0x0001)
45 #define EO_DELBACKWARD (0x0002)
46 #define EO_DELFORWARD (0x0003)
47 #define EO_MOVECURSOR (0x0004)
48 #define EO_ENTER (0x0005)
49 #define EO_RESET (0x0006)
50 #define EO_REPLACECHAR (0x0007)
51 #define EO_INSERTCHAR (0x0008)
52 #define EO_BADFORMAT (0x0009)
53 #define EO_BIGCHANGE (0x000A)
54 #define EO_UNDO (0x000B)
55 #define EO_CLEAR (0x000C)
56 #define EO_SPECIAL (0x000D)
58 #define SGM_REPLACE (1L << 0)
59 #define SGM_FIXEDFIELD (1L << 1)
60 #define SGM_NOFILTER (1L << 2)
61 #define SGM_EXITHELP (1L << 7)
63 /* For internal use */
64 #define SGM_NOCHANGE (1L << 3)
65 #define SGM_NOWORKB (1L << 4)
66 #define SGM_CONTROL (1L << 5)
67 #define SGM_LONGINT (1L << 6)
69 #define SGA_USE (0x1L)
70 #define SGA_END (0x2L)
71 #define SGA_BEEP (0x4L)
72 #define SGA_REUSE (0x8L)
73 #define SGA_REDISPLAY (0x10L)
74 #define SGA_NEXTACTIVE (0x20L)
75 #define SGA_PREVACTIVE (0x40L)
78 #define SGH_CLICK (2L)
80 #endif /* INTUITION_SGHOOKS_H */