Advertisement

Generic GUI/OS Interface

Started by January 05, 2001 04:15 AM
7 comments, last by KaneTHP 24 years ago
Does a generic GUI/OS library exist? Something where by using such a generic library for doing file access, GUI stuff (creating windows, icons, etc..), gathering input (via mouse, keyboard, modem, whatever) - nothing low-level, non asm, just simple, boring stuff - changing OS''s would be as simple as OS=MSWIN95; or OS=MAC; or OS=LINUX_X; or whatever and just recompile...and it would work at least 3 out of 4 times...I really don''t want to try to write my own (if I don''t have to...besides my mac/apple programming ability ranges from rusty to nil) preferably free, preferably open source... I curious for an editor I''m considering writing ( neglected post )
Not a GUI interface.. but rather a language for that:

Java

Its pretty much crossplatform to all the major ones now, and if speed isnt as much of an issue then it would make a perfect place to start developing a cross-platform app.



regards,

GeniX

www.cryo-genix.net
regards,GeniXwww.cryo-genix.net
Advertisement
Theres a few wrappers you can use like GTK
On second thoughts - I think there is a library I remember using for uni...

It came in two or three flavours - at least Linux and Windows.. maybe even Beos.

It was meant for exactly that purpose, altho im not sure what its cost is, if it has one.

The name of the library is "Qt". It is for C++ programming.

Ive just searched infoseek and altho i find lots of places where its packages can be downloaded - i havent found the URL for the website. You''ll have to do some good searching.



regards,

GeniX

www.cryo-genix.net
regards,GeniXwww.cryo-genix.net
Heh - another post by me :-)

I read about your editor idea. I had an idea of that nature which is coming to an end as soon as I can muster the effort to add the last few touches.

see:

CodePad



regards,

GeniX

www.cryo-genix.net
regards,GeniXwww.cryo-genix.net
quote:
It was meant for exactly that purpose, altho im not sure what its cost is, if it has one.


QT is great, the source code can be downloaded from Trolltech.com. It is only free (as in you don't have to pay for it) for Unix though, if you want the Windows version you can either a) pay Trolltech for their port (I think it costs a lot, like $1500) or b) port it from Unix to Windows yourself.

If you decide to use QT in your project, you'll have to release it under the GNU GPL though. If you want to make programs which uses QT but you don't want to release them under the GPL, you'll have to pay for the proffesional version).

Edited by - Muzzafarath on January 5, 2001 8:58:56 AM
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall
Advertisement
Hello,

You can always look into a TCL/TK frontend (for GUI) and C/C++ back end. I''ve had success with a crossplatform Linux and Win (whatever) using TCL/TK. There''s a few utilities that make compiling TCL/TK and C++ into one EXE easy such as mktclapp (Make TCL app) or SWIG (S? Wrapper Interface Generator).

The downside is that whether it''s Linux or Windows the user has to install the TCL/TK libraries first. (Although most linux it is installed by default). But conversly they are not huge libraries

I tried statically linking TCL/TK library into my app but with limited success.

This is of course you''ve decided you can''t use Java for whatever reason, for cross platform GUI it''s hard to find something that beats it for a general app.

HTH,
- James





This thread seems as good as any for this question;
Just out of curiosity, are there any compiler which takes Java code but generates machine code instead of bytecode? Could prove useful if you like the syntax of Java, or if you want the extra OOP features I hear Java has built in (?). Though, the whole JWM-platform-idependancy thing was sort of the goal with Java so I don''t know. Either way, it''d be neat

(I don''t know the slightest thing about Java so don''t shoot me if I said something incorrect )

"This album was written, recorded and edited at Gröndal, Stockholm in the year of 2000. At this point in time money still ruled the world. Capitalistic thoughts were wide spread. From the sky filled with the fumes of a billionarie''s cigar to the deepest abyss drenched in nuclear waste. A rich kid was a happy kid, oh..dirty, filthy times. Let this be a reminder."
- Fireside, taken from back of the Elite album
GLUT
though it''s not exactly a GUI, it gets you a window that you can render OpenGL to, in both MS & X windows.
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement