Skip to content

dinau/neluaImGui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeluaImGui

ImGui / CImGui with NeLua language

My experiment project for NeLua and ImGui / CImGui libraries.

Now work in progress.

ImGui / CImGui 1.91.4

Prerequisites


  • Install MSys2/MinGW (Windows OS)

  • Install NeLua

  • Windows OS 10 or later

    1. Install libraries

      pacman -S mingw-w64-x86_64-{glfw,pkgconf,SDL2,SDL2_image}
  • Linux mint 22 ( or Ubuntu / Debian families ?)

    1. Install libraries

      $ sudo apt install xorg-dev libopengl-dev libgl1-mesa-dev

      and for glfw3 and sdl2,

      $ sudo apt install libglfw3 libglfw3-dev
      $ sudo apt install libsdl2-dev
  • Other tools

    pacman -S make

Build and run


  1. Download this project.

    git clone --recurse-submodules https://github.com/dinau/neluaImGui
  2. Go to one of the examples folder,

    cd neluaImGui/examples/glfw_opengl3
  3. Build and run

    make run 

Examples


glfw_opengl3, sdl2_opengl3

glfw_opengl3.nelua, sdl2_opengl3.nelua

  1. Icon fonts

  2. Image loader and saving [jpg, bmp, png, tga]

  3. Magnifying glass

  4. glfw_opengl3: Static link 1

  5. sdl2_opengl3: Dynamic link

    glfw_opengl3.png

iconFontViewer

iconFontViewer.nelua

  1. Icon fonts

  2. Magnifying glass

  3. Static link 1

    iconFontViewer.png

glfw_opengl3_jp

Showing multibyte fonts(UTF-8, CJK fonts) and IME(Input method)

glfw_opengl3_jp.nelua

glfw_opengl3_jp.png

SDL2 / GLFW / STB headers for Nelua


These header files libs/nelua/glfw, libs/nelua/sdl2, libs/nelua/stb have thankfully been copied form nelua-decl libraries project.

My tools version


  • Nelua-0.2.0-dev
  • Gcc.exe (Rev1, Built by MSYS2 project) 14.2.0)
  • Git version 2.46.0.windows.1
  • Make: GNU Make 4.4.1

History


  • Started project at 2024/11 from NeLua-0.2.0-dev : ImGui/CImGui 1.91.4

Other ImGui / CImGui project


Language Project
Nim Compiler ImGuin, Nimgl_test, Nim_implot
Lua Script LuaJITImGui
Zig, C lang. Compiler Dear_Bindings_Build
Zig Compiler ImGuinZ
NeLua Compiler NeLuaImGui
Python Script DearPyGui for 32bit WindowsOS Binary

SDL game tutorial Platfromer project


alt

Language Project
Nim Compiler Nim-Platformer
LuaJIT Script LuaJIT-Platformer
Nelua Compiler NeLua-Platformer
Zig Compiler Zig-Platformer

Footnotes

  1. Only Windows executables (without .dll dependencies) 2

About

ImGui / CImGui with NeLua language

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages