Re:Show HN: Lite – A small, fast text editor
by frank2 on Saturday May 09, 2020 @07:03PM
(#23128960)
Interesting. Do you know any software whose source code is available that uses such an abstraction to paint the screen?
[ Parent
| on HN ]
Re:Show HN: Lite – A small, fast text editor
by c-smile on Saturday May 09, 2020 @07:16PM
(#23129024)
Any classic Windows, MacOS or GTK application does that.
Check https://docs.microsoft.com/en-us/windows/win32/learnwin32/pa...
If your question is about unified wrapper for multiple platforms then wxWidgets will qualify : https://wiki.wxwidgets.org/Painting_your_custom_control
As my Sciter where I wrapped Direct2D/DirectX, Skia/OpenGL, CoreGraphics, Cairo, GDI+ into class graphics abstraction so rest of code is isolated from particular paltform/backend used: https://github.com/c-smile/sciter-sdk/blob/master/include/be...