An IMGUI inspired GUI Framework for javascript thats designed to be as simple to use as IMGUI.
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
A bunch of quality of life fixes, most notably:
BeginSection()
_guiDebugMode
const gui = new ImmediateGui(...); gui.Checkbox('Label text content', true, 'Tooltip text content', null, 'our unique id'); // Somewhere else in your code const checkboxIsChecked = gui.GetControlValueById('our unique id'); // You can get he control itself also with the id, and not just the associated value const ourCheckbox = gui.GetControlById('our unique id');
Small fixes + new Listbox method added. Update to the documentation will come soonish
Updated preview of gui and some other stuff
Bug fixed, added BeginRow/EndRow() functionality, to align several controls on the same row instead of one control per row
Updated the theme for dark mode to look a lot more like the default dark mode colors from Dear Imgui (and also a lot more QoL things)
General improvements
Updated the example code to reflect the changes done to the script
Omitted the 'Add*' part to the control adding functions. Instead of AddTextbox(...) its now just Textbox(...). This applies to all methods now
AddTextbox(...)
Textbox(...)