mirror of
https://github.com/pound-emu/ballistic.git
synced 2026-06-17 04:16:48 -07:00
This adds luajit-imgui without submodules. Signed-off-by: Ronald Caesar <github43132@proton.me>
26 lines
548 B
C++
26 lines
548 B
C++
|
|
#include "./implot/implot.h"
|
|
#include "./implot/implot_internal.h"
|
|
#include "cimplot.h"
|
|
|
|
//ImPlotPoint getters manually wrapped for taking getters modifying ImPlotPoint*
|
|
|
|
ImPlotPoint_getter getter_funcX;
|
|
ImPlotPoint_getter getter_funcX2;
|
|
|
|
ImPlotPoint Wrapper(int idx, void* data)
|
|
{
|
|
ImPlotPoint pp;
|
|
getter_funcX(data, idx, reinterpret_cast<ImPlotPoint_c*>(&pp));
|
|
return pp;
|
|
}
|
|
|
|
ImPlotPoint Wrapper2(int idx, void* data)
|
|
{
|
|
ImPlotPoint pp;
|
|
getter_funcX2(data, idx, reinterpret_cast<ImPlotPoint_c*>(&pp));
|
|
return pp;
|
|
}
|
|
|
|
#include "auto_funcs.cpp"
|