Hello
Today (2020.12.25) we have the RingLibUI extension
This extension provides complete support for the Libui library and will be part of Ring 1.14 (under development) so we can develop and distribute lightweight GUI Applications using Ring (Less than 1 MB)
Runtime files and their size
Ring.dll (448 KB)
Libui.dll (210 KB)
Ring_Libui.dll (633 KB)
Total : 1,291 KB without compressing the files
After compressing the files (To ZIP file) - Total : 504 KB
It's good for small programs (When we develop something that needs a little GUI)
Since Libui still in Alpha stage (This extension is not for large or mission critical applications - In this case use RingQt)
To install the extension use the next command
ringpm install ringlibui from ringpackages
After installing the extension, You will find the samples in ring/samples/usinglibui folder
Screen Shots:
Current Library Limitations (Remember Libui still in Alpha stage)
(1) No support for changing the window icon
(2) No support for fixed position controls
(3) No support for displaying images
Note:
This extension is not my solution for simple graphics programming that I
talked about before with Nestor, It's just another step forward where
we have another option for graphics programming that could be suitable
for some applications, maybe small applications or little experiments.
Greetings,
Mahmoud