Code Monkey home page Code Monkey logo

lovely-imgui's Introduction

Lovely Imgui

LovelyImgui is a WIP immediate-mode gui written in pure Lua. It attempts to be simple, stupid and highly customizable!

Currently it doesn't support that many widgets but in the future (perhaps with support of contributors) it'll support many essential widgets and features! This limitation doesn't mean it's not fit for development - infact a complete project has been made with this GUI!!

The following screenshot can perhaps give you an idea of the number and type of widgets LI currently supports!


A demo of LovelyImgui

Here's a snippet showing a basic imgui created with Lovely-Imgui::

imgui = require 'imgui'

function love.draw()
  if imgui.button('Hello world') then
    imgui.label('You are clicking on the button!!')
  end
  imgui.draw()
end

Features of LovelyImgui

  • Bloat-Free: Unlike Slab and SUIT, LI doesn't create a whole lot of tables or garbage! This gives LI a significant performance boost compared to forementioned libraries!
  • Completely Customizable: You can change the colors or change the whole theme! Themes in LI are more like LAF in Java in the sense that themes not just define the look but also the "behaviour" - a feature you can exploit to make tweening possible in your theme!
  • Simple and Comfortable Layout System: While still in progress, LI's layout system is based on rows and is very easy to understand! Ofcourse it comes with several limitations but for the simplest GUI the layout system can be very helpful!
  • Responsiveness: Instead of talking, I guess I'll show you some GIFs:-


Documentation

Documentation will be live very soon once the alpha version is released! Curious souls can study the examples to learn how the library works!

Contribution

Making a GUI is easy! Making a reusable GUI is hard and by hard I mean really hard! There's currently a lot of stuff that I can't figure out (such as menu-bars, combo-boxes, windows, etc) so definitely I need some help. (And by help I mean "contribution" just so you don't get the wrong idea 😆)

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.