Skip to content
This repository has been archived by the owner. It is now read-only.
Heavily modified fork of ImGui.NET + SDL2-CS, XNA and FNA samples
Branch: master
Clone or download
0x0ade Merge pull request #15 from se5a/patch-1
Added calls to igBeginGroup
Latest commit 40720d5 Jul 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ImGuiCS Added calls to igBeginGroup Jun 30, 2018
ImGuiFNA Fix ImGuiXNA rendering bug; Update README.md Sep 2, 2017
ImGuiSDL2CS-Example ImGui FileDialog C# port renders Aug 29, 2017
ImGuiSDL2CS ImGui FileDialog C# port renders Aug 29, 2017
ImGuiXNA Update README, remove XNA stripped May 16, 2018
SDL2-CS @ 8e0cec4 Update README, remove XNA stripped May 16, 2018
libs Update README, remove XNA stripped May 16, 2018
.gitattributes
.gitignore Add missing native libraries, update .gitignore (fixes #2) Aug 31, 2017
.gitmodules
ImGuiSDL2CS.sln Move stuff around; Add ImGuiFNA (works), ImGuiXNA (wip) Aug 26, 2017
LICENSE ImGui.Begin() Aug 24, 2017
README.md Update README, remove XNA stripped May 16, 2018

README.md

ImGuiCS

dear ImGui + fork of ImGui.NET + SDL2-CS, XNA and FNA samples

MIT-licensed, fork recursively

Special thanks to my patrons on Patreon:

ImGui.NET exists already, why fork?

ImGui.NET didn't fit my personal needs. It removed the ImGui prefix from the classes and while it already wraps imgui structs well, accessing some things like the fonts still required unsafe blocks in your own project. ImGuiCS aims to avoid forcing you to go the "dirty" route.
Admittedly, going unsafe is the more accurate route, but it makes dealing with things like ImVector more complicated as it should be for a beginner.

SDL2-CS doesn't load / it's an empty directory! What happened?

You need to git clone --recursive to download the SDL2-CS "submodule". If you're not using ImGuiSDL2CS (f.e. you're using ImGuiXNA instead), you can simply disable SDL2-CS in your IDE (Visual Studio / MonoDevelop).

Visual Studio 2010 can't deal with the new language features!

If you require compatibility, I'd be thankful if you could help me as I don't plan to install Visual Studio 2010. This also means that I don't plan on preserving compatibility with any C# version older than the one provided in VS2015.
You can still build ImGuiCS and the other projects in VS2015+ and use the resulting binaries.
Tip: If you're dealing with XNA Game Studio, MXA provides downloads to get it up and running in VS2015: https://mxa.codeplex.com/releases

There is an unofficial, VS2010-compatible lock-step fork available here: https://github.com/conatuscreative/ImGuiCS

cimgui.dll / SDL2.dll doesn't load!

Use the native libraries from libs/x86 (32 bit) or libs/x64 (64 bit) instead. You could also ship both directories and create a .dll.config file for ImGuiCS.dll / SDL2-CS.dll that takes this into account.

You can’t perform that action at this time.