Skip to content

MasterpieceNKA/ImGuiApp_Demo

Repository files navigation

ImGuiApp Demo Project

This project show cases a sample application using ImGuiApp.

ImGuiApp provides some basic functionality needed to quickly create C++ gui applications using the GLFW and OpenGL backends of Dear ImGui. ImGuiApp uses CMake and has been tested on Windows 11 (MinGW & Clang 18.1.5) and Linux (Ubuntu 22.04 with GNU 11.4.0 compiler).

This project is inspired by Walnut which is built using uses Vulkan instead of OpenGL.

Image of ImGuiApp Demo

ImGuiApp Demo Application

Image of ImGuiApp Demo with undocked windows

ImGuiApp Demo Application with undocked windows

Requirements

Getting Started

  1. Clone the repository

    git clone --recursive https://github.com/MasterpieceNKA/ImGuiApp_Demo.git
    
    cd ImGuiApp_Demo
  2. Build and run the project depending on Operating System

    For Windows or Linux build and run the project using (with clang compiler)

    mkdir build 
    
    cd build
    
    cmake ..
    
    cmake --build .
    
    .\bin\Debug\ImGuiApp_Demo

    For Windows or Linux build and run the project using (with default compiler)

    
    mkdir build 
    
    cd build
    
    cmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
    
    cmake --build .
    
    .\bin\Debug\ImGuiApp_Demo
    
    

    Or using provided build scripts for Windows that either Clang .\debugBuild_clang.bat or MinGW .\debugBuild_MinGW.bat

  3. Customise and use other project structures according to your needs

Image of ImGuiApp sample project structures

Example project structure setups for using ImGuiApp

3rd party libaries

Additional

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published