home *** CD-ROM | disk | FTP | other *** search
-
- Hi !
-
- ----
-
- I rewrote my embed.datatype, an example how to embed gadgets
- or datatype object in other datatype objects. This first version is
- pre-alpha and has been downcoded within two hours :-)
-
- This new version has only a few bugfixes against the first one.
-
- I need some comments, hints, bug reports etc. (mainly from Stefan Ruppert
- because this project would be nice extension for his HTDS).
-
- Why is this good ?
-
- - For example, a HTML document now can include an animation.datatype
- object, which can do it's own rendering and the programmer don't
- have to handle this explitly. Simply click, and the anim runs :-)
-
- This also works for pictures, sounds, texts or
- amigaguide documents (which has some problems :-( ).
-
-
- ----
-
- Example documents:
- ------------------
-
- A "Embedded Objects" document start with a like containing
- @embed
- then ascii text follows. Text formatting directives starts at the
- beginning of a line.
-
- - Embedding datatypes:
-
- @datatype file
-
- embeds the datatype file in the document, according to the current
- formatting attributes.
-
- ----
-
- Would be nice to see a GM_RENDER replacement which draws the text
- correctly at the offsets (left,top) set in the struct Line structure
- instead of putting the text line by line together.
-
- embed.datatype calculates the offsets correctly, and text.datatype
- does something else, this causes visual problems...
-
- Embedding only objects looks fine :-)
-
- ----
-
- Thanks to Frank Mariak, who gave me an example how
- exec.library/StackSwap works. This mades the usage of a sepeate process
- obsolete (which was used to get the needed amount of stack).
-
- ----
-
- Sorry for those people who got an earlier version of this datatype;
- due the new design the old features like trigger buttons/string gadgets
- have been temporary removed.
-
- ----
-
- I'll write a new version only if there some interest on this project
- (currectly don't have much time, sorry).
-
- ----
-
-
- Bye,
- Roland
-
- P.S.:
- - Mail me if the archive "embed012.LhA" does not occur in the mailinglist.
- Question to Bodo: Does the mail limit of ~30k exists any more ?
-
- - This example should only be used with datatypes.library V45, because
- this version calculates the DTA_Domain attribute correctly; V40 has
- not been tested...
-
-
-