GLBasic forum

Codesnippets => Code Snippets => Topic started by: Albert on 2012-May-21

Title: Good looking GUI by code
Post by: Albert on 2012-May-21
I dunno what happened my thread.
Here it is again:

So this is an attempt to make a good looking GUI with GLBasic. This is only some graphics and there isn't any real GUI logic in the background.

I realized that I have simply not enough time to clean my code :( So there is it as is. Maybe smbdy could find this useful.

Update: see http://www.glbasic.com/forum/index.php?topic=8139.msg69683#msg69683 for IMGUI code

(http://dl.dropbox.com/u/292449/GUIIMG/scrshot_lighgray.png)

(http://dl.dropbox.com/u/292449/GUIIMG/scrshot_wood.png)

(http://dl.dropbox.com/u/292449/GUIIMG/scrshot_blue.png)

[attachment deleted by admin]
Title: Re: Good looking GUI by code
Post by: TI-994A on 2012-May-21
Hello again Albert. Another great one! GLBasic lacks good GUI examples, and yours provide the building blocks for an alternative to DDGui. Thank you.
Title: Re: Good looking GUI by code
Post by: Albert on 2012-Jun-19
I finally had enough time to that good looking UI managed to implemet under my IMGUI system.
So what is it?
It's a simple Immediate Mode GUI with (mostly) code generated graphics.
This time with working buttons, stickybuttons, sliders, num- and textfields, windows, popups, comboboxes and a slow and buggy source code editor.

Download from here with source:  https://dl.dropbox.com/u/292449/glbasic/imgui/guiimg.zip
Download for Android: https://dl.dropbox.com/u/292449/glbasic/imgui/guiimg.apk

(https://dl.dropbox.com/u/292449/glbasic/imgui/scrsht1.jpg)
Title: Re: Good looking GUI by code
Post by: MrTAToad on 2012-Jun-19
Could combine this with your main IMgui system, into one neat package!
Title: Re: Good looking GUI by code
Post by: mentalthink on 2012-Jun-19
Hey Albert, this it´s a very nice work, this interface it´s very very cool... Are you thinked in dark theme, like the metallic color, but more dark... somethink like the standar in most Applications... (basically in 3D now are all Darks)..

PS: If you want I can help you whit more graphis for the this UI
Title: Re: Good looking GUI by code
Post by: Albert on 2012-Jun-21
I'm a 2D guy :) How do you want to help me with graphics? All graphics made with DRAWRECT by code
Title: Re: Good looking GUI by code
Post by: mentalthink on 2012-Jun-21
Hi Albert I comment about the background and icons I look... I´m a 3D guy or something like this  =D