Page 1 of 1

FFGL: Changing the parameters / pop-up window

Posted: Sun Apr 25, 2021 15:24
by RyTek
I find that it's not possible to modify the parameters after initialization. For example the "options"-field elements. This makes it impossible to create drop-down dialogs with dynamic options.

As an alternative I researched creating a popup window with ImGui. That window would then let the user choose between values (string enum). This approach feels like shooting a fly with a bazooka. Also I don't have the skills for integrating ImGui in the plugin. If you have a way for integrating some UI library in a ffgl-plugin, I'm interested.

Does anyone have a workaround changing the plugin parameters, or for letting user input data in some other user-friendly way?

I don't want to have the user to modify a text file, or to write strings in text-input elements. These are way more confusing and error prone when compared to drop-down dialog with a couple of options.

Re: FFGL: Changing the parameters / pop-up window

Posted: Fri Apr 30, 2021 11:57
by Zoltán