Re:Open Source .NET three years later
by ChristianGeek on Sunday December 24, 2017 @10:36AM
(#15999926)
Or, if you’re willing to pay for something closer to VS:
That's interesting. Is the code/result public in any way?
The project’s proprietary, but it was straightforward.
I’ve created a C++ *.so library that uses DRM/KMS to initialize GLES on top of hardware GPU, and exposes NanoVG’s C API. Then in C# [DllImport], and actual GUI implementation. For touch input I just read /dev/input/event0 using FileStream API.
I’ve spent about a week implementing that thing, so it’s not that hard to do.
The main downside is the lack of ClearType. On the lower level FreeType library supports that, but NanoVG doesn’t.
https://code.visualstudio.com/Download
> I don't think, you can really develop GUIs on Linux.
I can. E.g. recently I’ve picked GLES + NanoVG for the lower level of the stack, and implemented the upper levels (controls, touch input, transitions, etc.) in C#.
There’re higher-level approaches, including a couple of cross-platform ones (Gtk#, Avalonia, electron-based), I’ve picked lower-level stack because I needed to replace the whole Debian desktop including its desktop manager.