Plastik Element preview

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
Score 50.0%
Description:

This is a KDE Window Decoration inspired by the windows theme "Longhorn Athens" but it is meant to be simplistic.

**
*
* For now, all that is provided is a preview.
* All features as well as look and feel of the previous version will remain the same.
* Please do not comment/complain about the preview, it's just that a preview.
* version 0.2 (complete) will be released on the 12th.
* if you are going to compile the preview make sure you build for your distribution - therefore, make -f Makefile.dist
*
**
Last changelog:

14 years ago

0.2
- due to recent hdd problems, this project is currently inactive.. have more important things to take care of at the moment aka get a new hdd and possibly new computer. Sorry

0.1
- fixed the pixel problem around the corners thanks to Sandro. Cheers mate. :)

0.1 beta
- Config title alignment support added.
- buttons draw based on their placement.

reks

14 years ago

I'm surprised that nobody found this: The file client/factory.cpp has an extra ";" on line 19.

Report

eriol

14 years ago

Hi !
What's the name of the font U use?

Report

minkiux

14 years ago

Yes, I want to know font name, too!

Report

mononoke

14 years ago

hi, where can i download your wallpaper ?
thx

Report

nuka

14 years ago

i get a

cd . && make -f admin/Makefile.common configure.in ;
make[1]: Entering directory `/home/dimitri/Desktop/release'
make[1]: Leaving directory `/home/dimitri/Desktop/release'
cd . && /bin/sh /home/dimitri/Desktop/release/admin/missing --run aclocal-1.7
/home/dimitri/Desktop/release/admin/missing: line 46: aclocal-1.7: command not found
WARNING: `aclocal-1.7' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && \
/bin/sh /home/dimitri/Desktop/release/admin/missing --run automake-1.7 --foreign Makefile
/home/dimitri/Desktop/release/admin/missing: line 46: automake-1.7: command notfound
WARNING: `automake-1.7' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && perl admin/am_edit Makefile.in
cd . && rm -f configure && make -f admin/Makefile.common configure
make[1]: Entering directory `/home/dimitri/Desktop/release'
Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, line 111.
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/home/dimitri/Desktop/release'

Report

rizon

14 years ago

then mv -f ".deps/factory.Tpo" ".deps/factory.Plo"; \
else rm -f ".deps/factory.Tpo"; exit 1; \
fi
In file included from factory.cpp:11:
factory.h:11:32: kdecorationfactory.h: No such file or directory
In file included from factory.cpp:11:
factory.h:20: error: expected class-name before '{' token
factory.h:26: error: ISO C++ forbids declaration of `KDecoration' with no type
factory.h:26: error: `KDecoration' declared as a `virtual' field
factory.h:26: error: expected `;' before '*' token
In file included from factory.cpp:12:
client.h:24: error: expected class-name before '{' token
client.h:28: error: expected `)' before '*' token
client.h:52: error: `Position' does not name a type
client.h:52: error: extra semicolon
client.h:24: warning: `class KDecorationWhid::Client' has virtual functions but non-virtual destructor
factory.cpp:19: error: extra `;'
factory.cpp: In member function `virtual bool KDecorationWhid::Factory::reset(long unsigned int)':
factory.cpp:50: error: `KDecoration' has not been declared
factory.cpp:50: error: `options' undeclared (first use this function)
factory.cpp:50: error: (Each undeclared identifier is reported only once for each function it appears in.)
factory.cpp:62: error: `resetDecorations' undeclared (first use this function)
factory.cpp: At global scope:
factory.cpp:70: error: expected constructor, destructor, or type conversion before '*' token
factory.cpp:70: error: expected `,' or `;' before '*' token
factory.cpp:99: error: expected constructor, destructor, or type conversion before '*' token
factory.cpp:99: error: expected `,' or `;' before '*' token
In file included from factory.cpp:107:
factory.moc: In member function `virtual void* KDecorationWhid::Factory::qt_cast(const char*)':
factory.moc:73: error: `KDecorationFactory' undeclared (first use this function)
factory.moc:73: error: expected primary-expression before ')' token
factory.moc:73: error: expected `;' before "this"
factory.moc:73: warning: statement has no effect
factory.cpp: At global scope:
factory.cpp:95: warning: 'factory' defined but not used
make[3]: *** [factory.lo] Error 1
make[3]: Leaving directory `/usr/src/release/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/release/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/release'
make: *** [all] Error 2
[root@rizon release]#

Report

synedexter

14 years ago

pardon me, but i still don't know how to install any ktheme or style i download (Mandrake 10.0)( on KDE 3.2 > ) and i am a theme enthusiast and i would like any help to create my own theme. Ayo

Report

C

gr3gg

14 years ago

Search the site for the KWin Decoration Example tutorial. That will help you with what you need.

Report

Fox100Rocks

14 years ago

I try to install this and i get this on configure:

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

what does this mean?

Report

Fox100Rocks

14 years ago

nevermind i updated my devel packages and it worked

Report

lokheed

15 years ago

all you did was add different buttons to the knifty WD...what longhorn inspired?

Report

C

gr3gg

15 years ago

If I wanted to modify the kniffy windeco I would have asked Sandro (ceebx). However, I created this windeco from scratch using kpaint to visualize how I wanted the windeco to look. Secondly, if you took a look at the code you would see the differences between the two windecos. Lastly, I think it is quite rude of you to accuse me of stealing code. Qt is quite simple to understand and code in.. it's only C++. That's all I have to say on that.

bugger off you dumb sh&* !!

Report

Momo

14 years ago

There is no such thing a stealing GPL code. I love your windec and you should not listen to stupid ppl. If you find a codebase good enough to start your project, you just spared some time and you didnt hurt anybody. This is the sole principle of open source : on the shoulders of the giants. As for whiners, let them whine.

Report

flow

15 years ago

Very nice and minimalistic ;)
Great Work

Report

nuka

15 years ago

i am going to boot into a knoppix livecd right now just so i can install it and use it. i love this look.

Report

zammi

15 years ago

Hi, Try to make button width same size. Because, If you try to add more buttons (Ex: help button etc) current set up does not seems to be good.
Note: I could spot out some annoying white pixels at the corners. A red pixel at the right top corner as well.
You have to work on refresh speed as well. When we are moving the window on top of another window, title bar refresh rate seems to be slow.
BWT, Keep up you work.

Report

C

gr3gg

15 years ago

Thanx, you guys are being a great help. I am fixing the problems that you guys have identified as well as adding the config options. I have already fixed the buttons. When they are added to the layout based on the position, they draw differently. Therefore, left most buttons are drawn like the minimize button and right most buttons are drawn like the close button. All other buttons are drawn like the maximize buttons. This behavior is based on the button position strings aka "MHIAX". :)

Report

fubarbundy

15 years ago

If you move the cursor over the bottom edge of the window, instead of resizing the window only vertically at the bottom, it resizes it horizontally to the right as well.

Report

fubarbundy

15 years ago

I don't know exactly what your code's doing, but it looks like it's grabbing the colours underneath to fake the rounded corners? So that when you open a window over a white background for instance, and then move it to a black background, you have white pixels at the corners where it should be rounded...
I'm only posting on this because this is the best deco I have seen, and I want to see it perfect!

Report

C

gr3gg

15 years ago

Thanks for the feedback. That is something that I realized. I am not too sure why I get white pixels at the bottom sometimes but I am trying to fix that. Hopefully, the rewriting of the code that I am doing now will allow me to determine why that's happening. Cheers.

Report

rocketpcguy

15 years ago

...from windows longhorn? not complaining, it's exactly what i wanted. nice work!

Report

fffortune

15 years ago

Lookin' sweet. Very much so. And if I were to add a suggestion, I would probobly say that it would look better if the buttons were centered a bit more on the vertical. :)

Report

fubarbundy

15 years ago

Please, when the deco is maximised, make sure that the top left and top right corners of the screen have buttons in them (try the Plastik deco to see what I mean). This means that when the window is maximised you can quickly close it by throwing the cursor all the way to the corner and clicking, instead of having to place it exactly over a button that is near to the corner.

Good luck.

Report

nuka

15 years ago

thats a kde option. although it needs to be incorprotaed in the theme as well, you need to disable the option of the abiltiy to move maximised windows if you want this to work. im so used to windows that i always disable this feature.

Report

fubarbundy

15 years ago

Thank you - I know this already. However, this windec does not do this anyway - download it and try. Although it squares off the rounded corners when maximised, the top left- and top right-most pixels are not clickable.

Incidentally, if you used Plastik for KDE 3.1, it had a "movable when maximised" feature that worked better than the native 3.2 setting, because then, the windeco could lose its borders when maximised, which doesn't happen when this setting is enabled in 3.2.

Report

14 years ago

0.2
- due to recent hdd problems, this project is currently inactive.. have more important things to take care of at the moment aka get a new hdd and possibly new computer. Sorry

0.1
- fixed the pixel problem around the corners thanks to Sandro. Cheers mate. :)

0.1 beta
- Config title alignment support added.
- buttons draw based on their placement.

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.2
updated Nov 13 2004
added Jul 29 2004
downloads 24h
0
page views 24h 1
System Tags linux unix