a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
Include
 classes
 clib
 datatypes
  animationclass.i / .h
  datatypes.i / .h
  datatypesclass.i / .h
  pictureclass.i / .h
  soundclass.i / .h
  textclass.i / .h
 devices
 diskfont
 dos
 exec
 gadgets
 graphics
 hardware
 images
 intuition
 libraries
 pragma
 pragmas
 prefs
 proto
 reaction
 resources
 rexx
 utility
 workbench
GuruMeditation
Docs » Include » datatypes » textclass.i / .h
	IFND DATATYPES_TEXTCLASS_I
DATATYPES_TEXTCLASS_I	SET	1
**
**  $VER: textclass.i 39.2 (24.6.1992)
**  Includes Release 45.1
**
**  Interface definitions for DataType text objects.
**
**  (C) Copyright 1992-2001 Amiga, Inc.
**	All Rights Reserved
**

	IFND UTILITY_TAGITEM_I
	INCLUDE "utility/tagitem.i"
	ENDC

	IFND DATATYPES_DATATYPESCLASS_I
	INCLUDE "datatypes/datatypesclass.i"
	ENDC

	IFND LIBRARIES_IFFPARSE_I
	INCLUDE "libraries/iffparse.i"
	ENDC

;------------------------------------------------------------------------------

TEXTDTCLASS	MACRO
	DC.B	'text.datatype',0
	ENDM

;------------------------------------------------------------------------------

; Text attributes
TDTA_Buffer	equ	(DTA_Dummy+300)
TDTA_BufferLen	equ	(DTA_Dummy+301)
TDTA_LineList	equ	(DTA_Dummy+302)

;------------------------------------------------------------------------------

; There is one Line structure for every line of text in our document.
    STRUCTURE Line,0
	STRUCT	ln_Link,MLN_SIZE		; to link the lines together
	APTR	ln_Text				; pointer to the text for this	line
	ULONG	ln_TextLen			; character length of the text for this line
	UWORD	ln_XOffset			; where in the	line the text starts
	UWORD	ln_YOffset			; line the text is on
	UWORD	ln_Width			; Width of line in pixels
	UWORD	ln_Height			; Height of line in pixels
	UWORD	ln_Flags			; info	on the line
	BYTE	ln_FgPen			; foreground pen
	BYTE	ln_BgPen			; background pen
	ULONG	ln_Style			; Font style
	APTR	ln_Data				; Link data...
    LABEL Line_SIZEOF

;------------------------------------------------------------------------------

; Line.ln_Flags

    BITDEF LN,LF,0				; Line Feed
    BITDEF LN,LINK,1				; Segment is a link
    BITDEF LN,OBJECT,2				; ln_Data is a pointer to an DataTypes object
    BITDEF LN,SELECTED,3			; Object is selected

;------------------------------------------------------------------------------

; IFF types that may be text
ID_FTXT		equ	'FTXT'
ID_CHRS		equ	'CHRS'

;------------------------------------------------------------------------------

	ENDC	; DATATYPES_TEXTCLASS_I

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Dual Crew

RZR
DC
CSL
DJ

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se