hugoamnov
Joined 11 years ago
Joined 11 years ago
Framerates are much better in the non-web version somehow: I suspect some unnecessary texture sampling ops are to blame, but I need to investigate.
Resizing the window to a smaller helps greatly improve the framerate, which tends to show that the bottleneck is in the fragment shaders.
But it's also not so thin, you are right :)
It has also been completely revamped, and now follows an immediate/declarative paradigm that makes it much more straightforward to use, while still being entirely stylable and auto-layout.
The rest are new components I developed and refined in the mean time!
You don't specify any absolute measurement when using kiUi from C++.
The whole point is to get rid of them. They are calculated under the hood.
The style gives the necessary hints. And this is done in a way entirely separate from the UI code itself.
Think of the C++ code doing what is regularly done in both HTML and Javascript, and the kiUi style sheet as what is regularly done in CSS.