home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- embed.datatype/--datasheed--
- embed.datatype/--datasheed-- embed.datatype/--datasheed--
-
- NAME
- embed.datatype -- data type which embeds other objects
-
- SUPERCLASS
- text.datatype
-
- FUNCTION
- The embed data type, a sub-class of the text.datatype, is used
- to view documents with embedded datatypes objects.
-
- METHODS
- OM_NEW -- Create a new text object from a embed document file. The
- source may only be a file.
-
- OM_GET -- The DTA_Methods attribute is created from local context.
-
- GM_GOACTIVE
- GM_GOINACTIVE
- DTM_CLEARSELECTED --
-
- DTM_TRIGGER --
-
- ATTRIBUTES
- DTA_Methods -- Set to the supported set of methods, based
- on the set got from the superclass, extended with methods
- got from members.
-
- DTA_TriggerMethods -- Set of trigger methods
-
- BUGS
- Horrors !
-
- - The text rendered by text.datatype ignores and "height" in the
- line node, this results in a crazy display of text.
- The embedded objects are shown correctly.
-
- - Inside GM_HANDLEINPUT: Return codes GMR_PREVACTIVE and
- GMR_NEXTACTIVE are not supported yet; the usage of string
- gadgets is limmited therefore :-(
-
- - A line box is drawn around each datatype, but the line is
- outside of the gadget box set in the struct Line node.
- A result of this inconsisteny may be an overwritten
- window border.
-
- - Embedding the document itself causes an endless loop until
- memory is full (then the datatypes waits for more memory...).
-
- - A new stack frame is allocated for each method; a smarter
- stack managing scheme should be used.
-
- - animation.datatype has problems when calculating the
- gadget box for it's tapedeck.gadget.
- This works usually fine, but sometimes a small part of the
- left border will be overwritten.
-
- - Trigger methods are send as a broadcast method to all
- members instead to specific ones.
-
- - DTM_PRINT, DTM_COPY, DTM_WRITE etc. are currently not supported.
-
-
- HISTORY
- V1.1
- Released to dta@amigaworld.com mailinglist for comments.
-
- V1.2
- - Implemented own GM_RENDER, which supersets text.datatypes renderin
- g
- completely.
-
- - Minor corrections
-
- V1.3
- - Recompiled with SAS/C 6.58
-
- - Added missing WaitBlit in GM_RENDER.
-
- - AllocBitMap used for Line rebdering now uses BMF_MINPLANES and a
- friend bitmap.
-
- - Internal DescroyVisibleList now sets the object's domain box to
- { SHRT_MAX, SHRT_MAX, 0, 0 } instead of { 0, 0, 0, 0 }.
-
- This should fix problems if a datatypes class has problems with
- clipping (e.g. 0 width and/or height).
-
- - Fixed (hopefully) the bug that the box EraseRect'ed at GM_RENDER
- was 1 pixel in x/y too large.
-
- - Now implements correct usage of DTSIF_LAYOUT. This avoids
- rendering and other unwanted actions during layout (e.g. this
- reduces flickering).
-
- - Now a black box is drawn around the object. This feature can be
- turned off at compile time by disableing the
- DRAW_BOX_AROUND_OBJECT define cpp statement.
- A 0-color box would be more usefull if HAM pictures/anims are
- shown (ide taken from cdgxl).
-
-
- NOTES
-
- SEE ALSO
- text.datatype, amigaguide.datatype,
- document.datatype
-
-