Author Topic: ImGui menus demo  (Read 2205 times)

0 Members and 1 Guest are viewing this topic.

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Geeks3D.com
ImGui menus demo
« on: March 26, 2018, 02:38:12 PM »
A new GeeXLab demo is available (demo_menus.xml) . This demo shows how to use the new functions of gh_imgui library to draw menus.

You need GeeXLab 0.22+ to run the demo. You can find it on the download page.

Read the blog post for full details.




leon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: ImGui menus demo
« Reply #1 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.



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 :-*

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Geeks3D.com
Re: ImGui menus demo
« Reply #2 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...

leon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: ImGui menus demo
« Reply #3 on: November 14, 2018, 05:33:05 PM »
Thanks for your reply.
How about prepending the window-title?
So like:

Code: [Select]
${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:

  • [FREE] show a GeeXLab-logo during startup (like unity)..maybe a simple shader anim? :)
  • [PRO] make the geexlab-stats-suffix optional in the window title
  • [PRO] access to beta releases / features (betatest)
  • [PRO] unlimited access features/scripts which only make sense for companies (emailing crash-reportdata, extra debuggingtools, remote update of xml etc)
  • [PRO] access to premium content / examples / forum-area
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!
« Last Edit: November 14, 2018, 06:37:13 PM by leon »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Geeks3D.com
Re: ImGui menus demo
« Reply #4 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.

GeeXLab - title bar

leon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: ImGui menus demo
« Reply #5 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

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Geeks3D.com
Re: ImGui menus demo
« Reply #6 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...

leon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: ImGui menus demo
« Reply #7 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.