Hi Bulia,
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.
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).
Bryce
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.
On 6/10/05, bulia byak <buliabyak@...400...> wrote:
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).
Sorry I didn't read this carefully. You say it depends on verbs.h, but verbs.h is changed much less frequently than verbs.cpp where the actual strings are. So it recompiles only when new verbs are added, which I think is acceptable.
To summarize, if there's a simple workaround which won't break anything, let's try it. If there's none or it's not simple, I don't think it's a problem we should sweat over.
On 6/11/05, Bryce Harrington <bryce@...260...> wrote:
Hi Bulia,
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.
Isn't it going to introduce a need to use verbs instead of substantives in dialog's titles?
Alexandre
On 6/11/05, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
Isn't it going to introduce a need to use verbs instead of substantives in dialog's titles?
Not really. A "verb" here does not refer to grammar, it's just the name of a struct in the code.
participants (3)
-
Alexandre Prokoudine
-
Bryce Harrington
-
bulia byak