home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / datatypes / embed_datatype / embed.doc < prev    next >
Encoding:
Text File  |  1997-05-12  |  2.2 KB  |  85 lines

  1.  
  2. Hi !
  3.  
  4. ----
  5.  
  6. I rewrote my embed.datatype, an example how to embed gadgets
  7. or datatype object in other datatype objects. This first version is
  8. pre-alpha and has been downcoded within two hours :-)
  9.  
  10. This new version has only a few bugfixes against the first one.
  11.  
  12. I need some comments, hints, bug reports etc. (mainly from Stefan Ruppert
  13. because this project would be nice extension for his HTDS).
  14.  
  15. Why is this good ?
  16.  
  17. - For example, a HTML document now can include an animation.datatype
  18.   object, which can do it's own rendering and the programmer don't
  19.   have to handle this explitly. Simply click, and the anim runs :-)
  20.  
  21.   This also works for pictures, sounds, texts or
  22.   amigaguide documents (which has some problems :-( ).
  23.  
  24.  
  25. ----
  26.  
  27. Example documents:
  28. ------------------
  29.  
  30. A "Embedded Objects" document start with a like containing
  31. @embed
  32. then ascii text follows. Text formatting directives starts at the
  33. beginning of a line.
  34.  
  35. - Embedding datatypes:
  36.  
  37.   @datatype file
  38.  
  39.   embeds the datatype file in the document, according to the current
  40.   formatting attributes.
  41.  
  42. ----
  43.  
  44. Would be nice to see a GM_RENDER replacement which draws the text
  45. correctly at the offsets (left,top) set in the struct Line structure
  46. instead of putting the text line by line together.
  47.  
  48. embed.datatype calculates the offsets correctly, and text.datatype
  49. does something else, this causes visual problems...
  50.  
  51. Embedding only objects looks fine :-)
  52.  
  53. ----
  54.  
  55. Thanks to Frank Mariak, who gave me an example how
  56. exec.library/StackSwap works. This mades the usage of a sepeate process
  57. obsolete (which was used to get the needed amount of stack).
  58.  
  59. ----
  60.  
  61. Sorry for those people who got an earlier version of this datatype;
  62. due the new design the old features like trigger buttons/string gadgets
  63. have been temporary removed.
  64.  
  65. ----
  66.  
  67. I'll write a new version only if there some interest on this project
  68. (currectly don't have much time, sorry).
  69.  
  70. ----
  71.  
  72.  
  73. Bye,
  74. Roland
  75.  
  76. P.S.:
  77. - Mail me if the archive "embed012.LhA" does not occur in the mailinglist.
  78.   Question to Bodo: Does the mail limit of ~30k exists any more ?
  79.  
  80. - This example should only be used with datatypes.library V45, because
  81.   this version calculates the DTA_Domain attribute correctly; V40 has
  82.   not been tested...
  83.  
  84.  
  85.