ImmediateGUI

An IMGUI inspired GUI Framework for javascript thats designed to be as simple to use as IMGUI.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v0.0.1.20251122104735 2025-11-22

    A bunch of quality of life fixes, most notably:

    • Fixed nested BeginSection()s inside BeginSection()s to render properly.
    • Flag _guiDebugMode was added which can be set to true which makes it easier to debug added controls incrementally as they are added to the gui
    • All control adding methods now take in an optional id (string) parameter as the last one, which can be used to find specific controls (and get their values) doing it like this
    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');
    
    • And a bunch of smaller improvements

    Updated documentation will come soon

  • v0.0.1.20251004131406 2025-10-04

    Small fixes + new Listbox method added. Update to the documentation will come soonish

  • v0.0.1.20250523101608 2025-05-23

    Updated preview of gui and some other stuff

  • v0.0.1.20250523064152 2025-05-23

    Bug fixed, added BeginRow/EndRow() functionality, to align several controls on the same row instead of one control per row

  • v0.0.1.20250519090104 2025-05-19

    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)

  • v0.0.1.20250518080043 2025-05-18

    General improvements

  • v0.0.1.20250517080456 2025-05-17

    Updated the example code to reflect the changes done to the script

  • v0.0.1.20250517062613 2025-05-17

    Omitted the 'Add*' part to the control adding functions. Instead of AddTextbox(...) its now just Textbox(...). This applies to all methods now

  • v0.0.1.20250512185416 2025-05-12
  • v0.0.1.20250512154947 2025-05-12