ImGui Binding for FreePascal / Delphi with the latest version & docking
#pascal #imgui #wrapper #lib #gamedev

Coldzer0 827ab9f26d A working Node Graph :v: 1 year ago
OpenGL3 9f2b3cc997 Changing the LICENSE to MIT 1 year ago
PasImGui_SDL2_OpenGL3_Demo 6e46245e2b some refactoring 1 year ago
SDL2-for-Pascal b54099db27 Update SDL2 to support static linking 1 year ago
examples 827ab9f26d A working Node Graph :v: 1 year ago
impl f33fa0b931 Update PasImGui.Renderer.OpenGL3.pas 1 year ago
libs ebf3a1e08b moving libs into new folders 1 year ago
screenshots 3aaaa9d73e Updating the code to support Delphi & FreePascal 1 year ago
src d825c497b6 Fixing some records sizes to match the C ones 1 year ago
.gitattributes 9701c7f80e Create .gitattributes 1 year ago
.gitignore afecab3a20 small change to the CustomNodeGraph 1 year ago
LICENSE 9f2b3cc997 Changing the LICENSE to MIT 1 year ago
README.md 66c1588031 Update README.md 1 year ago

README.md

ImGui-Pascal

FreePascal / Delphi bindings for dear ImGui with docking v1.90.0

The Binding is based on cimgui

cimgui is c-api for imgui (https://github.com/ocornut/imgui) Look at: https://github.com/cimgui for other widgets.

Screenshots

Running on Windows

FreePascal


Delphi


Running on Linux (FreePascal)

Building

  • Tested with FreePascal 3.2 and later.
  • Tested with Delphi 12.0

Usage

It should be almost 1 to 1 as if you are using C++ ImGui
Check the demo project for more info.

TODO

  • Add missing APIs to our ImGui Class
  • Add record helpers for some records like ImGuiIO & all ImVector_xxx records
  • Add Support for cimplot
  • Add Support for cimnodes
  • Add Support for cimnodes_r
  • Test on Mac

Acknowledgements & Resources :

Inspired by the work of David Pethes imgui-pas

Used Projects :

Change log

17/11/2023
  • Allow static linking on windows with FPC ( no static for Delphi :P )
  • And wrote the entire OpenGL3 renderer in Pure-Pascal
  • Fixing a bug if you try to compile on Linux
15/11/2023
  • Sync With Latest ImGui update v1.90.0
  • Disabling Floating-Point Exceptions for good
  • Updating the code to support Delphi & FreePascal
13/11/2023
  • Init Release
  • Added Fonts APIs in ImFontAtlas helper

With ❤️ From Home.