I want to move beyond my TurboPascal program in DOS. Can I keep my character based menu (very fast, compact, and efficient with screen space) for the interface, and open a graphics window for the data graphing? KDE with Qt are daunting, while Curses is appealing. Thanks.
Anonymous wrote:
I want to move beyond my TurboPascal program in DOS. Can I keep my character based menu (very fast, compact, and efficient with screen space) for the interface, and open a graphics window for the data graphing? KDE with Qt are daunting, while Curses is appealing.
You can use curses (directly if you write an interface, or via CRT) for the character based menu, of course. Usually, graphics windows can be used independent of curses windows, but I haven't tried it myself. For a simple graphics unit, you might want to look at GRX, but if you prefer another library, you can try this just as well. I'd expect to general problems.
Frank
I wrote:
You can use curses (directly if you write an interface, or via CRT) for the character based menu, of course. Usually, graphics windows can be used independent of curses windows, but I haven't tried it myself. For a simple graphics unit, you might want to look at GRX, but if you prefer another library, you can try this just as well. I'd expect to general problems.
I mean: "no general problems".
Frank
Frank Heckenbach wrote:
I wrote:
You can use curses (directly if you write an interface, or via CRT) for the character based menu, of course. Usually, graphics windows can be used independent of curses windows, but I haven't tried it myself. For a simple graphics unit, you might want to look at GRX, but if you prefer another library, you can try this just as well. I'd expect to general problems.
I mean: "no general problems".
Frank
Here is some working framebuffer graphics code.
http://www.pinenet.com/~eng/fbDraw.html
The nice formatting was lost in the HTML, and the integer variables need changing for GPC. But it works on 16bpp X 1024 X 760 Vesa framebuffer display. The JoinDisplayObjects function is used for Box and Circle construction.
It might be a fun starting point. I like the pascal readability.
Rick Engebretson wrote:
Here is some working framebuffer graphics code.
http://www.pinenet.com/~eng/fbDraw.html
The nice formatting was lost in the HTML, and the integer variables need changing for GPC. But it works on 16bpp X 1024 X 760 Vesa framebuffer display. The JoinDisplayObjects function is used for Box and Circle construction.
It might be a fun starting point. I like the pascal readability.
Ooops. That was not the latest, working version. I'll put a better copy up this evening, same URL..
Not many differences.
( The daughter had her purse stolen last night so give me some slack. )