Hugo Pereira Da Costa
|
c519c41c9f
|
further simplified ::renderWindowBorder, to use ::renderWindowBackground consistently
svn path=/trunk/KDE/kdebase/workspace/; revision=1021621
|
2009-09-09 17:02:07 +00:00 |
|
Hugo Pereira Da Costa
|
9e1f8372d1
|
use correct palette for rendering window border
svn path=/trunk/KDE/kdebase/workspace/; revision=1021620
|
2009-09-09 17:00:50 +00:00 |
|
Hugo Pereira Da Costa
|
4e60677a84
|
moved backgroundPalette to public (for use by nitrogenbutton)
svn path=/trunk/KDE/kdebase/workspace/; revision=1021619
|
2009-09-09 17:00:13 +00:00 |
|
Hugo Pereira Da Costa
|
60e95cc624
|
Used nitrogenclient::renderWindowBackground in place of helper::renderWindowBackground everywhere to honor 'solid color' in title outline. Removed useless white spaces
svn path=/trunk/KDE/kdebase/workspace/; revision=1021600
|
2009-09-09 16:28:01 +00:00 |
|
Hugo Pereira Da Costa
|
c66c2f05e5
|
added 'No Side Border' border side option. It is intermediate between Tiny and No Border.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021438
|
2009-09-09 07:40:07 +00:00 |
|
Hugo Pereira Da Costa
|
3fde3f12f4
|
added 'No Side Border' border side option. It is intermediate between Tiny and No Border.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021437
|
2009-09-09 07:39:16 +00:00 |
|
Hugo Pereira Da Costa
|
4208b2bf54
|
removed extra spaces
svn path=/trunk/KDE/kdebase/workspace/; revision=1021413
|
2009-09-09 06:22:42 +00:00 |
|
Hugo Pereira Da Costa
|
d403b12336
|
added proper handling of translation
svn path=/trunk/KDE/kdebase/workspace/; revision=1021412
|
2009-09-09 06:22:06 +00:00 |
|
Hugo Pereira Da Costa
|
b2c993dc3e
|
added i18n to tab names
svn path=/trunk/KDE/kdebase/workspace/; revision=1021411
|
2009-09-09 06:20:57 +00:00 |
|
Hugo Pereira Da Costa
|
ea7eb137e8
|
handle translation flag properly for exception definition
svn path=/trunk/KDE/kdebase/workspace/; revision=1021410
|
2009-09-09 06:20:06 +00:00 |
|
Hugo Pereira Da Costa
|
05f86c92fb
|
removed extra space :)
svn path=/trunk/KDE/kdebase/workspace/; revision=1021409
|
2009-09-09 06:19:26 +00:00 |
|
Hugo Pereira Da Costa
|
4dc99945a7
|
fixed handling of translation flag
svn path=/trunk/KDE/kdebase/workspace/; revision=1021407
|
2009-09-09 06:17:48 +00:00 |
|
Hugo Pereira Da Costa
|
a092867fe5
|
added proper flags to handle translations without breaking rc file
svn path=/trunk/KDE/kdebase/workspace/; revision=1021406
|
2009-09-09 06:14:01 +00:00 |
|
Matthew Woehlke
|
af15bebbdd
|
mass whitespace cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=1021371
|
2009-09-09 00:55:55 +00:00 |
|
Hugo Pereira Da Costa
|
4fa4dbd740
|
removed unused 'active' parameter do ::shadowPixmap
svn path=/trunk/KDE/kdebase/workspace/; revision=1021077
|
2009-09-08 00:51:26 +00:00 |
|
Hugo Pereira Da Costa
|
d982b5060c
|
removed unused 'active' parameter do ::shadowPixmap; added Qt::insertClip when necessary to honour paintEvent clip
svn path=/trunk/KDE/kdebase/workspace/; revision=1021076
|
2009-09-08 00:50:22 +00:00 |
|
Hugo Pereira Da Costa
|
51849696d1
|
changed variables initialization order to avoid compiler warning
svn path=/trunk/KDE/kdebase/workspace/; revision=1021075
|
2009-09-08 00:48:39 +00:00 |
|
Hugo Pereira Da Costa
|
1de5b831bd
|
initialize titleOutline at startup
svn path=/trunk/KDE/kdebase/workspace/; revision=1021053
|
2009-09-07 22:43:17 +00:00 |
|
Hugo Pereira Da Costa
|
5a2f9d5319
|
moved 'outline title' and 'draw separator' from general to advanced tab (suggested by Lucas, and I think it would make Nuno happy, and I like it). Also moved interlock between 'title highlight' and 'draw separator' from config to nitrogenconfigurationui
svn path=/trunk/KDE/kdebase/workspace/; revision=1020968
|
2009-09-07 18:23:18 +00:00 |
|
Hugo Pereira Da Costa
|
e9de48ff50
|
moved interlock between 'title highlight' and 'draw separator' from config to nitrogenconfigurationui
svn path=/trunk/KDE/kdebase/workspace/; revision=1020967
|
2009-09-07 18:20:17 +00:00 |
|
Hugo Pereira Da Costa
|
fe6b5e2087
|
set size grip visibility immediatly after created, rather than in reset-configuration (was causing a crash with compiz because of not testing 'hasSizeGrip')
svn path=/trunk/KDE/kdebase/workspace/; revision=1020954
|
2009-09-07 17:41:42 +00:00 |
|
Hugo Pereira Da Costa
|
3455dda8d5
|
used inline functions to get decisions that combine multiple options and window state
svn path=/trunk/KDE/kdebase/workspace/; revision=1020951
|
2009-09-07 17:26:56 +00:00 |
|
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
|
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 |
|