Originally posted by GreySim@Oct 4 2003, 01:55 AM:woot:
That program of yours looks nice, richardve. I've been thinking about how to go about writing a program like that myself...
What exactly is it for though? I mean, what GUI does it(/will it) make widgets for? GTK? QT? If your program covers GTK and Metacity, I can stop making my brain hurt figuring out how to go about making such a program.
Thanks ![]()
Well, lets start with some history; last year, I wanted to create a complete widget style + windec for GNOME2. I found it was very hard to do, and thought it could be much much much easier (looking up style properties for the Gtk pixmap engine is not a nice thing to spend your time with).
At that time, I was also trying to learn Gtk+ (and other GNOME API's), so it was a nice way to bring that knowledge into practice. The result was UniTheme.
However, because I got less free time to spend after that and I sort of lost interest in the GNOME-like API's, I decided to put the project in my virtual refrigerator for a while.
Though I used to be a GNOME(2)-man (and still am), my interest in KDE had been awoken once again, which also made me do some experiments with Qt and the KDE API's (once again, I had used Qt before I became a GNOME(2)-man, but it sucked quite badly at that time (KDE-1/2 period)).
Anyway, because I'm now using Qt instead, I've renamed the program to 'Appearance'.
It may get renamed back to UniTheme some time in the future, but I actually like the current name better. I guess it will all depend on what the people out there think about these names ![]()
And yes, it was and still is meant to provide a cross desktop solution (the program uses Qt only, extensions for integration with both GNOME/KDE will be optional, like support for native file dialogs, etc). That is; a very easy way to theme/skin Gtk+ 2.x, Metacity, Qt 3.x/4.x, KWin and perhaps some time in the very far future: Wine (uxTheme), Mozilla/XUL and other themable toolkits.
I've also become a bit more wise now, and decided that all of this should be implemented as a library or daemon (like Windows XP, which uses a service for the theming stuff) so resources can be kept as low as possible (ie. using shared pixmaps across multiple toolkits/desktops, or perhaps by letting X or Cairo or DirectFB draw into a given window instead of letting a toolkit query for pixmaps (which is slower because it requires an extra copy operation and less possible acceleration using video hardware)).
This standard could be comitted to freedesktop.org, but all that is very far away from today, so don't get too excited yet ![]()
What I'm trying to achieve with this program is to make theming for the Linux desktop even easier than it currently is on Windows (using programs like Style Builder) by making it more WYSIWYG-like.
Example: using Style Builder you can't interactively modify those image margins (have to use some numeric input fields for that) - using Appearance you will be able to do that interactively by dragging around a few slice handles (and using the input fields, for more precision, of course)).
I'm also hoping to attract some of the better Windows/Mac artists/porters so we Linux users can enjoy all those nice and professional looking styles as well. :naughty:
Well, hope that's enough information for now ![]()
And sorry for the long offtopic post :joystick:
btw. There's one very big issue left; I still haven't told the guys at gnomesupport.org about this renewed version of UniTheme (basically because I'm a bit affraid of the replies I could receive for using Qt instead of Gtk)).
Personally, I don't really care anymore if it's Qt or Gtk, Qt fits my preferences better (because I love C++ and dislike GTK/GNOME-style C) and in the future you won't see the difference anyway (all using the same style), very nice for people like me who use a mixed GTK/GNOME/Qt/KDE desktop. Now you might ask yourself the question: why? why being affraid of the replies? well.. I'm a (currently less active) moderator at those forums :goku's job: so it's a bit weird if I would start promoting a Qt program up there :6
Aqua-Soft Forums