🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #649

Re: CFD: Icon names in templates

#649
From: David Alan Gilbert
Date: Tue, 15 Dec 1992 17:01
24 lines
1502 bytes
In <4814@svin09.info.win.tue.nl> wsinda@wsintt02.info.win.tue.nl (Dick Alstein) writes:

>Upon which you have to adapt the program. You may have to check
>every line in which an icon is referred to. Of course you can get
>around it partly, by setting a constant or variable (e.g. put a
>line like '#define OK_button 2' in a C header file). But you
>still have to take care that the icon numbers in the template
>definition match those in the program. It becomes a real pain if
>you tend to develop a program stepwise (add a feature, test it,
>add another feature, etc.).

One solution would be imbedding the names in the template
file and then just adding the lookup to the library.

Better would be a combined template/code editor, so that 
you would edit code that should be called etc. when that icon
was activated.  All naming etc. would be taken
care of by the editor.

Dave
--
-------------------------------------------------------------------------------
- David Alan Gilbert - gilbertd@cs.man.ac.uk - G7FHJ@GB7CRG                   -
------(Programmers don't sleep - they just park their heads)-------------------
Technical Details
Message-ID: <gilbertd.724438891@cs.man.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mucs!cs.man.ac.uk!gilbertd
References: <4814@svin09.info.win.tue.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mucs!cs.man.ac.uk!gilbertd
From: gilbertd@cs.man.ac.uk (David Alan Gilbert)
Newsgroups: comp.sys.acorn.tech
Subject: Re: CFD: Icon names in templates
Message-ID: <gilbertd.724438891@cs.man.ac.uk>
Date: 15 Dec 92 17:01:31 GMT
References: <4814@svin09.info.win.tue.nl>
Sender: news@cs.man.ac.uk
Lines: 24