Git Product home page Git Product logo

imgui-beef's Introduction

ImGui-Beef

imgui-beef is a Beef wrapper library for Dear ImGui v1.75

Attention! This binding is still in development, bugs may occur.

This wrapper currently uses cimgui bindings, since I couldn't wrap the c++ api of ImGui because of the hidden "bf" namespace when using [StdCall] property.

IMPORTANT CAVEAT!

As of the current Beef version (0.42.3) the SDL bindings need two modifications to work properly with the official SDL bindings included with Beef. These modifications will be part of the 0.42.4 release:

What is done

  • Bindings for:
    • The main ImGui API more or less complete
    • Several ImGui structs used for communicating with ImGui
  • Windowing / Input backends:
    • SDL, converted to Beef based on offical ImGui implementation. Needs offical SDL Beef bindings.
    • GLFW, converted to Beef based on offical ImGui implementation. Needs GLFW Beef bindings: https://github.com/MineGame159/glfw-beef
  • Rendering backends:

TODO:

  • Finish bindings for main ImGui structs and their public API
  • Windowing / Input backends:
    • Allegro 5
    • GLUT/FreeGLUT
    • OSX / Cocoa
    • Windows API
  • Rendering backends:
    • DirectX9
    • DirectX10
    • DirectX11
    • DirectX12
    • Metal
    • OpenGL2
    • Vulkan
  • Combined backends:
    • Marmalade + IwGx

Quick Start (using Beef IDE)

  1. Download imgui-beef and copy the main project and the backend projects here: C:\Program Files\BeefLang\BeefLibs.
  2. Right-click on your workspace and select Add from Installed and choose imgui-beef + your desired backends.
  3. Make imgui-beef + your desired backends as a dependency of your project.

Tip & Tricks

  1. You should make your workspace looks like this
Workspace-Folder\
    |__ Project1\ 
    |__ Project2\
    |__ Project3\
    |__ imgui-beef\
    |__ imgui-impl-sdl-beef\
    |__ imgui-impl-sdl-renderer-beef\
    |__ some-other-lib\

More Info

  • Thank you for M0n7y5, whose raylib bindings' readme structure gave heavy inspiration for this readme document.
  • For any questions, I'm usually lurking in BeefLang discord channel: https://discord.gg/rnsc9YP

Contribution

I'll be glad for any contribution & pull requests

imgui-beef's People

Contributors

laurarozier avatar minegame159 avatar qzole avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.