Skip to content

Commit

Permalink
Add sandbox_tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 12, 2024
1 parent e4b94a3 commit 14602e6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bindings/imgui_bundle/demos_cpp/sandbox/sandbox_tmp.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include "hello_imgui/hello_imgui.h"
#include "imgui.h"


void Gui()
{
ImGui::Text("Hello, world!");
}

int main()
{
HelloImGui::Run(Gui);
}
6 changes: 6 additions & 0 deletions bindings/imgui_bundle/demos_python/sandbox/sandbox_tmp.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from imgui_bundle import imgui, hello_imgui

def gui():
imgui.text("Hello, world!")

hello_imgui.run(gui)

0 comments on commit 14602e6

Please sign in to comment.