
blitz window decoration
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
15 years ago
Updated: Applied patch to fix icon spacing, fixed bad makefiles as well (thanks maitre).
Screenshot updated.
RedHyena
14 years ago
Report
aep
14 years ago
fits perfectly my needs i'm fed of round shapes too. :)
Report
ChristianNickel
15 years ago
and i'm proud that you use my wallpaper ;)
Report
pootie
15 years ago
Report
maitre
15 years ago
patch blitz.cpp < ../app_icon_adjust.patch
Here's the patch, also dropped it in an email:
# [app_icon_adjust.patch]
1419c1419
< p.drawPixmap( clientHandler->tile( TitleLeft, isActive() )->width()+iconAppSpacing, ((clientHandler->tile(TitleCenter, isActive() )->height() - icon->height())/2) + Settings_Param.CaptionAdjustement + 1, *icon, 0, 0, icon->width(), icon->height());
---
> p.drawPixmap( clientHandler->tile( TitleLeft, isActive() )->width()+iconAppSpacing, ((clientHandler->tile(TitleCenter, isActive() )->height() - icon->height())/2) + Settings_Param.CaptionAdjustement - 1, *icon, 0, 0, icon->width(), icon->height());
1423c1423
< p.drawPixmap( BttWidthOnLeft() + iconAppSpacing, ((clientHandler->tile(TitleCenter, isActive() )->height() - icon->height())/2 ) + Settings_Param.CaptionAdjustement/2 + 1, *icon, 0, 0, icon->width(), icon->height());
---
> p.drawPixmap( BttWidthOnLeft() + iconAppSpacing, ((clientHandler->tile(TitleCenter, isActive() )->height() - icon->height())/2 ) + Settings_Param.CaptionAdjustement/2 - 1, *icon, 0, 0, icon->width(), icon->height());
In my humble opinion, I'd suggest adjusting the text's vertical position as well.
Report
pootie
15 years ago
Perhaps it is a bit low, and should be raised a pixel or two? It will be easier now that the icon will be in place :) .
Report
pootie
15 years ago
Report
maitre
15 years ago
Quick fix - looks like your Makefile.in's got trounced, to fix it,
copy admin/Makefile.in to kwin/Makefile.in
and
copy admin/Makefile.in2 to kwin/config/Makefile.in
I'll look at the vertical spacing.
Report
DaBlade
15 years ago
Report
pootie
15 years ago
Report