Smooth Blend

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:

Smooth Blend - a smooth blending of the window background color into the titlebar.

This is my first attempt at a KDE window decoration.
Any comments would be much appreciated and can be posted here or sent to my email.

NOTICE:
For anyone installing over the beta or 1.0 that used the rpm, be sure to remove the old one first:

rpm -e smoothblend-beta2
-or-
rpm -e smoothblend-1.0

If you get errors about an unknown signature when installing the new rpm, the rpm is signed by Scott Grayban and you should follow the directions on his rpm site to add his key http://rpm.borgnet.us/10.1/ or rpm -iUvh --nosignature smooth-blend-1.1-1bgn.i586.rpm.

If you have his key, the normal install is:
rpm -iUvh smooth-blend-1.1-1bgn.i586.rpm

For both the tarball or rpm version, you need to issue this command after you install:
kwin --replace &
or simply logout and back into kde.

Credits:
spasemunkie: for his buttons
bitwit: for his kwin_template
David Johnson: for his example kwin tutorial
thomas12777: for answering questions on getting pixmap buttons into code

Thanks to sgrayban for testing and hosting the file download.
Last changelog:

15 years ago

1.2 release
------------
Changelog:

Added Yoper version 2.2.0-6 RPM.

Fixed button animations when moving the mouse off a button and the mouse button is pressed.

Currently it can be checked out in kde svn under trunk/playground/artwork/smooth-blend/

jimbob1234

15 years ago

This is a great looking decoration

Report

oshogg

15 years ago

Just a request: It would be nice to have an option to have bottom corners round too.

thanks,
Osho

Report

RND

15 years ago

any chance of a Suse 9.2 version?

Report

rodgerSan

15 years ago

Hi, I made a suse 9.2 package
i don't know if it will work because it's my first package...

http://www.ifrance.com/rodgersan/smoothblend.zip

Report

rodgerSan

15 years ago

Hi, I made a suse 9.2 package
i don't know if it will work because it's my first package...

http://www.ifrance.com/rodgersan/smoothblend.zip

Report

sgrayban

15 years ago

Not unless you want to donate an account to make suse rpm's in.

Report

jstn

15 years ago

Looks great but I'm having problems compiling this on FreeBSD-5.4-PRERELEASE. Configure runs fine and during make is where I run into snags.

Here is what I get:

testconfig.cc:21:26: configdialog.h: No such file or directory
testconfig.cc: In constructor `testConfig::testConfig(KConfig*, QWidget*)':
testconfig.cc:35: error: invalid use of undefined type `struct ConfigDialog'
testconfig.h:33: error: forward declaration of `struct ConfigDialog'
testconfig.cc:36: error: invalid use of undefined type `struct ConfigDialog'
...
Stop in /usr/home/jstn/themes/kde3/window/smoothblend-beta1/client/config.

gcc is: gcc version 3.4.2 [FreeBSD] 20040728

Any ideas?

- Justin

Report

C

p0z3r

15 years ago

That's where it generates the kcontrol interface using moc during the make process. I'm not sure why it doesn't generate for you, but I could pre-compile those source files in the next release, instead of doing a make clean before it's released.
If you want to generate them manually:
cd smoothblend-beta1/client/config
uic uic -o configdialog.h configdialog.ui
uic -i configdialog.h -o configdialog.cpp configdialog.ui
cd ../../
make

Report

jstn

15 years ago

I actually found another user having a similar problem as I was with another theme and the solution was to use gmake instead of make when compiling the theme. This worked for me, and I love your work, thanks!

- Justin

Report

C

p0z3r

15 years ago

Thanks for the compliment! There's more to come with the beta2 release.

Report

C

p0z3r

15 years ago

The second step has a typo:
uic uic -o configdialog.h configdialog.ui

It should be:
uic -o configdialog.h configdialog.ui

Report

bitwit

15 years ago

look at the addButtons() routine in client.cc
no code to add resize button
wasn't in the original How-To so never made it into the template.

Report

C

p0z3r

15 years ago

I figured some of that had been deprecated, but I hadn't found the announcement anywhere yet. Yes the code for the resize button is not there, but the shade button code is. It's strange that on one distro there is the option to add custom buttons for resize and shade, but another one had an option only for resize. That's why I wasn't sure.

Report

bitwit

15 years ago

looks good !

I think resize button is obsoleted or canceled out by border and corner resize handle abilities,
don't really need a button for that unless window has titlebar but no border handles at all.

Report

linuxcolor

15 years ago

What a work ...
One of the greatest window decoration i have seen...
keep it up......

Report

GreatRedShark

15 years ago

It looks great, but those title bars are too damn thick. I mean, they're huge! oh well, maybe it's because I'm used to using Glow because of it's thin title bars. My suggestion is to make an option for the title bar to be about half its current height.

I really like your button icons, as well.

Report

C

p0z3r

15 years ago

Title bar size is configurable in kcontrol. Try that and see what you think.

Report

kathurian

15 years ago

man this downlink link always times out , whats wrong with it ? i have tried it 5 - 6 times but every time same story .

Report

sgrayban

15 years ago

If the download doesn't work and times out. It could be from one of the following.

Your ISP's IP block has been null routed because of dos attacks and your ISP refuses to help. Or your ISP's is to lame to fix its reverse dns and my router null routes that.

In either case it's your ISP's fault. I'll protect my network by any means possible.

Report

C

p0z3r

15 years ago

It appears to download fine for me currently @ 2:48am EST.

Report

oshogg

15 years ago

It's a nice windec. I just have a couple of comments to make it even better :).

1. Use the Title blend color for button background. I like a windec in which the buttons are prominent (like in AKDC Soft Crystal). By making it configurable with the blend color or other how, one can get whatever look they want.

2. Help windec button is not available. A big no-no in my book.

thanks,
Osho

Report

Deciare

15 years ago

Why not make the title buttons use the Title Button colours? That way, it won't look strange when I switch to a window decoration that actually uses the Title Blend colour as the title blend colour.

Report

C

p0z3r

15 years ago

I will investigate this and see if the buttons will work correctly with this approach. The buttons currently blend with the title bar background as they are transparent buttons.

Report

C

p0z3r

15 years ago

The Help button is available when you use custom button configurations and add it. I didn't see it being used on many applications I used, so I set the default to not include it.

Report

oshogg

15 years ago

In the default configuration, all windecs that I have tried automatically figure out whethesr to put the help button or not depending on the app. It would be nice if smooth-blend also did that.

Report

15 years ago

1.2 release
------------
Changelog:

Added Yoper version 2.2.0-6 RPM.

Fixed button animations when moving the mouse off a button and the mouse button is pressed.

Currently it can be checked out in kde svn under trunk/playground/artwork/smooth-blend/

12345678910
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
1.2
updated Jun 13 2005
added Feb 22 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3
System Tags linux unix