Skip to content

Go wrapper library for Dear ImGui, but with ImPlot bundled

License

Notifications You must be signed in to change notification settings

Edgaru089/imgui-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For information on the original imgui-go go here

ImPlot for Go

This library is a Go wrapper for ImPlot, merged into a fork of imgui-go which wraps Dear ImGui.

It currently targets ImPlot v0.13 with imgui-go v4.5.0 (which wraps Dear ImGui v1.85).

It has similar goals compared to inkyblackness's imgui-go wrapper:

  • hand-crafted
  • documented
  • feature-complete
  • versioned
  • with examples (living in another repo here)

Screenshot


ImPlot-go is merged with a fork of ImGui-go because of the way Go links C/C++ libraries. Basically, Go/GC links every package into a standalone .so library, before linking them staticly to somehow get the final executable. The symbols are somehow again deduplicated (?), and with system libraries this is perfectly fine.

But, because of that, for ImPlot to reach into ImGui, they must be built together.


I just rm -rfed what I've been working on for a whole day. Don't ever do that. - 2022/02/19

This is very much work in progress, here is a list from the Table of Contents of implot.h:

  • Contexts
  • Begin/End Plot
  • Begin/End Subplot
  • Setup
  • SetNext
  • Plot Items
  • Plot Tools
  • Plot Utils
  • Legend Utils
  • Drag and Drop
  • Styling (& SetNextXXXStyle)
  • Colormaps
  • Input Mapping
  • Miscellaneous

About

Go wrapper library for Dear ImGui, but with ImPlot bundled

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.0%
  • Go 8.7%
  • C 8.3%