home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / acorn / tech / 1170 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  3.0 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!ub4b!news.cs.kuleuven.ac.be!gate!queneau!tytgat
  2. From: tytgat@esat.kuleuven.ac.be (John Tytgat)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Re: New Template format discussion document
  5. Message-ID: <1993Jan6.113946.4153@gate.esat.kuleuven.ac.be>
  6. Date: 6 Jan 93 11:39:46 GMT
  7. References: <930101200448@kernow.demon.co.uk> <4897@svin09.info.win.tue.nl>
  8. Sender: tytgat@esat.kuleuven.ac.be (John Tytgat)
  9. Reply-To: tytgat@esat.kuleuven.ac.be (John Tytgat)
  10. Organization: K.U.Leuven, Belgium
  11. Lines: 52
  12. Originator: tytgat@queneau
  13.  
  14. In article <4897@svin09.info.win.tue.nl> wsinda@info.win.tue.nl writes:
  15. >* Grouping icons
  16. >  A very useful feature to build into a template editor. Is the current
  17. >  format flexible enough to accomodate icon groups? It may be necessary to
  18. >  add a 1-word prefix to an icon definition block. A value of 1 would
  19. >  mean that an ordinary 32-byte icon block follows; a value of 2 indicates
  20. >  an icon group (list of icons), 3 for meta-icons etc.
  21.  
  22. Very good idea.  But maybe we can have a look at the way Draw stores grouped
  23. objects.  I think we can adopt the same way, something like :
  24.  
  25. Icon object definitions :
  26.      0     4    Word specifing the kind of icon object definition block.
  27.                 What Dick suggested :
  28.                 1 = ordinary icon
  29.                 2 = group of icons
  30.                 3 = meta-icons
  31.                 ...
  32.      4      4   Length of this icon object definition block
  33.      8      ?   Icon object definition block, containing - ordinary icon, or
  34.                                                          - group of icons, or
  35.                                                          - meta-icons, or
  36.                                                          - ...
  37.      ?          Next icon object definition
  38.  
  39. As in Draw, group of icons can be nested.  However, there are certain
  40. consequences if we are using this approach : the icon numbering could be the
  41. order of apperance in the list of Icon object definitions.  And this puts a
  42. restriction on grouping/ungrouping because this action can change the order
  43. of the icon object definition block.
  44.  
  45. This restriction does not apply for the programmer because (s)he only needs
  46. to remake the #define file but that's no solution for the user.
  47.  
  48. Maybe we should give each icon its own explicit number ?
  49.  
  50. >* Quo vadis?
  51. >  Wouldn't it be nice if we could have an integrated programming environment,
  52. >  in which you can
  53. >    (1) design windows, icons and menus,
  54. >    (2) write routines that are linked to the icons and menus, and finally
  55. >    (3) let the environment build a wimp application from it
  56. >  The plans for Glazier are a nice step into the direction of (1); StrongEd
  57. >  supports the External Edit protocol so integrating (2) shouldn't be too
  58. >  hard (after we have agreement on the data format); for (3) you'd need a set 
  59. >  of make utilities, 1 for each programming language that is supported.
  60.  
  61. Yes, it would.  What about defining the menu format in the Glass file ?
  62.  
  63. John
  64. tytgat@esat.kuleuven.ac.be
  65. BASS
  66.