Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: JeGX on March 26, 2018, 02:38:12 PM

Title: ImGui menus demo
Post by: JeGX on March 26, 2018, 02:38:12 PM
A new GeeXLab demo is available (http://www.geeks3d.com/r/50015) (demo_menus.xml) . This demo shows how to use the new functions of gh_imgui (http://www.geeks3d.com/geexlab/reference/scripting_imgui.php) library to draw menus.

You need GeeXLab 0.22+ (http://www.geeks3d.com/forums/index.php/topic,5369.0.html) to run the demo. You can find it on the download page (http://www.geeks3d.com/geexlab/downloads/).

Read the blog post (http://www.geeks3d.com/hacklab/20180326/imgui-menus/) for full details.

(http://www.geeks3d.com/public/jegx/2018q1/geexlab-imgui-menus.jpg)
Title: Re: ImGui menus demo
Post by: leon on November 14, 2018, 12:16:49 PM
This is great!
I'm currently looking for a framework/runtime which allows me to easily create crossplatform gui's (with lua/python bindings).
GeeXLab (with imGUI) seems great for that.

Btw. how can I hide the default title/fps?
It seems that on linux, the window-title is displayed for some milliseconds, and then gets overwritten by the fps-counter.

(https://i.imgur.com/s8sJLLo.png)

Is there a way to simply display "My application" as the window title using `<window title="My application"  ...>`?

Again thx for this amazing gui! :D :-*
Title: Re: ImGui menus demo
Post by: JeGX on November 14, 2018, 02:54:50 PM
This feature is currently not available and to be honest, this feature is planned for the PRO version... or not.
Maybe I will unlock it for the next update of GeeXLab...
Title: Re: ImGui menus demo
Post by: leon on November 14, 2018, 05:33:05 PM
Thanks for your reply.
How about prepending the window-title?
So like:

${windowtitle} | GeeXLab ${version} (${OS}) | ${FPS} ${MS}

That way it is more readable when 'alt-tab'-ing between several instances.
The FPS and stats are always very handy imho.

For the pro-player, allow me to throw some ideas at you:

Basically there would be X months of delay between shipping updates/features/changes between the pro vs free users.
Looking at the current mature state of GeeXLab, delaying new features will not really interfere with new user-adoption imho.
Companies who support GeeXLab could be served first, and they could be your small group to test new features with.
You could simply re-upload the latest PRO-players-in-a-zip at gumroad.com, and setup a subscription-fee for download-access.
Then you can just email them with private blog-links, which are scheduled for publishing X weeks later.
Just my few marketing-cents.
Keep up the good work!
Title: Re: ImGui menus demo
Post by: JeGX on November 14, 2018, 09:42:58 PM
Thanks for your ideas leon about the FREE vs PRO versions, I will consider them with attention.

And for the title bar, I updated it as you proposed, it will be available in the next update of GeeXLab. I'll try to release the Windows version in the next days and the Linux one few days after. In the PRO version, the title bar will be fully customizable.

(https://www.geeks3d.com/public/jegx/2018q4/geexlab-title-bar-20181114.jpg)
Title: Re: ImGui menus demo
Post by: leon on November 14, 2018, 11:43:09 PM
Awesome thanks!
Btw. today i've ported a imgui lua-example to python.
Good news: it was fairly simple!
One would almost think that the languages were inspired by eachother.
Anyways, respect for making geexlab duo-lingual :D
Title: Re: ImGui menus demo
Post by: JeGX on November 15, 2018, 09:41:54 AM
Don't hesitate to report all bugs you're going to encounter with the Python plugin because it's much less used than the Lua one. Most of time, I only test new functions in Lua...
Title: Re: ImGui menus demo
Post by: leon on November 15, 2018, 11:14:32 AM
Ok thanks, will do.
So far all python (translated from lua) magically worked, including third party packages.