- Nov 29, 1999
- 16,408
- 57
- 91
I have a lot of custom cross-platform C and C++ libraries that perform some image generation and manipulation. Currently, I have a small exe that just dumps the resultant images to an image buffer on a dedicated display card and monitor for viewing.
The code is fast enough that I can generate images at ~60Hz, giving me essentially full-motion video on that display. Works well in Windows and Linux.
If I wanted to spiff this code up and display these images inside a Window on the host OS (rather than requiring separate display hardware), maybe with some GUI controls (widgets/radio buttons/etc) to set the C libraries' function parameters, what are my fast options?
A dedicated toolkit, like Qt or GTK just seems like overkill. I like the idea of something like Electron, but it seems I'd have to create extensive wrappers around my libraries for this to work? This seems true for a lot of non-C options (Java Swing, etc.)
I'm not a GUI programmer (obviously,) so I'm not even sure where to start looking. I assume "Cross-platform GUI w/ C bindings?"
The code is fast enough that I can generate images at ~60Hz, giving me essentially full-motion video on that display. Works well in Windows and Linux.
If I wanted to spiff this code up and display these images inside a Window on the host OS (rather than requiring separate display hardware), maybe with some GUI controls (widgets/radio buttons/etc) to set the C libraries' function parameters, what are my fast options?
A dedicated toolkit, like Qt or GTK just seems like overkill. I like the idea of something like Electron, but it seems I'd have to create extensive wrappers around my libraries for this to work? This seems true for a lot of non-C options (Java Swing, etc.)
I'm not a GUI programmer (obviously,) so I'm not even sure where to start looking. I assume "Cross-platform GUI w/ C bindings?"