Kwinacqua_Mod

KDE 3.x Window Decorations

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

0
5 .0
Description:

11/04/2002:

A few new alterations (See screenshoot 2)

1) The right hand button has now been made wider.

2) The title bar font now has a subtle drop shadow

3) You can choose if you want the bottom edges rounded (Edit the acqua/Acqua.cpp file, and alter the #undef BOTTOMROUNDED to #def to enable these.)

4) The edge of the window is not black, it is now grey, which makes it softer.

Were looking into ways of making this deco have some form of transparency when inactive.... Any ideas and sugestions will be very much appreciated! Please post them here if you do.

PS: If you wish to use the deco from screenshot 1, please download from: http://www.thormedia.co.uk/linux/decorations/kwinaqua_mod.tgz

10/23/2002:

This decoration was initially created by Mr. James Liu, and has been modifed by M.J.Soto.

This version has all corners rounded, and the Close, Min, Max buttons are located on the left side of the window. Also the GTK mouse pointer bug has now been fixed.

Please read the following carefully to install (Tried and tested on SuSE 8.1, with KDE 3.0.4 and QT-3.0.5):

1) Download and extract the decoration
2) CD in to the kwinacqua_mod directory
3) ./configure --prefix=/opt/kde3 --includedir=/opt/kde3/include --with-qt-includes=/usr/lib/qt-3.0.5/include/ --with-qt-libraries=/usr/lib/qt-3.0.5/lib --with-extra-includes=/opt/kde3/include

(NB: Those are the ones working on SuSE 8.1. Set the above to the correct locations of KDE headers an QT, and NOT as root, just user)

4) cd acqua/
5) rm *.moc
6) for i in *.h; do moc -o `basename $i .h`.moc $i; done
6) edit the Makefile
7) replace ALL instances of kde2 with kde3
8) save out the Makefile
9) make (as user)
10) su (this will then prompt you for root password)
11) make install
12) exit

You should now be back to normal user, exit again, and restart KDE.

When restarted, goto Control Center -> Look and Feel -> Windows Decoration, and choose Acqua.

Enjoy!

DecayingOmega

17 years ago

checking for Qt... libraries /usr/lib/qt-3.1.1/lib, headers /usr/lib/qt-3.1.1/include/ using -mt
checking for moc... not found
configure: error: No Qt meta object compiler (moc) found!
Please check whether you installed Qt correctly.
You need to have a running moc binary.
configure tried to run and the test didn't
succeed. If configure shouldn't have tried this one, set
the environment variable MOC to the right one before running
configure.

What does this mean? Ive never seen this before, and no searches to google helped at all.

Report

gnatman

17 years ago

I have the same problem of it not finding moc, but its located in /usr/lib/qt3/bin, you said it might not be in the right path, so where would that be?

Report

soto

17 years ago

I didn't see your mail! it probably means you didn't install qt-devel, or that moc is not in your path. You can check with

find / -name moc, and see what happens...

See ya

Report

tightcode

17 years ago

I have the exact same problem as DecayOmega :(
Any suggestions anyone ?

Cheers,

Tightcode

Report

rgnglzrd67

17 years ago

All this compiling is rather unnecessary. Take a look at KDE3's theme manager and I think you'll find a button there labeled "Create" which does just what it should: it creates a ktheme package for KDE3! Could someone try this and see how it works as compiling GRAPHICS seems a little silly to me.

Report

soto

17 years ago

For one thing, you can try to make round corners with pixmaps and see what happens. That's why a theme as in "KDE3 theme manager" won't work.

On the other hand, you don't compile graphics, you compile code which in turn, draws graphics on your screen. Actually, this is not the whole truth, but you get the gist.

If, however, you have any other suggestions to improve this (or any) window decoration or widget style, I (and others) will be glad to hear about it.

Report

soto

17 years ago

We would welcome any contributions, ideas, test-code, etc. on the following topics:

1) Transparent titleblars. Real one, not masking.

2) Drawing shadows outside windows, that is, shadows on desktop.

3) Any other suggestions to make it look macosx-ish.

Report

mrcsparker

17 years ago

Wait until XF86 supports transparency. If someone hacks fake transparency it will be just that - a hack.

Report

C

thormedia

17 years ago

lmfao ;-)

Report

nenam

17 years ago

with all previous kwins I was able to specify custom button positions(I am not a big fan of the left only positions) and I had my buttins on the right and my menu button the only thing on the left. now with the new kwin_mod I can't do that anymore I tried going through the source to find if I can switch the aligment through there but I didn't find it(i wasn't actualy looking into the code I was greping :) ). So if anyone can tellme how to fix this annoyance I would apreciate it alot.

Report

soto

17 years ago

grep for "XIA". Comment out XIA line. Comment in line above. compile. install. logout. login.
Test. Shake well. Serve cold.

I did disable because Kwin tends to crash on me when active.


Report

C

thormedia

17 years ago

anonoying... it's ment to look OS X ish...

Ok, there maybe a config file shortly so you can alter the layout... but for that you will have to wait im afraid...

We've got a switch in the source (not uploaded yet) that does the small circle right hand button, or the default wide one.

Also there is a stipple on inactive windows, giveing a similar look to ACE, but faster (But still slow lol, if u see what I mean!)... there should be another update in a few days.... :-)

Report

ddaux

17 years ago

Hey, I tried to configure under FreeBSD 4.7 (qt 3.0.5 is installed)!
/configure --prefix=/usr/local \
--with-qt-includes=/usr/X11R6/include --with-extra-lib=/usr/local/lib \
--with-extra-include=/usr/local/include

This is the end of the output:
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

Here is the end output of config.log:
taking that
tried NO
tried /usr/lib/qt2/lib
tried /usr/lib/qt2
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
tried /usr/lib
tried /usr/local/qt/lib
tried /usr/X11R6/lib
configure:5459: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions -fno-check-new -I/usr/X11R6/include -I/usr/X11R6/include -LNONE -L/usr/X11R6/lib -L/usr/local/lib conftest.C -lqt2 -ljpeg -lXext -lX11 -lSM -lICE 1>&5
/usr/libexec/elf/ld: cannot find -lqt2
configure: failed program was:
#include "confdefs.h"
#include
#include
#include
#include
#include
#include
#if ! (QT_VERSION >= 222)
#error 1
#endif

int main() {
QStringList *t = new QStringList();
QIconView iv(0);
iv.setWordWrapIconText(false);
QString s;
s.setLatin1("Elvis is alive", 14);
int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
return 0;
}

PLEASE HELP

Report

nenam

17 years ago

At the end of all the options that you are told to do add --enable-mt and that will fix your problem. :).

Report

ddaux

17 years ago

Thanks for helping but it still doesn't work with --enable-mt this is the output:

configure: warning: MT not yet supported on i386-unknown-freebsd4.7 - disabled.
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

Report

ASpirit

17 years ago

I like a lot that window decoration, but i recently changed my KDE style to something darker... and i have to say that this WHITE window decoration isn't ok for dark colors.
So maybe you would be able to make color changes available on it...

Otherwise, good job ! ;o)

Report

manor

17 years ago

As an option would be fine.

Report

manor

17 years ago

Looks great thormedia !!!

I prefer the smaller right hand, but i want to keep your improvements (softer edge, shadowed text). So how can i use it with the old style right button ?

I tried to exchange AcquaButtonMenu.cpp with the one from the version before. The result is i have the old style right button for the active Window and a corrupted square without button for the inactive Window. I also copied the inactive.xpm to menu_inactive.xpm.

Would you help me please ?

Report

soto

17 years ago

I sent new code to thormedia with an option to keep the old menu button. It'll make its way in a couple of days. Also it includes "poor man's transparency" by removing 1 out of every 2 pixels in the title bar.

You'll get options editing "FEATURES.h". (This idea is stolen from the ACE version). When I have time to steal more code, I'll add it as a configurable option.

Any Volunteers for cooking up a kcm-module?

Report

C

thormedia

17 years ago

I will talk with Soto and will see if we can have this as an option... Leave it with me.

Report

arnonmoscona

17 years ago

Could not build on RedHat 8:

./Makefile.am:3: EXTRA_DIST multiply defined in condition TRUE

EXTRA_DIST (User, where = ./Makefile.am:3) =
{
TRUE => AUTHORS COPYING ChangeLog INSTALL README TODO
}
make: *** [Makefile.in] Error 1

make again...

aclocal.m4:2509: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/functions.m4:1053: AM_FUNC_OBSTACK is expanded from...
aclocal.m4:2509: the top level
make: *** [configure] Error 1

Report

soto

17 years ago

I compiled it on RH 8. Did you ./configure ?

Report

arnonmoscona

17 years ago

I've had this or a similar problem with several other builds that I downloaded from kde-look (but not all).

I think I have some problem with the version of some library or tool or something...

Report

MrMaire

18 years ago

Para cuando lo tendremos que funcione con Slackware?

Report

soto

17 years ago

Esta decoraci

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
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
updated Nov 04 2002
added Oct 22 2002
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags linux unix