mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 04:18:29 +01:00
post in cpp and h files if it is generated with internal api
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.76" from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.76" from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
//with imgui_internal.h api
|
||||||
|
|
||||||
#include "./imgui/imgui.h"
|
#include "./imgui/imgui.h"
|
||||||
#include "./imgui/imgui_internal.h"
|
#include "./imgui/imgui_internal.h"
|
||||||
|
1
cimgui.h
1
cimgui.h
@@ -1,5 +1,6 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.76" from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.76" from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
//with imgui_internal.h api
|
||||||
#ifndef CIMGUI_INCLUDED
|
#ifndef CIMGUI_INCLUDED
|
||||||
#define CIMGUI_INCLUDED
|
#define CIMGUI_INCLUDED
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@@ -415,6 +415,10 @@ while true do
|
|||||||
end
|
end
|
||||||
pipe:close()
|
pipe:close()
|
||||||
cimgui_header = cimgui_header:gsub("XXX",imgui_version)
|
cimgui_header = cimgui_header:gsub("XXX",imgui_version)
|
||||||
|
if INTERNAL_GENERATION then
|
||||||
|
cimgui_header = cimgui_header..[[//with imgui_internal.h api
|
||||||
|
]]
|
||||||
|
end
|
||||||
print("IMGUI_VERSION",imgui_version)
|
print("IMGUI_VERSION",imgui_version)
|
||||||
--get some defines----------------------------
|
--get some defines----------------------------
|
||||||
gdefines = get_defines{"IMGUI_VERSION","FLT_MAX"}
|
gdefines = get_defines{"IMGUI_VERSION","FLT_MAX"}
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.76" from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.76" from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
//with imgui_internal.h api
|
||||||
|
|
||||||
#include "./imgui/imgui.h"
|
#include "./imgui/imgui.h"
|
||||||
#include "./imgui/imgui_internal.h"
|
#include "./imgui/imgui_internal.h"
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.76" from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.76" from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
//with imgui_internal.h api
|
||||||
#ifndef CIMGUI_INCLUDED
|
#ifndef CIMGUI_INCLUDED
|
||||||
#define CIMGUI_INCLUDED
|
#define CIMGUI_INCLUDED
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Reference in New Issue
Block a user