Alright, I've made a little progress on the DCSGUI thing, though not as much as I wanted. I got distracted fixing a bug that TI-Coder found (backslash stuff). Here's my commit message for tonight for those interested in some more specifics:
And after reading that, I realize I should really proof-read my commits
git wrote:
Rearranged code. Started DCSGUI stuff. Reworked handling of backslashes.
- Rearranging: I basically just changed the folder Tokens to Merthsoft.Tokens, this this clears up some confusion, I think. I almost made it give out Merthsoft.Tokens.dll instead of just Tokens.dll. This is purely for narcissism.
- DCSGUI Stuff: I've started implementing some different types, right now just GUIRNull and Checkbox. I spent a while deciding how I wanted the objects to be done, and went with an abstract base class that the rest inherit from and blah blah blah. For some reason drawing them isn't working right, I'm not 100% on why that is, that's the next step.
- Backslashes: So, there's were being handled awkwardly. Basically, in the XML if you wanted a token to have a backslash (such as "\~" being an actual tilde), you would put it in the XML as "\\~". This caused some issues since I was unescaping in the code, so when I had "\\u" it was expecting some unicode, which I was not providing. So, I changed some stuff and now you just put "\~" and it handles it just fine. I had to put in a special case for "\n" in the code, but that's alright by me.
- Rearranging: I basically just changed the folder Tokens to Merthsoft.Tokens, this this clears up some confusion, I think. I almost made it give out Merthsoft.Tokens.dll instead of just Tokens.dll. This is purely for narcissism.
- DCSGUI Stuff: I've started implementing some different types, right now just GUIRNull and Checkbox. I spent a while deciding how I wanted the objects to be done, and went with an abstract base class that the rest inherit from and blah blah blah. For some reason drawing them isn't working right, I'm not 100% on why that is, that's the next step.
- Backslashes: So, there's were being handled awkwardly. Basically, in the XML if you wanted a token to have a backslash (such as "\~" being an actual tilde), you would put it in the XML as "\\~". This caused some issues since I was unescaping in the code, so when I had "\\u" it was expecting some unicode, which I was not providing. So, I changed some stuff and now you just put "\~" and it handles it just fine. I had to put in a special case for "\n" in the code, but that's alright by me.
And after reading that, I realize I should really proof-read my commits