MetaTheme

KDE 3.5 Themes

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
5.8
Description:

MetaTheme is a project dedicated to unification of appearance between different graphics toolkits (currently GTK2, QT and Java).

The program is designed as a thin layer between toolkits and theme engines, creating unified API by which each theme engine can draw. The result is that every application uses the same code for drawing, making the appearance same across different applications. MetaTheme also adjusts behaviour a bit, so the overall effect of unification is impressive.

Please see the new homepage at http://www.metatheme.org/ for more details about this project.
Last changelog:

15 years ago

Version 0.0.6 (2005/10/01)

- Styled menubar item, toolbar handle and dropdown item in MSSTYLE
- Fixed drawing of menus and progressbar in MSSTYLE
- Fixed MSSTYLE on 64-bit systems
- Added warning notice to metatheme-install script

Version 0.0.5 (2005/09/01)

- Added Highcolor/B3 theme and MSSTYLE themes loader
- Fixed checking a disabled state of buttons in Gecko-based applications
- Added ability to force MetaTheme in Java applications
- Added support for multiple toolkits in one process
- Improved look of Redmond and Plastik themes
- Styled JSplitPane
- Added basic support for Cairo
- Added support for retrieving information about widget hierarchy
- Added alpha channel to MT_IMAGE

Version 0.0.4 (2004/12/31)

- Initial support for Java/SWING toolkit
- Added three new themes: Plastik XP, Industrial and Flat
- Removed dependency on KDE
- Added ability to revert the order of dialog buttons to normal in GTK2
- Fixed invisible check and radio buttons in Konqueror
- Added basic support for customizing the appearance of texts
- Cleaned C++ binding and QT compatibility layer

Version 0.0.3 (2004/08/23)

- Added configuration tool with ability for on-the-fly switching of themes
- Made MetaTheme reentrant
- Styled toggle button in QT toolbar
- Fixed radio buttons, scrollbars and tooltips in Gecko based applications
- Improved appearance of GNOME toolbars
- Removed drawing of pointless border in Nautilus desktop window
- Other bugfixes and improvements

Version 0.0.2 (2004/07/01)

- New build system
- Fixed bad appearance in GTK 2.4 (some things not done yet)
- Fixed GtkRuler and GtkCurve widgets
- Fixed bugs in Plastik
- Styled check and radio icons in listviews
- Styled QFrame and GtkTearoffMenuItem
- Changed configuration file
- Other bugfixes and improvements

Version 0.0.1 (2004/06/01)

- Initial release.

eyecorners

16 years ago

So long I have been waiting for 0.0.3. Now I am filled with happiness. I love you jezek2!

Report

wishmaker

16 years ago

gcc 3.3.3 / qt 3.3.2 / gtk 1.2.10 & 2.4.0 /
metatheme with the scrollbar-patch
--------------------------------------------------------------
$ make

=== generating dependencies

make[1]: Entering directory `/home/wishmaker/metatheme/metatheme-0.0.1/metatheme'
gcc -MM -Wall metatheme.c > Makefile.dep
make[1]: Leaving directory `/home/wishmaker/metatheme/metatheme-0.0.1/metatheme'
make[1]: Entering directory `/home/wishmaker/metatheme/metatheme-0.0.1/toolkits'
make[2]: Entering directory `/home/wishmaker/metatheme/metatheme-0.0.1/toolkits/gtk2'
gcc -MM `pkg-config gtk+-2.0 --cflags` -Wall -ansi -I../../metatheme mt_gtk2.c mt_gtk2_style.c mt_gtk2_draw.c mt_gtk2_patches.c > Makefile.dep
make[2]: Leaving directory `/home/wishmaker/metatheme/metatheme-0.0.1/toolkits/gtk2'
make[2]: Entering directory `/home/wishmaker/metatheme/metatheme-0.0.1/toolkits/qt'
/opt/qt-3.3.0/bin/moc mt_qt.h -o mt_qt.moc
make[2]: /opt/qt-3.3.0/bin/moc: Command not found
make[2]: *** [mt_qt.moc] Error 127
make[2]: Leaving directory `/home/wishmaker/metatheme/metatheme-0.0.1/toolkits/qt'
make[1]: *** [depend] Error 2
make[1]: Leaving directory `/home/wishmaker/metatheme/metatheme-0.0.1/toolkits'
make: *** [depend] Error 2

Report

wishmaker

16 years ago

sorry, my mistake ;)
just edited config.mk, and corrected the paths. Everytihng went ok :)

Report

akincisor

16 years ago

How is this different from the gtk-qt engine (http://www.freedesktop.org/Software/gtk-qt)? I am currently using it to have consistency between the two toolkits, and it works with any theme. Please tell me what features MetaTheme has.

Report

C

jezek2

16 years ago

MetaTheme's main goal is to make full unification between all supported toolkits. The full unification means mainly two things: pixel-perfect look and the same or similiar behaviour of widgets between toolkits.

To fulfil this requirement MetaTheme provides through it's API only things that can be fully supported in all supported toolkits. Also each toolkit has a different set of widgets, so using theme engine from another toolkit is not sufficient for full unification.

At this time, MetaTheme supports only QT/KDE and GTK2 toolkits. But in future it will have support for others (like GTK1, Java, Mozilla, OpenOffice, and maybe others).

Report

nomar

16 years ago

An unified theme engine is something that has been talked about a lot but never really done. Congratulation for being the first (AFAIK) one to change that.
I'll test and perhaps join your Project as soon as I get the broken GTK2 libs on my machine fixed.

Report

elocal

16 years ago

The concept looks very nice. I was trying it earlier but it wouldn`t compile, it gave me an error while compiling:

mt_gtk2_draw.c: In function `retrieve_state':
mt_gtk2_draw.c:196: error: label at end of compound statement
mt_gtk2_draw.c: In function `draw_box':
mt_gtk2_draw.c:582: warning: the address of `draw_shadow', will always evaluate as `true'
make[2]: *** [mt_gtk2_draw.o] Error 1
make[2]: Leaving directory `/home/elocal/metatheme-0.0.1/toolkits/gtk2'
make[1]: *** [gtk2] Error 2
make[1]: Leaving directory `/home/elocal/metatheme-0.0.1/toolkits'
make: *** [toolkits] Error 2

So I removed "default:" in line 195 of toolkits/gtk2/mt_gtk2_draw.c and it compiled. But gtk2 apps don`t get theme and give an warning when runned from a terminal:

(xchat:1867): Gtk-WARNING **: /home/elocal/.metatheme/toolkits/libmt_gtk2.so: undefined symbol: _gtk_scrolled_window_get_scrollbar_spacing

QT apps seem to work fine tough.

Report

C

jezek2

16 years ago

Thanks for bug report.

Can you tell me what version of GTK and GCC do you have?

I've made a patch for the last error you mentioned. You can download it here:

http://jezek2.advel.cz/projects/metatheme/metatheme-scrollbar-spacing-fix.diff

Apply it by running this command in the metatheme directory:

patch -p1 < metatheme-scrollbar-spacing-fix.diff

Though it may not work, depending which other changes your GTK version has.

Report

elocal

16 years ago

I have GCC 3.4.0, and GTK 2.4.1. The patch you posted worked nicely, the theme applied in GTK apps well with no warnings given. The patch didn't fix the error while compiling mt_gtk2_draw.c, which was easily fixed by removing default: in line 195. Other than that it seems to work properly. Nice job.

Report

15 years ago

Version 0.0.6 (2005/10/01)

- Styled menubar item, toolbar handle and dropdown item in MSSTYLE
- Fixed drawing of menus and progressbar in MSSTYLE
- Fixed MSSTYLE on 64-bit systems
- Added warning notice to metatheme-install script

Version 0.0.5 (2005/09/01)

- Added Highcolor/B3 theme and MSSTYLE themes loader
- Fixed checking a disabled state of buttons in Gecko-based applications
- Added ability to force MetaTheme in Java applications
- Added support for multiple toolkits in one process
- Improved look of Redmond and Plastik themes
- Styled JSplitPane
- Added basic support for Cairo
- Added support for retrieving information about widget hierarchy
- Added alpha channel to MT_IMAGE

Version 0.0.4 (2004/12/31)

- Initial support for Java/SWING toolkit
- Added three new themes: Plastik XP, Industrial and Flat
- Removed dependency on KDE
- Added ability to revert the order of dialog buttons to normal in GTK2
- Fixed invisible check and radio buttons in Konqueror
- Added basic support for customizing the appearance of texts
- Cleaned C++ binding and QT compatibility layer

Version 0.0.3 (2004/08/23)

- Added configuration tool with ability for on-the-fly switching of themes
- Made MetaTheme reentrant
- Styled toggle button in QT toolbar
- Fixed radio buttons, scrollbars and tooltips in Gecko based applications
- Improved appearance of GNOME toolbars
- Removed drawing of pointless border in Nautilus desktop window
- Other bugfixes and improvements

Version 0.0.2 (2004/07/01)

- New build system
- Fixed bad appearance in GTK 2.4 (some things not done yet)
- Fixed GtkRuler and GtkCurve widgets
- Fixed bugs in Plastik
- Styled check and radio icons in listviews
- Styled QFrame and GtkTearoffMenuItem
- Changed configuration file
- Other bugfixes and improvements

Version 0.0.1 (2004/06/01)

- Initial release.

12345678910
1
product-maker LMLB Mar 23 2011 9 excellent
Be the first to comment
AngelBlue01
Mar 04 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.0.6
updated Oct 01 2005
added Jun 01 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0