Skip to content

Commit

Permalink
migrate cimplot
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Nov 16, 2024
1 parent 023501a commit 08be301
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions implot/cimplot_callbacks.go → implot/callbacks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
2 changes: 1 addition & 1 deletion implot/extra_types.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package implot

// #include "cimplot_wrapper.h"
// #include "wrapper.h"
// #include "../imgui/extra_types.h"
import "C"

Expand Down
4 changes: 2 additions & 2 deletions implot/cimplot_funcs.go → implot/funcs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


#include <string.h>
#include "cimplot_wrapper.h"
#include "cimplot_structs_accessor.h"
#include "wrapper.h"
#include "structs_accessor.h"

void wrap_Formatter_Time_Data_SetTime(Formatter_Time_Data *Formatter_Time_DataPtr, ImPlotTime v) { Formatter_Time_DataPtr->Time = v; }
ImPlotTime wrap_Formatter_Time_Data_GetTime(Formatter_Time_Data *self) { return self->Time; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#pragma once

#include "cimplot_wrapper.h"
#include "wrapper.h"

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion implot/cimplot_typedefs.cpp → implot/typedefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// DO NOT EDIT.


#include "cimplot_typedefs.h"
#include "typedefs.h"
#include "../cwrappers/cimplot.h"
4 changes: 2 additions & 2 deletions implot/cimplot_typedefs.go → implot/typedefs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
2 changes: 1 addition & 1 deletion implot/cimplot_wrapper.cpp → implot/wrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Code generated by cmd/codegen from https://github.com/AllenDang/cimgui-go.
// DO NOT EDIT.

#include "cimplot_wrapper.h"
#include "wrapper.h"
#include "../cwrappers/cimplot.h"

void wrap_ImPlotAnnotationCollection_Append(ImPlotAnnotationCollection* self,const ImVec2 pos,const ImVec2 off,ImU32 bg,ImU32 fg,bool clamp,const char* fmt) { ImPlotAnnotationCollection_Append(self,pos,off,bg,fg,clamp,fmt); }
Expand Down
File renamed without changes.

0 comments on commit 08be301

Please sign in to comment.