Not sure about ncurses to be honest... I'll take a more in depth look at it on a later date.
Pretty big rewrite today, functions are now "wrapped" in an inherited base class and have their pointers passed to the relevant menus. Its definitely much better than the previous function method, reads a hell of a lot better.
In other news, it turns out that a windows message box can be sent from the command line. Who knew?
I'll try to get the first draft of the docs written this weekend, then upload version 1.03 on Monday. Have a good weekend. :)
thanks for the heads up on Github then. I originally wanted to go Sourceforge, but Ive heard about less than honest dealings going on over there in recent times...
Yeah, I will implement that standard transform in the TCmdMenu constructor. I realized that when I was writing the docs, but didn't feel like jumping on it that instant. It'll be implemented in the next version.
Ummm passing menu pointers, right, Ill think about that...
I think there was some sort of frustration with virtual methods during testing, Ill give it another try next time I work on the core code base.
Yeah that bad constructor is ugly, would be better with some sort of a compile time flag or nothing at all. delete this; made sense at the time somehow...
The text is centered in the docs just because MS word had it like that when I started working on it. Ill shift it to left justify next time.
My turn for questions ;)
How/Why are you doing upside down question marks all the time?
Out of general curiosity, has anything like this been attempted before? Frameworks for GUIs, database management, and the like are everywhere, but I haven't noticed anything quite like this before. Maybe I'm just blind though...
Unfortunately I might have to change the name. The name CMD++ was already taken it seems.
> Why are you doing upside down question marks all the time?
It is used to mark the start of the question, because in Spanish you identify one by the intonation, instead of word ordering. However, a lot of times is not respected.
So I blame the English influence,
If it spreads and becomes a norm, then maybe we could write correctly.
Norwegian uses word order to denote questions; for example, "You live in England" is "Du bor i England", but "Do you live in England?" is "Bor du i England?". You simply switch from SVO (subject-verb-object) to VSO (verb-object-subject). If the verb is first then you know you're about to be asked a question.
I don't think "got milk" (with or without a question mark) is a well-formed sentence in English. It doesn't have a subject. "Do you have milk?" or "You have milk" are better sentences.
> So if someone punched you, you would find a random stranger and punch them?
I want to believe that I'll fight back.
After that, yes.
>> in Spanish you identify one by the intonation, instead of word ordering.
> In English too.
I don't care, I don't speak English.
The point is, ¿how do you expect to read it properly if you don't mark the start of the question?
> In written text, there's no way of knowing if that's a question or a statement without punctuation
> Blame stupid and lazy people.
Sometimes they are not stupid, but ignorant.
@ne555 we can tell if we are at the start of a question or not without additional punctuation through an ability of retroactively changing our interpretation of what we have read. It doesn't work when reading aloud, however.
ne555, it's implied given the context. Similar to how some people think plurals in English are stupid. Plurals are implied given the context and is obvious whenever you're talking about something, so there's no need for such things.
Plurals aren't always superfluous. For example, in the sentence "The dog were fighting each other", there are obviously at least two dogs, but in "The person were fighting the dog", there at least two people, but you can't tell whether there is one or several dogs. Without the indefinite plural you would have to give specific figures for such sentences to be unambiguous, and if you didn't know the exact numbers then you couldn't disambiguate the sentence. I suppose you could say "The person were fighting many dog" or "few dog" or "some dog" but that requires more effort than just saying "the people" and "the dogs".