Introducing: GUI Editor for the PicoMiteVGA


Author Message
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 748
Posted: 06:50pm 28 Jun 2025      

Hello all,

since I need some GUIs for my project all the time, I was tired to start every single time at zero. So I thought: "well let's SIMPLY write a program for that"... uhm.. easier thought than done. My editor is still in beta (obviously!) but as it turns out: it works really really well and saves me a lot of time.

First some pictures:













A few words on my setup (see pictures)... I often said this many times. I am not happy with the colour palette of the VGA version, since it is missing grey. On my own designed PCB I made it switchable via jumpers, so you can choose between standard picoVGA and a pseudo windows 95 16 colour palette. In another thread I posted a schematic of exactly this PCB. So I designed this editor around my "grey" mod. So if it hurts your eyes for the standard picoVGA, just change them in the code!

The second point is: At the moment it is designed for:

Resolution 720 and Mode 3... Maybe I will add more modes later on...
I use it with PS/2 mouse and keybaord. Maybe for USB you must adjust the code!

What can you do with it? Well.. At this moment in time, you can:

- create one window
- add "items":
- Checkboxes
- GroupBoxes
- Buttons
- Entry Form
- Edit its height & width and set coordinates
- Change colours of every item (foreground, background, text)
- Finally: save the whole GUI / window with mouse integration as a *.bas

TODO:
functionality:
- better save function, in which you can choose if you want the mouse integration etc.
- way more editing options (especially entry form, to choose the option to enter only numbers, for example)
- allow more items
- text item is at the moment with no function
- allow to enter a specific variable name for the window, this allows to "connect" more GUIs / windows together in one file

Acknowledgements:
a lot of rework for less code and mention the author of the functionality I used for the "entry form" item. I think this was Michael from Germany?! He adapted it from the pico file manager - I have to look that up, cause the forum search is terrible. The colour palette idea is from Peter, who used it in his "paint" program.

At this state there is still much work to do, but since it is so helpful and time saving already I thought I share it with you, even at this state.

The GUI Editor:

gui_editor_b20.zip



Greetings
Daniel
Edited 2025-06-29 05:09 by Amnesie