A Menu System & Some Other GUI Components

SimonVD

Member
Joined
Dec 22, 2019
I'm working on a GUI system and using Mojo2 DrawLists...

I draw the GUI in real-time without using any pre-baked bitmaps.

I will implement functionality as I needed.

My first milestone is to complete an application menu system.

I like Apple's UI very much, so I'm going to mimic it.

The below is where I was two days ago. Just a rounded rectangle to be used as menu background.

CerberusGame 2020-05-29 09-43-55.png




The below is where I am today...

CerberusGame 2020-05-31 05-50-13.png



Next... I'm going to implement a menu separator...
 

SimonVD

Member
Joined
Dec 22, 2019
I'm almost done with the menu tree system.

Menu background, fonts, colors, corner radius, paddings... It's completely themeable, even the triangle...

Next, I'll implement a menu bar.

2020-06-10 16-24-59.2020-06-10 16_29_55.gif
 

SimonVD

Member
Joined
Dec 22, 2019
Currently I'm working on scroll view.

scrollview-2020-06-30 22-37-21.2020-06-30 22_41_58.gif


I target GLFW Desktops and HTML5 here. I can get deltaY values from HTML5 and MouseZ values from GLFW. That's all good and working fine. Now I'd like to implement horizontal scrolling but I cannot find a ready to use way to receive deltaX values from GLFW. I feel that this is possible but how? I don't know.

Any help would be greatly appreciated.
 
Last edited:
Top Bottom