So, I did not go to the forum much time and was very surprised by how many ideas were voiced about my topic. As it turned out, this issue is very interesting for programmers on FPC.
I hope, here we discuss the conceptual questions of how the future framework will look on Lazarus / FPC.
Gentlemen, how do you see the method of drawing UI? I think we should not do it like the others do. We must come up with something of our own. Something that should be very fast, should be easily customizable to the needs of the graphic designer, should be understandable and freely distributed.
Given my knowledge of programming, I think there are several options:
- Drawing elements and controls using DirectX / OpenGL. Fast and modern. But the GPU will be loaded, not the CPU. In addition, you will need bindings to libraries (such as ZenGL, for example) and a lot of new code. A lot of code, very much.
- Drawing elements and controls using GDI. Old and, moreover, very inhibited method. It has one plus - it's much easier to do using standard drawing tools, such as Canvas. But with a complex interface, the performance will fall dramatically, I guarantee this.
- CSS & HTML + JS. In fact - again dirty copying from Electron.