
Plastik Element preview
Source (link to git-repo or to original if based on someone elses unmodified work):
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:
**
*
* 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
*
**
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.
Ratings & Comments
27 Comments
I'm surprised that nobody found this: The file client/factory.cpp has an extra ";" on line 19.
Hi ! What's the name of the font U use?
Yes, I want to know font name, too!
hi, where can i download your wallpaper ? thx
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'
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]#
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
Search the site for the KWin Decoration Example tutorial. That will help you with what you need.
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?
nevermind i updated my devel packages and it worked
all you did was add different buttons to the knifty WD...what longhorn inspired?
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&* !!
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.
Very nice and minimalistic ;) Great Work
i am going to boot into a knoppix livecd right now just so i can install it and use it. i love this look.
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.
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". :)
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.
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!
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.
...from windows longhorn? not complaining, it's exactly what i wanted. nice work!
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. :)
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.
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.
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.