At work, we're using the DataViews (DV), a propriety Data Visualization Tool Package, for realtime graphical application. This is very sophisticated tool and we have routine written in C that calls DV routines to do the followings:
1) Open DV window.
2) Pass to this C routine message, message length, text color, line #, column #, erase method, font size.
3) Erase line
4) Close DV window.
Line # and column # are chosen based on font size (If font size is big, fewer line # and column #). Erase method is an integer that tell routine whether erase current existing text line, write with new text or simply erase whatever was there on line #, column # with message length and put new text there.
Time remaining: 60
- First call to routine displaying "Time remaining" on column 1, line 3, font size 4, orange color, and erase whole line method.
- Second call to routine displaying time remaining from 60 seconds on column 17, line 3, font size 4, white color, erase what was there for 60. This erase method is to overwrite anything there.
- Subsequent call just updating the counting down time without refreshing Time remaining:
We have quite a few programs that call this C routine to display text. This is running on the Unix system more than 15 years old and we're looking for an upgrade. We're looking to go with open source graphical package running on Linux. We'd like to develop a similar C routine and accepts the same arguments.
Is there anything as close to this in GTK or other graphical package ? Thanks for anything input.