All Projects → zwcloud → Imgui

zwcloud / Imgui

Licence: lgpl-3.0
Immediate Mode GUI for C#

Labels

Projects that are alternatives of or similar to Imgui

Cimgui
c-api for imgui (https://github.com/ocornut/imgui) Look at: https://github.com/cimgui for other widgets
Stars: ✭ 707 (+431.58%)
Mutual labels:  gui, imgui
Nukleardotnet
.NET binding for the Nuklear immediate mode GUI
Stars: ✭ 126 (-5.26%)
Mutual labels:  gui, imgui
Giu
Cross platform rapid GUI framework for golang based on Dear ImGui.
Stars: ✭ 862 (+548.12%)
Mutual labels:  gui, imgui
Imgui markdown
Markdown for Dear ImGui
Stars: ✭ 594 (+346.62%)
Mutual labels:  gui, imgui
Horus ui
HorusUI Immediate Mode Graphical User Interface
Stars: ✭ 106 (-20.3%)
Mutual labels:  gui, imgui
Imgui Sfml
Dear ImGui binding for use with SFML
Stars: ✭ 596 (+348.12%)
Mutual labels:  gui, imgui
Wtk
📺 A cross-platform immediate mode user-interface library. Public domain.
Stars: ✭ 30 (-77.44%)
Mutual labels:  gui, imgui
Imgui Go
Go wrapper library for "Dear ImGui" (https://github.com/ocornut/imgui)
Stars: ✭ 499 (+275.19%)
Mutual labels:  gui, imgui
Imgui Rs
Rust bindings for Dear ImGui
Stars: ✭ 1,258 (+845.86%)
Mutual labels:  gui, imgui
Swiftgui
SwiftGUI is an API inspired by SwiftUI DSL, using Dear ImGui as renderer and running on macOS 10.13+ and iOS 11+
Stars: ✭ 74 (-44.36%)
Mutual labels:  gui, imgui
Layout
Single-file library for calculating 2D UI layouts using stacking boxes. Compiles as C99 or C++.
Stars: ✭ 551 (+314.29%)
Mutual labels:  gui, imgui
Sonyheadphonesclient
A {Windows, macOS, Linux} client recreating the functionality of the Sony Headphones app
Stars: ✭ 123 (-7.52%)
Mutual labels:  gui, imgui
Dearpygui
Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
Stars: ✭ 6,631 (+4885.71%)
Mutual labels:  gui, imgui
Cvui
A (very) simple UI lib built on top of OpenCV drawing primitives
Stars: ✭ 619 (+365.41%)
Mutual labels:  gui, imgui
Iconfontcppheaders
C, C++ headers and C# classes for icon fonts: Font Awesome, Fork Awesome, Material Design, Kenney game icons and Fontaudio
Stars: ✭ 509 (+282.71%)
Mutual labels:  gui, imgui
Imgui
Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
Stars: ✭ 33,574 (+25143.61%)
Mutual labels:  gui, imgui
Imgui
Bloat-free Immediate Mode Graphical User interface for JVM with minimal dependencies (rewrite of dear imgui)
Stars: ✭ 394 (+196.24%)
Mutual labels:  gui, imgui
Nuklear
A single-header ANSI C immediate mode cross-platform GUI library
Stars: ✭ 5,055 (+3700.75%)
Mutual labels:  gui, imgui
Asap app imgui
Starter project for portable app with optional GUI (GLFW/ImGui) and a rich builtin debug UI. Includes docked windows, log viewer, settings editor, configuration load/save, etc...
Stars: ✭ 70 (-47.37%)
Mutual labels:  gui, imgui
Implot
Immediate Mode Plotting
Stars: ✭ 2,014 (+1414.29%)
Mutual labels:  gui, imgui

Hello ImGui,

Hello ImGui is an immediate mode GUI library inspired by IMGUI of Unity3D and dear imgui.

code sample

(outdated and to be updated) Now it runs on Win10 x64, Ubuntu 16.04, and Android. See platforms. MAC and iphone are not supported because I don't have them.

At present, ImGui lacks usability but will be improved gradually.

Get Started

For Windows and Linux

  1. Preparation

    • Download msjh.ttf to directory ImGui\src\ImGui\assets\fonts. See font note.
  2. Create a .NET Standard 2.1 compatible project and reference ImGui.

  3. Add follwing code files to your project,

    Program.cs

    namespace YourApp
    {
        class Program
        {
            [STAThread]
            static void Main()
            {
                Application.Init();
                Application.Run(new MainForm());
            }
        }
    }
    

    MainForm.cs

    namespace YourApp
    {
        public class MainForm : Form
        {
            public MainForm() : base(new Rect(320, 180, 1280, 720)) { }
    
            protected override void OnGUI()
            {
                //your GUI code here
                GUILayout.Label("Hello, ImGui!");
            }
        }
    }
    
  4. Build your project

  5. Run

    • run in VS2017: Press F5

    • run in Windows console:

      cd MyImGuiApp
      dotnet MyApp.dll
      
    • run in Linux terminal:

      cd MyApp/bin/Debug/netcoreapp3.0
      dotnet MyApp.dll
      
  6. Exit

    Press Esc or click the close button of the window.

For Android

(outdated and to be updated)

  1. Copy Android Templates project. The referenced Demo can be removed if you don't need that.
  2. Add your GUI code in MainForm.OnGUI.
  3. Build and deploy it to your Android device.

For now, please refer to the shared project Demo for how to use Hello ImGui.

Target

A Real Universal GUI Framework.

Dependency

  • ImageSharp: A cross-platform library for the processing of image files; written in C#. It provides image loading functions for ImGui.
  • Xamarin.Android: Xamarin.Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#. It mainly provides C# runtime for ImGui.

Credits

DroidSans.ttf, Droid Sans is a humanist sans serif typeface designed by Steve Matteson licensed under Apache 2.

ImGui doesn't depend on following projects, some code used by ImGui are taken from them.

  • Typography: C# Font Reader (TrueType / OpenType / OpenFont) , Glyphs Layout and Rendering
  • OpenTK: low-level C# wrapper for OpenGL
  • CSharpGL: Object Oriented OpenGL in C#

License

Hello ImGui is licensed under the LGPL License, see LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].