home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / acorn / tech / 1039 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.4 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mucs!cs.man.ac.uk!gilbertd
  2. From: gilbertd@cs.man.ac.uk (David Alan Gilbert)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Re: CFD: Icon names in templates
  5. Message-ID: <gilbertd.724438891@cs.man.ac.uk>
  6. Date: 15 Dec 92 17:01:31 GMT
  7. References: <4814@svin09.info.win.tue.nl>
  8. Sender: news@cs.man.ac.uk
  9. Lines: 24
  10.  
  11. In <4814@svin09.info.win.tue.nl> wsinda@wsintt02.info.win.tue.nl (Dick Alstein) writes:
  12.  
  13. >Upon which you have to adapt the program. You may have to check
  14. >every line in which an icon is referred to. Of course you can get
  15. >around it partly, by setting a constant or variable (e.g. put a
  16. >line like '#define OK_button 2' in a C header file). But you
  17. >still have to take care that the icon numbers in the template
  18. >definition match those in the program. It becomes a real pain if
  19. >you tend to develop a program stepwise (add a feature, test it,
  20. >add another feature, etc.).
  21.  
  22. One solution would be imbedding the names in the template
  23. file and then just adding the lookup to the library.
  24.  
  25. Better would be a combined template/code editor, so that 
  26. you would edit code that should be called etc. when that icon
  27. was activated.  All naming etc. would be taken
  28. care of by the editor.
  29.  
  30. Dave
  31. --
  32. -------------------------------------------------------------------------------
  33. - David Alan Gilbert - gilbertd@cs.man.ac.uk - G7FHJ@GB7CRG                   -
  34. ------(Programmers don't sleep - they just park their heads)-------------------
  35.