On 6/10/05, Bryce Harrington <bryce@...260...> wrote:
I notice that you're working on adding a capability to set the dialog titles based on their verbs, however I notice that this is requiring adding a verbs.h include to each of the dialog .cpp's.
Heh. I'm not "working" on it. I coded it for the first time about a year ago. Recently I just restored it for the Dialog-class dialogs.
I'm concerned that by doing this, it's going to cause the dialog code to be recompiled extremely frequently, since verbs.h changes relatively frequently (77 revisions recorded).
I'm not sure if there's a way to avoid this, because:
- All verb titles must be in one place ONLY.
- Verb titles are edited fairly often, by their very nature (it's a good share of all UI strings).
- All dialogs must use the verb titles from that place, to avoid duplication.
If you can invent a method which would satisfy all these requirements and yet reduce recompilations, please implement it.