Note: Using ImGui v1.89.9 (2023/09) https://github.com/dinau/nimgl-imgui
forked from https://github.com/daniel-j/nimgl-imgui .
-
nim-2.2.4 or later
-
OS: Windows10 or later
-
Download
$ git clone https://github.com/dinau/nimgl_test $ cd nimgl_test
-
For Linux Debian13 or later
$ sudo apt install libopengl-dev libgl1-mesa-dev libglfw3-dev $ sudo apt install libxcursor-dev libx11-dev libxext-dev libxinerama-dev libxi-dev
$ pwd
nimgl_test
$ nimble build
$ pwd
nimgl_test
$ cd examples/glfw_opengl3
$ make run
$ pwd
nimgl_test
$ cd examples/glfw_opengl3_image_load
$ make run
$ pwd
nimgl_test
$ cd examples/glfw_opengl3_implot
$ make run
$ pwd
nimgl_test
cd examples/imDrawListParty
$ make run
ImDrawList coding party - deadline Nov 30, 2020! #3606
This demo has been converted to Nim lang from two programs,
Curve
and Real-time visualization of the interweb blogosphere.
ImPlot demo with Japanese fonts
$ pwd
nimgl_test
$ cd examples/implot_jp
$ make run
$ pwd
nimgl_test
$ cd examples/jpfont
$ make run
- Download: Windows10 sample exe file
nimgl-test-jp-font-imgui-v1.84.2-ime-ok-2023-07.exe.7z
以下のNim言語コンパイル / リンク時オプションを加えることで日本語入力を可能としている
オプションはバックエンドのC/C++コンパイラにのみ渡される
--passc:"-DIMGUI_ENABLE_WIN32_DEFAULT_IME_FUNCTIONS"
--passL:"-limm32"
同じことをconfig.nims内に記述する場合は以下となる
switch "passC","-DIMGUI_ENABLE_WIN32_DEFAULT_IME_FUNCTIONS"
switch "passL","-limm32"
Dear ImGuiで日本語入力時のIMEの位置をいい感じにする
Viewport, Platform: Fixed IME positioning for multi-viewport. Moved API from...
ImGui で日本語と記号♥と絵文字😺の表示
- Windows
- Nim Compiler Version 2.2.4
- gcc.exe 15.2.0
- git version 2.46.0.windows.1
- make: GNU Make 4.4.1
Language | Project | |
---|---|---|
Lua | Script | LuaJITImGui |
NeLua | Compiler | NeLuaImGui, NeLuaImGui2 |
Nim | Compiler | ImGuin, Nimgl_test, Nim_implot |
Python | Script | DearPyGui for 32bit WindowsOS Binary |
Ruby | Script | igRuby_Examples |
Zig, C lang. | Compiler | Dear_Bindings_Build |
Zig | Compiler | ImGuinZ |
Language | SDL | Project | |
---|---|---|---|
LuaJIT | Script | SDL2 | LuaJIT-Platformer |
Nelua | Compiler | SDL2 | NeLua-Platformer |
Nim | Compiler | SDL3 / SDL2 | Nim-Platformer-sdl2/ Nim-Platformer-sdl3 |
Ruby | Script | SDL3 | Ruby-Platformer |
Zig | Compiler | SDL3 / SDL2 | Zig-Platformer |