Coder Social home page Coder Social logo

andrewhazelden / luajit-imgui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sonoro1234/luajit-imgui

0.0 1.0 0.0 1003 KB

LuaJIT ffi binding for imgui, backends and extension widgets

License: MIT License

Shell 0.01% C++ 4.53% C 0.36% Lua 94.57% CMake 0.45% Batchfile 0.07%

luajit-imgui's Introduction

LuaJIT-ImGui

sample

This is a LuaJIT binding for the excellent C++ intermediate gui imgui. Uses cimgui to be the most "up to date" as possible.

Notes:

  • currently this wrapper is based on version [1.88 docking of imgui]

cloning

Remember to do a recursive cloning of the repo to pull submodules also.

git clone --recurse-submodules https://github.com/sonoro1234/LuaJIT-ImGui.git

If already cloned and updating do from this repo folder:

git submodule update --init --recursive

compiling

  • linux cimgui_sdl (for love2d for example) needs: sudo apt install libsdl2-dev
  • run one of the scripts in the build directory from a sibling folder to the repo. If you want to install, (recomended) add this -DLUAJIT_BIN="folder where LuaJIT is" to the cmake command.
  • make (or make install).
  • If you didnt install in LuaJIT directory, set basedir variable in imgui.lua to the directory libimgui is found.
  • Alternatively you can build https://github.com/sonoro1234/anima which includes LuaJIT-ImGui and dependencies.

trying

binding generation

  • if cimgui is updated the binding can be remade with ./lua/build.bat

used in

luajit-imgui's People

Contributors

sneusse avatar sonoro1234 avatar the-fyp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.