Skip to content

mupen64/ugui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

395 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ugui

Flexible immediate-mode GUI library for Lua

🚀 Quickstart

---@module "breitbandgraphics-amalgamated"
BreitbandGraphics = dofile('breitbandgraphics-amalgamated.lua')

---@module "ugui-amalgamated"
ugui = dofile('ugui-amalgamated.lua')

That's it. Don't forget to pass an absolute path, not a relative one.

Read the demo scripts for usage examples.

✨ Features

ugui — The GUI library

Control Suite

  • button
  • textbox
  • toggle_button
  • carrousel_button
  • trackbar
  • combobox
  • listbox
    • Scrolling support
    • Unlimited items with no performance degradation
  • scrollbar
  • menu
    • Checkable items
  • spinner
    • Optional negative/positive toggle
  • numberbox
  • tabcontrol
  • joystick
    • Adjustable magnitude circle

Rendering

Can render using a built-in Windows 10-like style, or with ninesliced images.

Depends on BreitbandGraphics for rendering.

Hackability

Any part of the library can be overwritten externally. Future compatibility not guaranteed.

BreitbandGraphics — The rendering abstraction

Backends

Built-in backend for the Mupen64 emulator.

Utilities

Provides various utilities for color conversion and manipulation.

About

Flexible immediate-mode Lua GUI library

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors