SP4CEBAR 2022-07-12 12:01 (Edited)
Since I made my GUI library I had the idea of making a GUI designer program, because making GUI's is still a bit of a pain, even with the library.
So a few weeks ago I started planning on how I wanted to edit, store, and load GUIs. I decided that I needed a tree file structure to store all the GUI files inside GUI menus, after quite a lot of hours I made that file tree and I used DOS navigation.
I'm now working on the DOS version of the GUI designer, so you can type commands to set the GUI parameters. Theoretically this shouldn't be too hard to do, yet It's taking really quite long, and even though the DOS I made is quite organized, it doesn't really have that good of an API, so adding simple features is a little harder, and my abstraction isn't as good that I can just focus on the thing I want to implement, I also need to focus on what is going on with the files.
There's still quite a lot to do, once the DOS version can edit a GUI, I want to add all the elements from my GUI library. I want this file-based GUI to be powerful, there are also quite a few features that are stored as parameters in the files, each of those needs code that is going to do that feature, and that's going to take time to make too.
I kind of lost motivation to complete this project (and I'm getting tired of it), yet I really want to get it done because it would make GUI's of any kind really easy.
For example I can get my Piano Roll DAW to work, I can make a file explorer which is more familiar to most people than DOS, and I can make a GUI for my GUI editor to make it user friendly.
Here are some technical details of how my file-based GUI system works:
SP4CEBAR 2022-07-12 12:13 (Edited)
Here's a schematic of the folder structure:
'- ROOT ' - GLOBAL VARIABLES ' - MENUS ' - MENU 0 ' - F MENU DATA ' - F MAP ' - F BINARY VARIABLES (32 BYTES (FLEXIBLE: STARTS AT ELEMENT 0, GROWS WHEN E ADDED) ' - ELEMENT DATA ' - ELEMENT 0 ' - F ELEMENT DATA ' - F VARIABLES ' - F CALLS ' - DISPLAYS ' - DISPLAY 0 ' - F DISPLAY DATA ' - F VARIABLES ' - F LINKS
Timo 2022-07-12 20:36
I recommend do only what you enjoy making here. If it starts to feel like work to finish it, it’s not a good sign.
Also the more complex a library/system gets, the less probable it gets that someone else uses it for other projects…
I think most people here use LowRes NX to create simple things.
SP4CEBAR 2022-07-12 20:49 (Edited)
Thank's for the advice!
I've been too focused on making it run fast, that's what made it complicated! I can just make a small file that is compatible with the GUI library subprograms