aboutsummaryrefslogtreecommitdiffstats
path: root/thirdparty/imgui-1.92.5/examples/example_null/main.cpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2026-05-05 00:23:17 +0200
committerladevieq <ladevie.quentin@gmail.com>2026-05-05 00:23:17 +0200
commit3dd580b7365e196bc2ba45d91bc7f78009f341ef (patch)
treea991499eeed6564c42d0d5f71acf1f2109c256ab /thirdparty/imgui-1.92.5/examples/example_null/main.cpp
parent1a92f70f699389219dbda42d175e7898cdbe7783 (diff)
Remove useless files in thirdparty directoy and move to simdjson
Diffstat (limited to 'thirdparty/imgui-1.92.5/examples/example_null/main.cpp')
-rw-r--r--thirdparty/imgui-1.92.5/examples/example_null/main.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/thirdparty/imgui-1.92.5/examples/example_null/main.cpp b/thirdparty/imgui-1.92.5/examples/example_null/main.cpp
deleted file mode 100644
index eba6756..0000000
--- a/thirdparty/imgui-1.92.5/examples/example_null/main.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-// dear imgui: "null" example application
-// (compile and link imgui, create context, run headless with NO INPUTS, NO GRAPHICS OUTPUT)
-// This is useful to test building, but you cannot interact with anything here!
-#include "imgui.h"
-#include <stdio.h>
-
-// For imgui_impl_null: use relative filename + embed implementation directly by including the .cpp file.
-// This is to simplify casual building of this example from all sorts of test scripts.
-#include "../../backends/imgui_impl_null.h"
-#include "../../backends/imgui_impl_null.cpp"
-
-int main(int, char**)
-{
- IMGUI_CHECKVERSION();
-
- ImGui::CreateContext();
- ImGuiIO& io = ImGui::GetIO();
-
- ImGui_ImplNullPlatform_Init();
- ImGui_ImplNullRender_Init();
-
- for (int n = 0; n < 20; n++)
- {
- printf("NewFrame() %d\n", n);
- ImGui_ImplNullPlatform_NewFrame();
- ImGui_ImplNullRender_NewFrame();
- ImGui::NewFrame();
-
- static float f = 0.0f;
- ImGui::Text("Hello, world!");
- ImGui::SliderFloat("float", &f, 0.0f, 1.0f);
- ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate);
- ImGui::ShowDemoWindow(nullptr);
-
- ImGui::Render();
- }
-
- printf("DestroyContext()\n");
- ImGui_ImplNullRender_Shutdown();
- ImGui_ImplNullPlatform_Shutdown();
- ImGui::DestroyContext();
- return 0;
-}