I am developing a C ++ application that will run on a headless server and track some statistics. The application will work in the terminal in a screen session so that I can log in via SSH and check these statistics.
Now, what I want to do is display graphs of various data. To do this, of course, I need pixel-to-pixel access, which is not possible with ncurses or S-Lang. I learned about DirectFB (and these are C ++ DFB ++ and ++ DFB wrappers), but cannot find any convincing evidence if you can draw graphics with it inside the terminal.
Is there a directfb way? Will it work fine in a screen session without creating additional windows? If not, is there a library there that can achieve what I want?
Edit: Ideally, I would certainly prefer a library with widget support, so I don't need to create tons of classes to emulate text fields / scrollbars / ...
Darhuuk
source share