Acqua with Dropshadows - l3m flavoured

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:

This is a modification of the kwinacquamod with dropshadows...

i added the goodies from my former kwinacqua mod:

- correct buttons and button placements
- grey inactive titlebars

and i added these configuration options:

- shadowed titlebar text is now optional
- you can choose between
-- no right button
-- a menu button
-- a context-help button

(just look at screenshot 1 :) )

I also changed the name of the lib, so you can install mine and another kwinacqua without any problems....

Installing:

$ ./configure [ options ]
$ make
# make install

for debian users, there's an install script which sets all the correct configure options, so it's only:
$ ./build-debian.sh
# make install

Thanks to the apple designers and all the people who worked on this theme:
- rik hemsley
- m.j.soto
- thormedia
- noonespecial
- david sansome
- l3m ( me )
Last changelog:

17 years ago

New configuration option:
- "borderless" mode
( check screenshot 2 )

New configuration option:
- "light inactive style", inactive title bar is not darkened
...done upon request from here, but it looks so cool, it's now default :)
you can see the effect on screenshot 3 - doesn't look like much, but try it out! You'll be surprised!

Bugfix:
- icon doesn't get drawn behind buttons if the window-width is too small

rhorn

17 years ago

I sent you an email about this already, but figured I should post it here as well.

There's a bug in your shadows whenever a window loses focus, but stays on top. The shadow of windows below it will still show all the way around a window, even if windows on top of it would cover those parts of the shadow.

Also, the shadows don't go away with popup taskbars.

Report

SynTruth

17 years ago

I can confirm this bug -- actually, it looks kinda cool in it's own way. It shows the edge of the "lower" window without distracting from the "raised" window.

I recreated this like this: Open Window A, then Window B overlapping it, middle-click on Window A's titlebard -- instant shadow slicing through Window B.

On a side note, I got this to compile just fine with QT3.0. I had to hack your configure script (change kde_qtsubver to 0) by hand, but well worth the effort of doing so. Great work!

Report

yupper3d

17 years ago

Hmm, the hack to the configure script works to be able to run ./configure successfully but when I try to "make" it complains with this error:

AcquaConfig.moc:17:2: #error "This file was generated using the moc from 3.1.1. It"
AcquaConfig.moc:18:2: #error "cannot be used with the include files from this version of Qt."
AcquaConfig.moc:19:2: #error "(The moc has changed too much.)"
In file included from AcquaConfig.cpp:220:
AcquaConfig.moc:127: no `bool AcquaConfig::qt_static_property(QObject*, int, int, QVariant*)' member function declared in class `AcquaConfig'
AcquaConfig.moc: In function `void __static_initialization_and_destruction_0(int, int)':
AcquaConfig.moc:28: no matching function for call to `QMetaObjectCleanUp::QMetaObjectCleanUp(const char[12], QMetaObject*(*)())'
/usr/lib/qt3/include/qmetaobject.h:243: candidates are: QMetaObjectCleanUp::QMetaObjectCleanUp(const QMetaObjectCleanUp&)
/usr/lib/qt3/include/qmetaobject.h:245: QMetaObjectCleanUp::QMetaObjectCleanUp()
make[3]: *** [AcquaConfig.lo] Error 1
make[3]: Leaving directory `/home/enrique/Documents/EyeCandy/kwinaquamod_shadows/kwinacqua/acqua/config'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/enrique/Documents/EyeCandy/kwinaquamod_shadows/kwinacqua/acqua'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/enrique/Documents/EyeCandy/kwinaquamod_shadows/kwinacqua'
make: *** [all] Error 2



Any ideas?

Report

C

l3m

17 years ago

i noticed it too. as i wrote in the description, this is only a hack of the other kwinacqua theme, most of the code was done by other people ( read the README ). i'm trying to fix it (because this is also why inactive windows can't have dropshadows, if this problem could be solved, ALL windows could have dropshadows). But for it to work, a lot of the dropshadow code has to be rewritten, and i'm no expert in X programming..
:(

Report

fivetoes

17 years ago

I have messed around with the shadows and came up with two ways it could be done.
1) Add the blended pixmap to the edge of the window using the layout and altering the repaint function. This works but the grabbed pixmap has to be slightly offset which makes it look a little ugly. :(
2) Make the shadow QWidgets have the window as a parent. This hopefully should make them follow the parents positions in the window stack correctly. The problem here is that I can't currently make a child appear outside of the main widget without crashing kwin.

Report

C

l3m

17 years ago

# apt-get install libqt3-dev libqt3-compat-headers libqt3-mt-dev

this should solve the problem - if not, feel free to mail me :)
( l3m at l3m.org )

Report

chmod666

17 years ago

...but, it'd be nice if the shadow actually picked up WM border shape and appeared accordingly, i.e. curved shadow. Nice work!

Report

Goamaus

17 years ago

thank you :)

Report

Goamaus

17 years ago

here is what I get:

Good - your configure finished. Start make now

make all-recursive
make[1]: Entering directory `/home/knoppix/tmp/kwinacqua'
Making all in acqua
make[2]: Entering directory `/home/knoppix/tmp/kwinacqua/acqua'
Making all in config
make[3]: Entering directory `/home/knoppix/tmp/kwinacqua/acqua/config'
/usr/lib/qt3/bin/moc ./AcquaConfig.h -o AcquaConfig.moc
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/include/qt3 -I/usr/X11R6/include -I/usr/include/kde/kwin -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT AcquaConfig.lo -MD -MP -MF ".deps/AcquaConfig.Tpo" \
-c -o AcquaConfig.lo `test -f 'AcquaConfig.cpp' || echo './'`AcquaConfig.cpp; \
then mv ".deps/AcquaConfig.Tpo" ".deps/AcquaConfig.Plo"; \
else rm -f ".deps/AcquaConfig.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o libkwinacqual3m_config.la.closure libkwinacqual3m_config_la_closure.lo -L/usr/X11R6/lib -L/usr/lib/qt3 -L/usr/lib -avoid-version -module -no-undefined -R /usr/lib -R /usr/lib/qt3 -R /usr/X11R6/lib AcquaConfig.lo /usr/lib/kwin.la
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o libkwinacqual3m_config.la -rpath /usr/lib/kde3 -L/usr/X11R6/lib -L/usr/lib/qt3 -L/usr/lib -avoid-version -module -no-undefined -R /usr/lib -R /usr/lib/qt3 -R /usr/X11R6/lib AcquaConfig.lo /usr/lib/kwin.la
make[3]: Leaving directory `/home/knoppix/tmp/kwinacqua/acqua/config'
make[3]: Entering directory `/home/knoppix/tmp/kwinacqua/acqua'
/usr/lib/qt3/bin/moc ./Acqua.h -o Acqua.moc
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/include/qt3 -I/usr/X11R6/include -I/usr/include/kde/kwin -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT Acqua.lo -MD -MP -MF ".deps/Acqua.Tpo" \
-c -o Acqua.lo `test -f 'Acqua.cpp' || echo './'`Acqua.cpp; \
then mv ".deps/Acqua.Tpo" ".deps/Acqua.Plo"; \
else rm -f ".deps/Acqua.Tpo"; exit 1; \
fi
In file included from Acqua.cpp:40:
Acqua.h:25:19: qlist.h: No such file or directory
Acqua.cpp: In member function `virtual void
KWinInternal::Acqua::stickyChange(bool)':
Acqua.cpp:422: warning: unused parameter `bool b'
make[3]: *** [Acqua.lo] Fehler 1
make[3]: Leaving directory `/home/knoppix/tmp/kwinacqua/acqua'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/knoppix/tmp/kwinacqua/acqua'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/knoppix/tmp/kwinacqua'
make: *** [all] Fehler 2

----------------------

Any ideas?

Greetz,
GM

Report

echobucket

17 years ago

I get the same thing.. There isn't a qlist.h in libqt3-mt-dev in debian. And libqt3-dev conflicts with libqt3-mt-dev

Any ideas?

In file included from Acqua.cpp:40:
Acqua.h:25:19: qlist.h: No such file or directory
Acqua.cpp: In member function `virtual void
KWinInternal::Acqua::stickyChange(bool)':
Acqua.cpp:430: warning: unused parameter `bool b'
make[3]: *** [Acqua.lo] Error 1
make[3]: Leaving directory `/home/echo/src/kwinacqua/acqua'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/echo/src/kwinacqua/acqua'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/echo/src/kwinacqua'
make: *** [all] Error 2

Report

triptol

17 years ago

Specify:

./configure --prefix=/usr --with-qt-includes=/usr/include/qt3

Oh, and make sure you have the qt-compatabiltiy package installed (forgot the right name, but you will be able to aptitude/dselect it)

Report

C

l3m

17 years ago

#apt-get install libqt3-compat-headers

Report

babar

17 years ago

Hi,
i have a compilation problem on debian :

checking sizeof size_t == sizeof unsigned long... no
configure: error:
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
does not apply. Please mail kde-devel@kde.org with a description of your system!

Report

WhitePanther5000

17 years ago

Hey, I have seen transparent panels in various screenshots and was just wondering where to get it? I haven't found it on google. I was thinking about looking to see the possibility of making it have rounded edges to match my self-patched acqua window decor.

Report

C

l3m

17 years ago

the transparent panel will be in kde3.2.
it's already in the cvs (developer/unstable) version, which i use...

Report

17 years ago

New configuration option:
- "borderless" mode
( check screenshot 2 )

New configuration option:
- "light inactive style", inactive title bar is not darkened
...done upon request from here, but it looks so cool, it's now default :)
you can see the effect on screenshot 3 - doesn't look like much, but try it out! You'll be surprised!

Bugfix:
- icon doesn't get drawn behind buttons if the window-width is too small

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 Feb 22 2003
added Feb 21 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags linux unix