Commit graph

110 commits

Author SHA1 Message Date
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
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
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
b0769ebdb8 fixed (again) sizegrip position in preview mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1018676
2009-09-02 04:26:59 +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
Hugo Pereira Da Costa
88a559c23b changed size-grip options to have a 'always/when needed/never' behavior, rather than 'yes/no'. The default is 'when needed'. Also set option 'name' to 'extra size grip display'
svn path=/trunk/KDE/kdebase/workspace/; revision=1018652
2009-09-02 02:19:26 +00:00
Hugo Pereira Da Costa
8bc71b5b3c changed size-grip options to have a 'always/when needed/never' behavior, rather than 'yes/no'. The default is 'when needed'.
svn path=/trunk/KDE/kdebase/workspace/; revision=1018651
2009-09-02 02:18:25 +00:00
Hugo Pereira Da Costa
ccafe11f81 changed size-grip options to have a 'always/when needed/never' behavior, rather than 'yes/no'. The default is 'when needed', meaning that the size grip is shown only when 'No-Border' option is selected. This is similar to the 'tab bar display' setting in konsole
svn path=/trunk/KDE/kdebase/workspace/; revision=1018649
2009-09-02 02:15:53 +00:00
Hugo Pereira Da Costa
ea09386c42 fixed bug on storing 'blend with window contents' exception value
svn path=/trunk/KDE/kdebase/workspace/; revision=1018639
2009-09-02 00:49:52 +00:00
Hugo Pereira Da Costa
ad7c40d516 removed useless (and misleading) ::borderWidth and ::borderHeight methods; update call to nitrogensizegrip::activeChange
svn path=/trunk/KDE/kdebase/workspace/; revision=1018254
2009-09-01 14:10:46 +00:00
Hugo Pereira Da Costa
46284060f3 removed useless (and misleading) ::borderWidth and ::borderHeight methods
svn path=/trunk/KDE/kdebase/workspace/; revision=1018251
2009-09-01 14:09:40 +00:00
Hugo Pereira Da Costa
22bfe6a4b3 renamed ::updatebackgroundcolor to ::activeChange, for consistency with client, and removed useless color manipulations from there; fixed window attributes to optimize painting; fixed color manipulation in 'paintevent', and rationalized layout metric manipulation in ::updatePosition
svn path=/trunk/KDE/kdebase/workspace/; revision=1018246
2009-09-01 14:05:56 +00:00
Hugo Pereira Da Costa
7e3a920edb ::updatebackgroundcolor renamed to ::activeChange, for consistency with client
svn path=/trunk/KDE/kdebase/workspace/; revision=1018242
2009-09-01 14:03:51 +00:00
Hugo Pereira Da Costa
de4713e634 removed 'cout'
svn path=/trunk/KDE/kdebase/workspace/; revision=1018241
2009-09-01 13:59:45 +00:00
Hugo Pereira Da Costa
fbf5d4d438 removed 'hackish' checks on running compiz. Assume kwin
svn path=/trunk/KDE/kdebase/workspace/; revision=1017618
2009-08-31 00:58:10 +00:00
Hugo Pereira Da Costa
cd52e656b5 removed 'hackish' checks on running compiz. Assume kwin
svn path=/trunk/KDE/kdebase/workspace/; revision=1017617
2009-08-31 00:54:44 +00:00
Hugo Pereira Da Costa
7bf1793f32 removed 'hackish' checks on running compiz. Assume kwin
svn path=/trunk/KDE/kdebase/workspace/; revision=1017616
2009-08-31 00:54:04 +00:00
Hugo Pereira Da Costa
91d68e395b changed margin and spacing for consistency with other tabs; changed list size policy to minimize amount of vertical space used for the configuration
svn path=/trunk/KDE/kdebase/workspace/; revision=1017510
2009-08-30 19:43:21 +00:00
Hugo Pereira Da Costa
2ac48283c3 removed nitrogenexceptionlistdialog.cpp; added nitrogenexceptionlistwidget.cpp for configuration redesign
svn path=/trunk/KDE/kdebase/workspace/; revision=1017460
2009-08-30 17:53:51 +00:00
Hugo Pereira Da Costa
fdd6b45ea6 changed exception handling so that it is handled in nitrogenconfigurationui directly rather than in a separate dialog
svn path=/trunk/KDE/kdebase/workspace/; revision=1017456
2009-08-30 17:42:04 +00:00