Hugo Pereira Da Costa
|
c0c3189ef2
|
simplified color handling in renderFloatFrame
svn path=/trunk/KDE/kdebase/workspace/; revision=1035784
|
2009-10-15 20:59:24 +00:00 |
|
Hugo Pereira Da Costa
|
5286a2f849
|
fixed colors to use oxygenHelper
svn path=/trunk/KDE/kdebase/workspace/; revision=1035714
|
2009-10-15 17:47:55 +00:00 |
|
Hugo Pereira Da Costa
|
e26538e368
|
port design changes from tabbing branch to trunk: new title outline design; simplification of layout metrics; proper handling of text ellision; simplification of shadow cache; addition of to local button types. In oxygen.h also temporarily added missing enumeration to ease compilation against kde4.3
svn path=/trunk/KDE/kdebase/workspace/; revision=1035658
|
2009-10-15 16:03:30 +00:00 |
|
Hugo Pereira Da Costa
|
253892d5dd
|
More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035245
|
2009-10-14 15:36:38 +00:00 |
|
Hugo Pereira Da Costa
|
e748b5244b
|
More code cleanup: moved declaration of 'reduceContrast' and 'renderDot' global functions to oxygenclient.h. Added 'renderFlags' to control which part of the button is to be drawn. Also added flag to force button as 'inactive' even if belonging to an active window (needed for window tabs)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035241
|
2009-10-14 15:36:08 +00:00 |
|
Hugo Pereira Da Costa
|
f898d1193f
|
more cleanup. Made sure methods are declared and implemented in the same order (blush)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035206
|
2009-10-14 14:37:58 +00:00 |
|
Hugo Pereira Da Costa
|
01ae18d6a7
|
moved dots and float frame rendering to separate methods (for clean-up and to make merging with tab branch easier)
svn path=/trunk/KDE/kdebase/workspace/; revision=1035200
|
2009-10-14 14:28:37 +00:00 |
|
Hugo Pereira Da Costa
|
cef60f90cb
|
removed useless colorCacheInvalid_ member
svn path=/trunk/KDE/kdebase/workspace/; revision=1034964
|
2009-10-14 02:55:40 +00:00 |
|
Hugo Pereira Da Costa
|
bd80aaceb1
|
fixed very stupid bug that would prevent to add new exceptions to the list
svn path=/trunk/KDE/kdebase/workspace/; revision=1034958
|
2009-10-14 01:24:09 +00:00 |
|
Hugo Pereira Da Costa
|
9044453b35
|
fixed (tiny) glitch for bottom corners in 'no side border' mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1034926
|
2009-10-13 23:21:34 +00:00 |
|
Hugo Pereira Da Costa
|
7d7d986428
|
fixed vertical translation of buttons and title when compositing is disabled; Added an extra pixel to borderTiny when compositing is disabled (otherwise one can't draw the resize 'dots' due to the float frame; and used helper::roundedMask and helper::rounderRegion to minimize code duplication with style
svn path=/trunk/KDE/kdebase/workspace/; revision=1034562
|
2009-10-13 03:38:26 +00:00 |
|
Hugo Pereira Da Costa
|
7f6ff0dd02
|
removed usage of static global variables (static is bad afaik). Everything is controled by the factory.
svn path=/trunk/KDE/kdebase/workspace/; revision=1034554
|
2009-10-13 01:45:01 +00:00 |
|
Hugo Pereira Da Costa
|
c5641a3827
|
modified activeChange animation so that it seems to start earlier (e.g. with first step being a non-zero fraction of the final glow)
svn path=/trunk/KDE/kdebase/workspace/; revision=1034229
|
2009-10-12 07:26:07 +00:00 |
|
Hugo Pereira Da Costa
|
3c3d093d2b
|
set local reference to client as const. Safer
svn path=/trunk/KDE/kdebase/workspace/; revision=1034053
|
2009-10-11 20:30:38 +00:00 |
|
Hugo Pereira Da Costa
|
d736178bb5
|
fixed drawFloatFrame issue in titleoutline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1034042
|
2009-10-11 20:00:14 +00:00 |
|
Hugo Pereira Da Costa
|
00e9cbd9a9
|
changed 'default' button size from 22 to 20
svn path=/trunk/KDE/kdebase/workspace/; revision=1034014
|
2009-10-11 19:03:47 +00:00 |
|
Hugo Pereira Da Costa
|
7bfdee649b
|
changed default glow configuration to have larger glow and lighter colors
svn path=/trunk/KDE/kdebase/workspace/; revision=1034011
|
2009-10-11 19:02:39 +00:00 |
|
Hugo Pereira Da Costa
|
d614414bac
|
removed color overwrite for checked sticky button: it conflicts with icon contrast pixel
svn path=/trunk/KDE/kdebase/workspace/; revision=1034010
|
2009-10-11 19:01:07 +00:00 |
|
Hugo Pereira Da Costa
|
a528f0e7ac
|
made 'on all desktops' button appear 'pressed' when checked, to be more visible
svn path=/trunk/KDE/kdebase/workspace/; revision=1034009
|
2009-10-11 18:56:30 +00:00 |
|
Hugo Pereira Da Costa
|
09364cdac0
|
removed unnecessary block braces
svn path=/trunk/KDE/kdebase/workspace/; revision=1033971
|
2009-10-11 17:13:50 +00:00 |
|
Hugo Pereira Da Costa
|
3d531bf4b2
|
redesign active window glow following Nuno's SVG; Changed default shadow parameters accordingly; and Changed scale of shadowSize in config dialog to physical scale.
svn path=/trunk/KDE/kdebase/workspace/; revision=1033963
|
2009-10-11 17:10:08 +00:00 |
|
Andrew Coles
|
bc10bae07e
|
More proof-reading in recent strings (have been out the loop for a while).
svn path=/trunk/KDE/kdebase/workspace/; revision=1033231
|
2009-10-09 19:15:18 +00:00 |
|
Hugo Pereira Da Costa
|
3a155c8f8c
|
do not translate buttons up for maximized windows, because it collides with screen border otherwise
svn path=/trunk/KDE/kdebase/workspace/; revision=1032967
|
2009-10-09 00:26:57 +00:00 |
|
Hugo Pereira Da Costa
|
458ded5de1
|
moved title and buttons one pixel up, adjusted title outline and window border (in outline mode) accordingly. Also added a 'shadow' pixel on the sides and at the bottom of the active window border outline, and removed an unnecessary 'if( true )'.
svn path=/trunk/KDE/kdebase/workspace/; revision=1032966
|
2009-10-09 00:19:32 +00:00 |
|
Hugo Pereira Da Costa
|
90f10f219a
|
implemented new buttons (from nuno)
svn path=/trunk/KDE/kdebase/workspace/; revision=1032950
|
2009-10-08 23:01:35 +00:00 |
|
Hugo Pereira Da Costa
|
a6db3e0b09
|
more subtle changes to drawFloatFrame
svn path=/trunk/KDE/kdebase/workspace/; revision=1032457
|
2009-10-07 21:24:23 +00:00 |
|
Hugo Pereira Da Costa
|
6532a7445c
|
re-enabled shadow transitions (disabled due to a bug in logics)
svn path=/trunk/KDE/kdebase/workspace/; revision=1032348
|
2009-10-07 15:38:18 +00:00 |
|
Hugo Pereira Da Costa
|
5fdf18e65f
|
readded '-1' pixel offset; reverted to old CMakeList.txt; removed unecessary ifdef in oxygen.h (should not have been commited in the first place.
svn path=/trunk/KDE/kdebase/workspace/; revision=1032315
|
2009-10-07 14:26:52 +00:00 |
|
Hugo Pereira Da Costa
|
f957a7b7cd
|
fixed drawFloatFrame for shaded maximized windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1032310
|
2009-10-07 14:23:14 +00:00 |
|
Hugo Pereira Da Costa
|
388d2c8b16
|
uses small size QRect for floatframe in no-side-border and no-border mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1032145
|
2009-10-07 01:52:36 +00:00 |
|
Hugo Pereira Da Costa
|
ee9a1c1e0a
|
re-added the 1 pixel contrast on the top and sides of the titlebar, for 'no-border' and 'no-side-border' window border sizes. This requires svn external update of lib/helper.
svn path=/trunk/KDE/kdebase/workspace/; revision=1032139
|
2009-10-07 00:54:15 +00:00 |
|
Burkhard Lück
|
4d4c8d91e7
|
typo fix reported by marce <mvillarino@gmail.com> on kde-i18n-doc
svn path=/trunk/KDE/kdebase/workspace/; revision=1032056
|
2009-10-06 18:44:40 +00:00 |
|
Hugo Pereira Da Costa
|
967720ecbe
|
fixed regression concerning title vertical alignment
svn path=/trunk/KDE/kdebase/workspace/; revision=1031812
|
2009-10-06 07:33:44 +00:00 |
|
Hugo Pereira Da Costa
|
8df96b21ba
|
removed unused light/dark colors; moved painter translation before drawing of menu icon for consistency with other buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=1031800
|
2009-10-06 06:36:52 +00:00 |
|
Hugo Pereira Da Costa
|
36e2deba85
|
fixed upper/lower case mismatch
svn path=/trunk/KDE/kdebase/workspace/; revision=1031797
|
2009-10-06 05:40:12 +00:00 |
|
Hugo Pereira Da Costa
|
3e7a0f9fce
|
fixed bug on title alignment when left/right centered, and put titleRect calculation in separate method for clean-up
svn path=/trunk/KDE/kdebase/workspace/; revision=1031796
|
2009-10-06 05:35:24 +00:00 |
|
Hugo Pereira Da Costa
|
e03269be68
|
moved title text bounding rect calculation to separate dedicated method
svn path=/trunk/KDE/kdebase/workspace/; revision=1031121
|
2009-10-04 01:36:14 +00:00 |
|
Hugo Pereira Da Costa
|
e7cdbe7e0d
|
added 'use animations' and 'animations duration' to configuration (although not shown in configuration dialog). added smooth fading of window title when changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1030276
|
2009-10-02 02:52:41 +00:00 |
|
Hugo Pereira Da Costa
|
67f1fa6451
|
removed useless kdebug
svn path=/trunk/KDE/kdebase/workspace/; revision=1030275
|
2009-10-02 02:49:31 +00:00 |
|
Hugo Pereira Da Costa
|
3856909aab
|
fixed bug with shaded|maximized window and sizeGrip (reported on kde-look)
svn path=/trunk/KDE/kdebase/workspace/; revision=1028753
|
2009-09-28 05:04:23 +00:00 |
|
Hugo Pereira Da Costa
|
89453d5147
|
removed use of QPainter::setOpacity to render transitions. This makes the code faster
svn path=/trunk/KDE/kdebase/workspace/; revision=1028374
|
2009-09-26 21:21:39 +00:00 |
|
Hugo Pereira Da Costa
|
edf8167f3c
|
improved animated transition in title-outline mode, by using mixed color rather than painter opacity
svn path=/trunk/KDE/kdebase/workspace/; revision=1028173
|
2009-09-26 04:57:27 +00:00 |
|
Hugo Pereira Da Costa
|
4e0f2a4d08
|
code cleanup: moved singletons from oxigenclient.cpp to oxygen.cpp; added relevant prototypes to oxygen.h and removed from .cpp files
svn path=/trunk/KDE/kdebase/workspace/; revision=1028170
|
2009-09-26 04:23:27 +00:00 |
|
Hugo Pereira Da Costa
|
01e5f22553
|
fixed (harmless) compilation warnings
svn path=/trunk/KDE/kdebase/workspace/; revision=1027373
|
2009-09-23 22:53:01 +00:00 |
|
Hugo Pereira Da Costa
|
955f04ae8e
|
simplified x11util::isSupported( Atom ) code, needed for the size grip, so that it calls XGetWindowProperty only once, in a way that is similar to what netwm.cpp does.
svn path=/trunk/KDE/kdebase/workspace/; revision=1027369
|
2009-09-23 22:44:35 +00:00 |
|
Hugo Pereira Da Costa
|
aedaa73dc4
|
Fixed painting of maximized shaded window to show bottom border and shadow.
BUG: 207926
svn path=/trunk/KDE/kdebase/workspace/; revision=1026061
|
2009-09-20 17:51:06 +00:00 |
|
Hugo Pereira Da Costa
|
b4f63cb440
|
fixed Qt headers; removed WX11 defines; removed 'using namespace std'
svn path=/trunk/KDE/kdebase/workspace/; revision=1025937
|
2009-09-20 07:42:03 +00:00 |
|
Hugo Pereira Da Costa
|
81174a9301
|
oops. Missing parenthesis
svn path=/trunk/KDE/kdebase/workspace/; revision=1025936
|
2009-09-20 06:54:09 +00:00 |
|
Hugo Pereira Da Costa
|
38a10045bc
|
More shadow issues fixed: removed unnecessary clipping. Fixed "square" corners when non-zero offsets. Fixed corner
bevel to handle rounding errors.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025935
|
2009-09-20 06:50:42 +00:00 |
|
Hugo Pereira Da Costa
|
f5945d0bbb
|
oops. Fixed one glitch when using very-large shadows
svn path=/trunk/KDE/kdebase/workspace/; revision=1025902
|
2009-09-20 00:56:52 +00:00 |
|