elena-lang
elena-lang copied to clipboard
GUI markup script / library
A new UI library to be similar to .NET WPF
It will use DirectX for Windows version and potentially OpenGL for Linux
The DX or OpenGL will be used to drawn buttons, menus, textbox and etc ?
yes, exactly like in WPF.
I see... This will be really interesting!! I'm ready to help with whatever is possible
This can be usefull: http://www.chadvernon.com/blog/resources/managed-directx-2/creating-a-gui-part-1/
Yes, I have seen it. Unfortunately it is in C#, I need native library. I found this - https://github.com/Microsoft/DirectX-Graphics-Samples
Oh.... ok, I found this: https://github.com/ocornut/imgui
thanks, I will look
Will the system support something like XAML?
Yes, I started this exactly for that reason: declarative UI
I see... Will be interesting...
<button>
<text>Click-me</text>
<event>{{ call elena method }}</event>
</button>
The event part will be interesting.... will be used something like the ecode ? Or will be possible to call a method directly ?
It will use ELENA Script Engine. So for the dynamic version it will create a dynamic tape, for the static one it will compile it directly