Qbasicnews.com

Full Version: Accelera (my reeeally old GUI) and FreeBASIC...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
long ago, i wrote a GUI called Accelera. anyone remember it at all? (those who like qb45.com's board might.) well, anyway, it's a great GUI, but it's suffering badly from QB's limits. so i attempted a rewrite in C. bad choice. ok, so i tried C++ (it's got string support... yippee) ... no go. so i thought, "wait, what about FreeBASIC? well, it's only for Windows, but since it's cross-platform compatible [or it will be] i can test in Windows and then compile for DOS... yeeeah, that'll work. but wait! i'd need a cross-platform graphics library! no! Allegro is funky and slow, and SDL isn't DOS-compatible. i'm out of ideas."

needless to repeat myself, i'm out of ideas. are there any graphics libraries out there that would suit my needs? are there any currently ported to FB?

just wondering. thanks
Considering FreeBASIC doesn't compile for DOS, who gives a rat's ass if it's DOS-compatible. Big Grin
Because writing a GUI for Windows kind of defeats the purpose...
Quote:Because writing a GUI for Windows kind of defeats the purpose...
Nah, it's fun. I did that with c++ and sllegro, good practice. and I plan doin it in fb...
Quote:Allegro is funky and slow

My 486 doesn't think so.
allegro is one of the best and fastest 2d crossplatform libs around :wink:
It's not one of the fastest. But it's one of the easiest, and it's alright for a wrapper lib, I doubt a gui is going to push your computer's speed to its limits. As the headers have not been written for fb yet, though, it's not really a consideration at this point.

For FB, you gots SDL, a QB graphics wrapper library (LINE, PSET, etc) that uses SDL, you have tiny_ptc (which only puts an array of colors on the screen, but is good as an easy low-level lib) and soon you'll have GDI. It's a limited choice, but they're working on it.

OR you could be a dear and port the Allegro headers.

You know what'd be awesome, is not an FB gui, but an FB gui library, something that simplifies it down to createwidget("button") and lets you deal with it high-level.
If you thinking cross-flatform, OpenGL I think will suit your need. Not only between desktop/notebook OS, it's even supported on symbion OS.

use as low as opengl 1.1 functions call and try as minimum as possible new versions functions. It will go all around since most today display drivers support it.

my 2 cents.