	IFND	INTUITION_SGHOOKS_I
INTUITION_SGHOOKS_I	EQU	1
*	$Filename: intuition/sghooks.i $
*	$Release: 2.04 Includes, V37.4 $
*	$Revision: 36.5 $
*	$Date: 91/11/08 $
*	String gadget extensions and hooks
*	(C) Copyright 1988-1991 Commodore-Amiga, Inc.
*	    All Rights Reserved
*	This file was modified for the Optimizing Macro Assembler:
*	    Internal mode flags were missing and have been added.
	IFND	EXEC_TYPES_I
	INCLUDE	"exec/types.i"
	ENDC
	RSRESET
StringExtend	rs.b	0
sex_Font	rs	2
sex_Pens	rs.b	2
sex_ActivePens	rs.b	2
sex_InitialModes	rs	2
sex_EditHook	rs	2
sex_WorkBuffer	rs	2
sex_Reserved	rs.b	16
sex_SIZEOF	rs.b	0
	RSRESET
SGWork	rs.b	0
sgw_Gadget	rs	2
sgw_StringInfo	rs	2
sgw_WorkBuffer	rs	2
sgw_PrevBuffer	rs	2
sgw_Modes	rs	2
sgw_IEvent	rs	2
sgw_Code	rs	1
sgw_BufferPos	rs	1
sgw_NumChars	rs	1
sgw_Actions	rs	2
sgw_LongInt	rs	2
sgw_GadgetInfo	rs	2
sgw_EditOp	rs	1
sgw_SIZEOF	rs.b	0
EO_NOOP	EQU	1
EO_DELBACKWARD	EQU	2
EO_DELFORWARD	EQU	3
EO_MOVECURSOR	EQU	4
EO_ENTER	EQU	5
EO_RESET	EQU	6
EO_REPLACECHAR	EQU	7
EO_INSERTCHAR	EQU	8
EO_BADFORMAT	EQU	9
EO_BIGCHANGE	EQU	$A
EO_UNDO	EQU	$B
EO_CLEAR	EQU	$C
EO_SPECIAL	EQU	$D
SGM_REPLACE	EQU	1
SGMB_REPLACE	EQU	0
SGMF_REPLACE	EQU	1
SGM_FIXEDFIELD	EQU	2
SGMB_FIXEDFIELD	EQU	1
SGMF_FIXEDFIELD	EQU	2
SGM_NOFILTER	EQU	4
SGMB_NOFILTER	EQU	2
SGMF_NOFILTER	EQU	4
SGM_EXITHELP	EQU	$80
SGMB_EXITHELP	EQU	7
SGMF_EXITHELP	EQU	$80
SGM_NOCHANGE	EQU	8
SGM_NOWORKB	EQU	$10
SGM_CONTROL	EQU	$20
SGM_LONGINT	EQU	$40
SGA_USE	EQU	1
SGAB_USE	EQU	0
SGAF_USE	EQU	1
SGA_END	EQU	2
SGAB_END	EQU	1
SGAF_END	EQU	2
SGA_BEEP	EQU	4
SGAB_BEEP	EQU	2
SGAF_BEEP	EQU	4
SGA_REUSE	EQU	8
SGAB_REUSE	EQU	3
SGAF_REUSE	EQU	8
SGA_REDISPLAY	EQU	$10
SGAB_REDISPLAY	EQU	4
SGAF_REDISPLAY	EQU	$10
SGA_NEXTACTIVE	EQU	$20
SGAB_NEXTACTIVE	EQU	5
SGAF_NEXTACTIVE	EQU	$20
SGA_PREVACTIVE	EQU	$40
SGAB_PREVACTIVE	EQU	6
SGAF_PREVACTIVE	EQU	$40
SGH_KEY	EQU	1
SGH_CLICK	EQU	2
	ENDC
