Vild / cimgui

c-api for imgui (https://github.com/ocornut/imgui)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cimgui Build Status

sample

This is a thin c-api wrapper for the excellent C++ intermediate gui imgui. Most of the functions have wrapper counterparts now, missing stuff is added on a as-needed basis (PR welcome). This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see D-binding)

Notes:

  • currently this wrapper is based on version 1.53 of imgui
  • does not compile with pure C compiler yet (for writing bindings in languages that are able to use C-ABI it is enough though, see D-bindings)

usage

  • clone
  • make using makefile on linux/osx
  • use whatever method is in ImGui c++ namespace in the original imgui.h by prepending ig
  • methods have the same parameter list and return values (where possible)

example bindings based on cimgui

About

c-api for imgui (https://github.com/ocornut/imgui)

License:MIT License


Languages

Language:C++ 51.2%Language:C 48.0%Language:Makefile 0.8%