-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Welcome to the LibUI wiki!
The functionality made available by kojix2' libui-wrapper (through fiddle) is slowly shown under:
https://github.com/kojix2/LibUI/tree/main/examples2
These include standalone, and ideally documented, examples.
For the larger widget-ranging examples, have a look at kojix2' code here at:
https://github.com/kojix2/LibUI/tree/main/examples
The latter directory includes examples that handle pointers and protecting against segfaults, such as the histogram example (see Fiddle::Pointer.malloc used in the .rb file).
There are also a few external projects; for instance, rubio is probably one of the more well-known ones and it can be found here, including screenshots:
(1) The rubio-radio, implemented largely by kojix2 and Andy Maleh:
https://github.com/kojix2/rubio-radio
(2) A "prototypic" simple-calculator in LibUI (not fully finished yet) by shevy, via the (yet-to-be-released) widgets project (which includes a LibUI component-wrapper) - not very pretty, but the code is very simple and it works on windows as well \o/:
https://i.imgur.com/HmIqGiN.png
Also consider having a look as to kojix2' crystal-wrapper for LibUI, which includes a slightly more sophisticated API, in particular in regards to Tables:
https://github.com/kojix2/uing
More internal Links to the wiki here:
https://github.com/kojix2/LibUI/wiki/Use-cases-for-LibUI-and-the-Ruby-bindings-to-it