Hugo Pereira Da Costa
8f72704c20
Clean-up: removed all code mentionning stripes/scrathces
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020945
2009-09-07 17:06:20 +00:00
Hugo Pereira Da Costa
fe0f06dfe1
added extrap pixel to painter clipRect when no-border is selected. Moved shadow pixmap generation (needed for shadow tileSets) to a different method. Build more complex tileSet in ::shadowTiles, needed to get the corner colors right when compositing is ON + frameBorder is None + title highlight is ON + window is shaded.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020709
2009-09-07 06:59:38 +00:00
Hugo Pereira Da Costa
f439166398
added separated function to get pixmap needed for the shadow tileSet.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020708
2009-09-07 06:53:13 +00:00
Hugo Pereira Da Costa
904dc1341e
update size grip visibility depending on window state when resetting configuration
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020705
2009-09-07 05:50:48 +00:00
Hugo Pereira Da Costa
24bf0526cd
.. and removed extra 'new tileset' left-over from previous commit to r1020690
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020691
2009-09-07 02:32:34 +00:00
Hugo Pereira Da Costa
8c9049e425
re-organized ::shadowtiles code to 1/ fix bug on storing created tiles 2/ avoid duplicated code. 3/ handle options properly to store active and inactive shadowTiles.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020690
2009-09-07 02:26:37 +00:00
Hugo Pereira Da Costa
6eb3f0ef51
removed ugly std::cout
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020678
2009-09-06 23:33:51 +00:00
Hugo Pereira Da Costa
58babc5c03
used KDebug in place of QTextStream for debug output
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020676
2009-09-06 23:32:41 +00:00
Hugo Pereira Da Costa
191a3dd8db
disabled autoFillBackground for central QLabel in preview mode, to have the correct window background painted. Remark: this is a minor (and safe) hack. This should be moved upstream into kwin/lib/kdecoration
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020608
2009-09-06 18:29:57 +00:00
Hugo Pereira Da Costa
688fe7beff
Fixed calls renderWindowBackground so that gradients appear at the right place in decoration preview. Also removed 'const_cast<>' in ::renderWindowBorder
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020604
2009-09-06 18:04:11 +00:00
Hugo Pereira Da Costa
786a000d49
apply additional horizontal button offset only in 'Full' maximized mode, and when maximized window are not move/resizable
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020596
2009-09-06 17:41:34 +00:00
Hugo Pereira Da Costa
fafaf8bf9e
apply additional horizontal button offset only in 'Full' maximized mode, and when maximized window are not move/resizable
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020594
2009-09-06 17:38:33 +00:00
Martin Gräßlin
8b5f974a7b
Do not crash when a window get's closed while boxswitch is active.
...
Tested with and without animation, if window is the selected or not and I am unable to reproduce any more.
If anyone still get's a crash please let me know.
BUG: 179865
svn path=/trunk/KDE/kdebase/workspace/; revision=1020481
2009-09-06 12:25:25 +00:00
Hugo Pereira Da Costa
0a894ef032
capitalized ::visibleName()
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020319
2009-09-06 07:21:23 +00:00
Hugo Pereira Da Costa
0d6a13a62f
don't show resize 'dots' in shaded mode. Round all four corners in shaded mode, even when 'no border' option is selected
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020251
2009-09-05 20:04:17 +00:00
Hugo Pereira Da Costa
c4cd3a4153
hide size-grip (in no-border mode) when window is maximized
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020224
2009-09-05 17:17:57 +00:00
Hugo Pereira Da Costa
f5046aef58
added spacer in 'advanced' tab in order to pack widgets
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020016
2009-09-05 03:14:36 +00:00
Hugo Pereira Da Costa
f100fb0537
fixed LM_TitleEdgeTop so that it is always zero for maximized windows, in order to respect Fitts law
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020015
2009-09-05 03:12:26 +00:00
Hugo Pereira Da Costa
8c826845e8
restored CMakeList.txt from r1015116, used to compile nitrogen inside kdebase
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1020013
2009-09-05 02:36:32 +00:00
Hugo Pereira Da Costa
a4b45bc7c1
use ColorTitleBar for drawing only if window is active and titleOutline is selected. Use oxygen window colors for all other cases.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019984
2009-09-04 22:57:37 +00:00
Hugo Pereira Da Costa
b8a3b8801f
made size grip smaller, so that it does not collide with the 'apply' button of the systemsettings window, which is the first thing you see when you enable the size grip
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019981
2009-09-04 22:49:27 +00:00
Hugo Pereira Da Costa
7b43894da0
removed 'Always draw sizeGrip' option as it is both buggy and not really needed (no sense having non-zero border + size grip)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019943
2009-09-04 20:46:37 +00:00
Hugo Pereira Da Costa
624939fd60
moved back drawSeparator option to 'basic' tab since it is interlocked with the 'outline active window title' option
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019932
2009-09-04 20:01:51 +00:00
Hugo Pereira Da Costa
41d3887d13
disable drawSeparator when title outline is selected
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019931
2009-09-04 19:59:21 +00:00
Hugo Pereira Da Costa
8fc23d30fa
fixed top highlight drop-down shadow in no-border mode
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019927
2009-09-04 19:51:16 +00:00
Hugo Pereira Da Costa
ef584a973a
disabled active window border in maximized mode
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019925
2009-09-04 19:46:39 +00:00
Hugo Pereira Da Costa
06a7b24b8b
renamed widgets so that they match nitrogenconfigurationui widget names; changed overwritecolors into titleoutline and changed layout
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019909
2009-09-04 19:10:47 +00:00
Hugo Pereira Da Costa
d0f3b6251c
Redesigned comfiguration window. Removed show-strip options. Renamed 'blend title bar colors ...' into 'outline active window title' (need polish), and moved it to basic configuration; Moved 'draw separator' to advanced tab; and renamed tabs
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019908
2009-09-04 19:09:23 +00:00
Hugo Pereira Da Costa
098c37d1a5
OverwriteColors -> titleOutline; disable the 'draw separator' option when titleOutline is selected
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019907
2009-09-04 19:05:56 +00:00
Hugo Pereira Da Costa
36c29f5617
OverwriteColors -> titleOutline
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019906
2009-09-04 19:04:14 +00:00
Hugo Pereira Da Costa
702590d3f9
added comments, as well as HFRAMESIZE, corresponding to the active window highlighted border width
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019905
2009-09-04 19:03:32 +00:00
Hugo Pereira Da Costa
d8a32e4930
overwritecolors -> drawTitleOutline. Also temporarily disabled the 'draw scratch option'. Will permanently remove it in near future
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019904
2009-09-04 19:02:20 +00:00
Hugo Pereira Da Costa
f586bf760a
OverwriteColors -> TitleOutline; use nitrogenclient::renderWindowBorder as a replacement for the ozone blue border.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019902
2009-09-04 19:00:04 +00:00
Hugo Pereira Da Costa
06acf4cc37
OverwriteColors -> TitleOutline; added ::renderWindowBorder and ::renderTitleHighlight, as a replacement for the ozone blue border. Changed ShadowTilesOption into a class to initialize variables right, and make comparison operator
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019901
2009-09-04 18:58:40 +00:00
Hugo Pereira Da Costa
400f627430
OverwriteColors -> TitleOutline
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019897
2009-09-04 18:54:32 +00:00
Hugo Pereira Da Costa
e641ec2cb9
re-fixed problem with saving OverwriteColors flag in exceptions
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019841
2009-09-04 15:41:26 +00:00
Hugo Pereira Da Costa
ec7895d8e4
NitrogenHelper -> OxygenHelper
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019626
2009-09-04 04:22:26 +00:00
Hugo Pereira Da Costa
b4b78b3ba6
NitrogenHelper -> OxygenHelper + Use extra height argument for renderWindowBackground
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019625
2009-09-04 04:20:59 +00:00
Hugo Pereira Da Costa
52d665ae37
removed lib to use svn external from 'kdebase/runtime/kstyles/oxygen/lib' instead, to minimize code duplication
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019624
2009-09-04 04:18:52 +00:00
Hugo Pereira Da Costa
09158d39a4
renamed 'Default' button size into 'Normal' button size
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019618
2009-09-04 03:02:26 +00:00
Hugo Pereira Da Costa
e86a284b5c
removed 'button type' option, as recommanded by many people, and because it will allow to use oxygen helper directly rather than rewriting it
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019609
2009-09-04 01:50:20 +00:00
Hugo Pereira Da Costa
32aeeb070c
fixed options grid layout to start at row 0
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019580
2009-09-03 22:41:06 +00:00
Hugo Pereira Da Costa
290b5a8cc9
added tileset initialization in constructor (to NULL), tileset destruction in destructor; and tileset destruction when replaced in ::shadowTiles method. (this was leaking, or did I miss something ?)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019165
2009-09-03 03:32:12 +00:00
Hugo Pereira Da Costa
eca2dcabac
fixed mask calculation when composite is inactive, for consistency with oxygen, as well as with 'drawFloatFrame'
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1019089
2009-09-02 20:20:18 +00:00
Hugo Pereira Da Costa
82aa125975
reverted to r1015361 because last commit was adressing the same issue (already fixed). Sorry
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1018986
2009-09-02 14:30:30 +00:00
Script Kiddy
b4dcf3364d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1018920
2009-09-02 10:27:14 +00:00
Hugo Pereira Da Costa
76104a522a
fixed preview event painting, to use pixmap as intermediate painting device, in order to proper account for event clip rect, and avoid decorations appearing out of the widget rect
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1018742
2009-09-02 05:28:38 +00:00
Hugo Pereira Da Costa
b0769ebdb8
fixed (again) sizegrip position in preview mode
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1018676
2009-09-02 04:26:59 +00:00
Lucas Murray
da37b1f16d
Don't const effect proxies.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1018656
2009-09-02 02:30:22 +00:00
Hugo Pereira Da Costa
1b76934880
try clarify the 'what's this' text associated to the extra size grip
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1018654
2009-09-02 02:26:30 +00:00