09-24-2022, 04:06 PM
(This post was last modified: 09-24-2022, 04:07 PM by DSMan195276.)
Wow, I cannot believe you actually remember that. You can see most of it here, I would note that "a couple years back" was a decade ago
As you can probably tell the TUI code started as just a smaller part of my FTP client, It's been so long that I really don't remember it all that well. I'm pretty sure the important part was the TYPE box_type which was the type underpinning all the GUI elements, which is pretty similar to other GUIs out there for QB64. A more interesting detail was making use of _MEM to allow me to keep some arrays and variable-length strings in the TYPE itself, which makes it a bit more generic. I have a picture below for fun:
I had started on an attempt to separate the GUI logic into its own library but it never got very far. There's some interesting ideas in there but most of the GUI logic is too intermingled with the rest of the FTP stuff. if someone wanted they might be able to take it as a starting point, but honestly could be easier to just start fresh with a better design.
As you can probably tell the TUI code started as just a smaller part of my FTP client, It's been so long that I really don't remember it all that well. I'm pretty sure the important part was the TYPE box_type which was the type underpinning all the GUI elements, which is pretty similar to other GUIs out there for QB64. A more interesting detail was making use of _MEM to allow me to keep some arrays and variable-length strings in the TYPE itself, which makes it a bit more generic. I have a picture below for fun:
I had started on an attempt to separate the GUI logic into its own library but it never got very far. There's some interesting ideas in there but most of the GUI logic is too intermingled with the rest of the FTP stuff. if someone wanted they might be able to take it as a starting point, but honestly could be easier to just start fresh with a better design.