AKDC Beta3 preview 2(see changelog)

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

1
Score 50.0%
Description:

AKDC means Advanced Kwin Decoration Client ;-)

with this im trying to make the life easier for graphical designers, giving them a efficient and optimized native kwin decoration code where they only need paste some pixmap and check some options.

---------------------------------------------
IMPORTANT README
-----------------------------------------
Today AKDC beta2 (will become ASSK(Advanced Skin Support for KDE)in a near future)is released
Project moved to berlios.de

credits---------------
thanks to alexandrie & treetog from pixstudio for their WB for windows between other for their awesome art work
Last changelog:

15 years ago

-alpha
1.automatic layout calculation based on pixmap size
2.fixed buttons events
3.custom border(not automatic but more readable)
4.change the 1 bit qbitmap buton decos for qpixmap.
5.some work over text shadows

-alpha2
1.buttondecos handle a custom pixmap for every events(over, normal pressed) in active and inactive mode
2.Square button and round button(square for max, mix,close round help, menu,etc) can now have diferent sizes(example round button 14x14 square button 19x19)
3.some speed fixes

-beta
1.A lot of speed improvements
2.Text Shadow color code implemented
3.App Icon Effects(colorize gamma gray transparent etc) implemented
4.right top corner adjust the size for number of buttons
5.Auto layout code implemented(you only have to paste the pixmap and the code do the rest)
6.Avatar code implemented(is just a name for a functional programable button in the decoration)
7.Code more readeable.
8.All graphic glitches fixed
9.text position code implemented
10.Some work in blending options(not functional until RC1)

-beta2
1.buttons drawing code rewrited from the scratch
2.auto layout calculation finished
3.a lot of bugfixes
4.some progress in very complex mask
5.optimized painter code for stretch pixmap(ported to drawPixmap)
6.finished disabled buttons code
7.begin the project of a new AKDC control center(maybe ready for test in rc2)
8.port image loader api to KPixmapIO(much faster)
9.finished code to handle themes with 2 different sizes(see second screenshots(is the same corona theme))
10. a lot of improvements on irregular size buttons

-beta3 Preview 1
1.change image engine to QPixmapCache
2.improvements in image's stretcher code
3.support for tool windows
4.begin the code to a new engine based on cairo(it seems to be faster than QPainter)
5.support xcomposite extensions for shadows and transparency
6. a lot of work done in blending engine
-beta 3 preview 2
1.new text and shadow api based on kdesktop shadow engine
2.icon app follow text position
3. auto truncate text when text is larger than window width
4.abort of qpixmapcache engine(is really unstable and hard to control)
5.support for kde 3.3 new buttons api
6.new control center that fit on any screen larger than 640x480
7.new theme based on alienmorph from alienware
8.speed improvements(is really fast now)

zammi

15 years ago

Hi, When I add help button to left side, a blank area comes to the title bar.

Report

r0ttie

15 years ago

Hello.

I get a lot of errors, I tried buth KDE en NVIDA logo, and I tried also the version for mandrake, ...
(I use SuSE 9.x)

Compile gives me no errors. Make does. A lot of errors. (4 screenfulls)

I'll paste only the first part since I don't want to clutter this forum.

In file included from nvidia.cpp:38:
nvidia.h:29:25: kdecoration.h: No such file or directory
nvidia.h:30:32: kdecorationfactory.h: No such file or directory
In file included from nvidia.cpp:38:
nvidia.h:57: error: parse error before `{' token
nvidia.h:60: error: destructors must be member functions
nvidia.h:62: error: `BorderSize' was not declared in this scope
nvidia.h:62: error: template argument 1 is invalid
nvidia.h:62: error: ISO C++ forbids declaration of `borderSizes' with no type
nvidia.h:62: error: virtual outside class declaration
nvidia.h:62: error: non-member function `int nVIDIA::borderSizes()' cannot have
`const' method qualifier
nvidia.h:63: error: virtual outside class declaration
nvidia.h:64: error: syntax error before `*' token
nvidia.h:66: error: non-member function `bool nVIDIA::showAppIcons()' cannot
have `const' method qualifier
nvidia.h: In function `bool nVIDIA::showAppIcons()':
nvidia.h:66: error: `showIcons' undeclared (first use this function)
nvidia.h:66: error: (Each undeclared identifier is reported only once for each
function it appears in.)
nvidia.h: At global scope:
nvidia.h:67: error: non-member function `bool nVIDIA::useShadowedText()' cannot
have `const' method qualifier
nvidia.h: In function `bool nVIDIA::useShadowedText()':
nvidia.h:67: error: `shadowedText' undeclared (first use this function)
nvidia.h: At global scope:
nvidia.h:68: error: non-member function `bool nVIDIA::largeCaptionBubbles()'
cannot have `const' method qualifier
nvidia.h: In function `bool nVIDIA::largeCaptionBubbles()':
nvidia.h:68: error: `smallCaptionBubbles' undeclared (first use this function)
nvidia.h: At global scope:
nvidia.h:70: error: non-member function `int nVIDIA::titleBarHeight(bool)'
cannot have `const' method qualifier
nvidia.h: In function `int nVIDIA::titleBarHeight(bool)':
nvidia.h:71: error: `activeTiles' undeclared (first use this function)
nvidia.h: At global scope:
nvidia.h:76: error: non-member function `int nVIDIA::grabBarHeight()' cannot
have `const' method qualifier
nvidia.h:78: error: non-member function `const QPixmap*
nVIDIA::tile(nVIDIA::TilePixmap, bool)' cannot have `const' method qualifier
nvidia.h:79: error: non-member function `const QPixmap*
nVIDIA::btile(nVIDIA::TileButtons, bool)' cannot have `const' method
qualifier
nvidia.h:80: error: non-member function `const QPixmap*
nVIDIA::decotile(nVIDIA::ButtonDeco, bool)' cannot have `const' method
qualifier
nvidia.h:81: error: non-member function `const QPixmap*
nVIDIA::decostate(nVIDIA::ButtonDeco, bool, bool)' cannot have `const'
method qualifier
nvidia.h:82: error: parse error before `private'
nvidia.h:96: error: syntax error before `:' token


Any help would be great..

Thanks..

Report

r0ttie

15 years ago

Never mind. I have found the problem. My kdebase3 and kdebase3-devel packages were not the same version. I updated them so that they are the same version.
It is "making" now.

Report

yglodt

15 years ago

This window decoration looks very very
nice, and I look forward to the following releases!

Report

eagle

15 years ago

if /usr/local/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -MT nvidiaconfig.lo -MD -MP -MF ".deps/nvidiaconfig.Tpo" -c -o nvidiaconfig.lo `test -f 'nvidiaconfig.cpp' || echo './'`nvidiaconfig.cpp; then mv -f ".deps/nvidiaconfig.Tpo" ".deps/nvidiaconfig.Plo"; else rm -f ".deps/nvidiaconfig.Tpo"; exit 1; fi
nvidiaconfig.cpp:27: error: duplicate `const'
nvidiaconfig.cpp:186: error: duplicate `const'
nvidiaconfig.cpp:314: error: duplicate `const'
*** Error code 1

Stop in /root/test/nvidia-1.0a-3.2.0/kwin/config.
*** Error code 1

Stop in /root/test/nvidia-1.0a-3.2.0/kwin.
*** Error code 1

Stop in /root/test/nvidia-1.0a-3.2.0.
*** Error code 1

Stop in /root/test/nvidia-1.0a-3.2.0.
bash-2.05b#

Where is the problem?

Report

haimeltjnfg

15 years ago

i get the same error on a ppc.

Report

cyberpatrol

15 years ago

When I click on the download link I get a site something.prohosting.com also with a download link. When I click on that link the browser seems to load something but I'm still getting the same site but no file.
When I click on that download link with the right mouse button and click on "Save link under..." (however it's called in the English browser versions) I get a file with the right filename but it's not a valid archive.

Could you, please, give us a direct download link?

Report

rajter

15 years ago

Would you be so friendly to begginer and make some RPM 4 me. Because i can't compile it under MDK10. Some errors with missing packets :/

Report

giftzwerg1

15 years ago

hi

I uses SuSE 9,0 with KDE 3,2,2 the Install well folded, only where I find the Theme???

Report

M3741

15 years ago

./configure goes ok but make gives the folowing errors:
nvidiaconfig.cpp:27: error: duplicate `const'
nvidiaconfig.cpp:186: error: duplicate `const'
nvidiaconfig.cpp:314: error: duplicate `const'
make[3]: *** [nvidiaconfig.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-deco-nvidia-1.0_alpha-r2/work/nvidia-1.0a-3.2.0/kwin/config'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-deco-nvidia-1.0_alpha-r2/work/nvidia-1.0a-3.2.0/kwin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-deco-nvidia-1.0_alpha-r2/work/nvidia-1.0a-3.2.0'
make: *** [all] Error 2

Report

beko

15 years ago

Check the posts a few day ago. the error is already describted. You'll have to edit one of the cpp-resources and compile again.

Report

telvanni

15 years ago

Would it be possible to make the configuration dialog a bit smaller? On my 1024x768 screen, I cannot even see the standard buttons "OK", "Cancel", and such.

Second, choosing "Use system colors" doesn't work, it still use the nVidia colors, which doesn't fit with my color scheme.

Overall, great great job :)

Report

prjanique

15 years ago

When I try to download and click zip file, i get a horrible amount of strange letters instead of file... And when I copy link and download it manually, it says Empty file :(

Report

beko

15 years ago

Hi,
I really like this but I was thinking about an iTunes color sheme with this style. I got iTunes colors and buttons for xmms and KDE somewhere on kde-look.org

I tried to change the color of your pictures by myself using gimp but I failed due lack of knowhow :(

Think about it - for now I'll love it as it is :]

Report

zammi

15 years ago

http://www.nvidia.com/page/nvdvd.html is a good start if you want to include skins for mplayer/xine. this is very nice to have with xmms as well. Good thing of nvdvd is, you'll get all the BMP's once you install it on windows.

Report

C

jrch2k

15 years ago

nice idea, when i finish the kwin and kstyle engine i will rewrite the kaffeine gui code to handle a skins(and maybe use winamp 5 skins)

Report

Svyatogor

15 years ago

Sorry for a stupid question, but you said that this is port from windows deco. Where can I get the original then? Tried looking on NVidia site is total rubish compared to yours...

Report

C

jrch2k

15 years ago

es de windowsblind, buscalo en wincustomize.com

Report

netfranz

15 years ago

Your screenshot shows a Suse desktop but you didn't provide a Suse RPM... why? :(

Report

C

jrch2k

15 years ago

i really have problems to make rpm in my suse box, when i can pack it i'll post it

sorry

Report

PARENA

15 years ago

Any ideas? I'm using qt3.3.0 and kde3.2.2 on Gentoo

if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -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 nvidiaconfig.lo -MD -MP -MF ".deps/nvidiaconfig.Tpo" \
-c -o nvidiaconfig.lo `test -f 'nvidiaconfig.cpp' || echo './'`nvidiaconfig.cpp; \
then mv -f ".deps/nvidiaconfig.Tpo" ".deps/nvidiaconfig.Plo"; \
else rm -f ".deps/nvidiaconfig.Tpo"; exit 1; \
fi
nvidiaconfig.cpp:27: error: duplicate `const'
nvidiaconfig.cpp:186: error: duplicate `const'
nvidiaconfig.cpp:314: error: duplicate `const'
make[3]: *** [nvidiaconfig.lo] Error 1
make[3]: Leaving directory `/root/dev/nvidia-1.0a-3.2.0/kwin/config'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/dev/nvidia-1.0a-3.2.0/kwin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dev/nvidia-1.0a-3.2.0'
make: *** [all] Error 2

Report

StereoNap

15 years ago

i had the same error. it's very strange but during the compile process the file nvidiaconfig.cpp changes.

to solve the problem simply remove the last "const" in

"kwin/config/nvidiaconfig.cpp"

in the lines 27, 186 and 314.

so the line
"static const unsigned char const" becomes
"static const unsigned char"

Report

alexneo81

15 years ago

Mandrake 10-Qt 3.2.3
yeah, I make this change... but the installation was made on /usr/local/kde/share and /usr/local/kde/lib, and I copy it to /usr/share and /usr/lib for do it work

Report

EliasP

15 years ago

Did you try out my ebuild??
http://www.KDE-Look.org/content/show.php?content=12572

Report

john007

15 years ago

can be downloaded here:

http://www.kde-look.org/content/show.php?content=12574

Report

15 years ago

-alpha
1.automatic layout calculation based on pixmap size
2.fixed buttons events
3.custom border(not automatic but more readable)
4.change the 1 bit qbitmap buton decos for qpixmap.
5.some work over text shadows

-alpha2
1.buttondecos handle a custom pixmap for every events(over, normal pressed) in active and inactive mode
2.Square button and round button(square for max, mix,close round help, menu,etc) can now have diferent sizes(example round button 14x14 square button 19x19)
3.some speed fixes

-beta
1.A lot of speed improvements
2.Text Shadow color code implemented
3.App Icon Effects(colorize gamma gray transparent etc) implemented
4.right top corner adjust the size for number of buttons
5.Auto layout code implemented(you only have to paste the pixmap and the code do the rest)
6.Avatar code implemented(is just a name for a functional programable button in the decoration)
7.Code more readeable.
8.All graphic glitches fixed
9.text position code implemented
10.Some work in blending options(not functional until RC1)

-beta2
1.buttons drawing code rewrited from the scratch
2.auto layout calculation finished
3.a lot of bugfixes
4.some progress in very complex mask
5.optimized painter code for stretch pixmap(ported to drawPixmap)
6.finished disabled buttons code
7.begin the project of a new AKDC control center(maybe ready for test in rc2)
8.port image loader api to KPixmapIO(much faster)
9.finished code to handle themes with 2 different sizes(see second screenshots(is the same corona theme))
10. a lot of improvements on irregular size buttons

-beta3 Preview 1
1.change image engine to QPixmapCache
2.improvements in image's stretcher code
3.support for tool windows
4.begin the code to a new engine based on cairo(it seems to be faster than QPainter)
5.support xcomposite extensions for shadows and transparency
6. a lot of work done in blending engine
-beta 3 preview 2
1.new text and shadow api based on kdesktop shadow engine
2.icon app follow text position
3. auto truncate text when text is larger than window width
4.abort of qpixmapcache engine(is really unstable and hard to control)
5.support for kde 3.3 new buttons api
6.new control center that fit on any screen larger than 640x480
7.new theme based on alienmorph from alienware
8.speed improvements(is really fast now)

12345678910
product-maker Base: 4 x 5.0 Ratings
juliadlea
Feb 11 2020
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
beta3
updated Dec 20 2004
added Apr 30 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags linux unix