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
Lucas Murray
3fd898cbf7
Less warnings please.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031445
2009-10-05 07:58:12 +00:00
Lucas Murray
8cbce93613
Less warnings please.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031438
2009-10-05 06:59:10 +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
Script Kiddy
bd52c92b98
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1029577
The following changes were in SVN, but were removed from git:
M wallpapers/Atra_Dot/metadata.desktop
2009-09-30 09:40:28 +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
Laurent Montel
fee588cf10
Warning--
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1026431
2009-09-21 19:55:24 +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
Script Kiddy
272e68f224
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025950
The following changes were in SVN, but were removed from git:
M wallpapers/Evening/metadata.desktop
M wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-09-20 09:21:30 +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
Hugo Pereira Da Costa
2968cb9ce8
More work on shadows. This time both active and inactive shadows should be handled right for
...
borderless windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025901
2009-09-20 00:50:33 +00:00
Hugo Pereira Da Costa
99c012ab33
Changed inactive button shape to match active button; moved more methods inline; added smooth transition between active and inactive button
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025846
2009-09-19 21:12:57 +00:00
Hugo Pereira Da Costa
d581847b47
always enable 'smooth' transitions except for 'preview'. This allows to have smooth title bar text color transition even if everything (compositing, glow, separator, etc.) is disabled
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025845
2009-09-19 21:11:28 +00:00
Hugo Pereira Da Costa
8c6b8cde28
always enable 'smooth' transitions except for 'preview'. This allows to have smooth title bar text color transition even if everything (compositing, glow, separator, etc.) is disabled
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025844
2009-09-19 21:10:15 +00:00
Hugo Pereira Da Costa
1852c87178
invalidate shadow caches when color-scheme is changed. This fixes some issues with corner bevel
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025835
2009-09-19 20:32:23 +00:00
Hugo Pereira Da Costa
52daec1668
re-added 'index' setting for animated shadow (oops)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025569
2009-09-19 06:05:43 +00:00
Hugo Pereira Da Costa
9f4eea2a5f
moved all hash key inline; fixed glow for borderless windows; improved corner bevel
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025568
2009-09-19 05:51:31 +00:00
Hugo Pereira Da Costa
bc7425512a
added necessary additional bit to cache hash key for frameBorder, and relevant enum (in place of bool), accordingly. Also used ::Key to get shadow rather than Client, to make sure this does not happen again, and moved 'simpleShadowPixmap' to public.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025527
2009-09-18 23:55:18 +00:00
Hugo Pereira Da Costa
c955d16574
added smooth transition for title bar text color when switching between active and inactive state (previously available for 'outline' mode only)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025447
2009-09-18 19:47:53 +00:00
Hugo Pereira Da Costa
29cfa52c0a
disabled glow animation when a button is pressed -e.g. with right click, released, then left, because it was causing a glitch.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025378
2009-09-18 15:03:59 +00:00
Hugo Pereira Da Costa
40ab147f81
moved more functions inline and use reference to pass configuration around.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025142
2009-09-18 06:54:42 +00:00
Hugo Pereira Da Costa
ac90c3aef5
added missing flags to decide whether or not active/inactive transition should be animated
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025117
2009-09-18 02:20:43 +00:00
Hugo Pereira Da Costa
635c93bc5b
Added smooth transition between active and inactive state. This affects (when enabled) the window shadow,
...
the horizontal separator line, the titlebar text color and the title+border window outline.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025111
2009-09-18 01:32:27 +00:00
Hugo Pereira Da Costa
7813c45245
simplified button animation code
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025073
2009-09-17 23:08:49 +00:00
Hugo Pereira Da Costa
9eec5543bf
Moved all shadow handling into global cache oxygenShadowCache. This allows to share same
...
shadow tilesets between clients, thus reducing the memory usage; to simplify the oxygenclient
class; and leave room for optimizing active/inactive shadow transitions. The global class is
declared using K_GLOBAL_STATIC_WITH_ARGS.
Also cleaned-up unnecessary headers.
svn path=/trunk/KDE/kdebase/workspace/; revision=1025063
2009-09-17 22:40:06 +00:00
Hugo Pereira Da Costa
d58e7b7812
fixed (again) issue with shadow and mask for 'no-border' shaded windows, to cope with commit r1023615
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024918
2009-09-17 15:24:44 +00:00
Script Kiddy
c2049a9875
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024781
The following changes were in SVN, but were removed from git:
M wallpapers/Aghi/metadata.desktop
M wallpapers/Air/metadata.desktop
M wallpapers/Atra_Dot/metadata.desktop
M wallpapers/Code_Poets_Dream/metadata.desktop
M wallpapers/Curls_on_Green/metadata.desktop
M wallpapers/EOS/metadata.desktop
M wallpapers/Evening/metadata.desktop
M wallpapers/Fields_of_Peace/metadata.desktop
M wallpapers/Finally_Summer_in_Germany/metadata.desktop
M wallpapers/Fresh_Morning/metadata.desktop
M wallpapers/Plasmalicious/metadata.desktop
M wallpapers/Red_Leaf/metadata.desktop
M wallpapers/Spring_Sunray/metadata.desktop
M wallpapers/The_Rings_of_Saturn/metadata.desktop
M wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-09-17 09:29:41 +00:00
Lucas Murray
02909b5713
Make the default decoration settings even awesomer. Center aligned title
...
and no separator line.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024689
2009-09-17 08:16:46 +00:00
Hugo Pereira Da Costa
c5c7cd79d6
used OxygenShadowConfigration rather than shadowTileOption to detect if shadowTiles are to be recreated, because the latter was both incomplete and redundant with the former.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024657
2009-09-17 05:07:43 +00:00
Hugo Pereira Da Costa
2f5512e00e
put equal to operator inline, and fixed logic in order to disable check on outerColor, if the latter is not used
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024656
2009-09-17 05:05:45 +00:00
Hugo Pereira Da Costa
1495f281c2
fixed animation glitch when leaving button while pressed
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024652
2009-09-17 04:23:38 +00:00
Hugo Pereira Da Costa
45f5f00f9f
Removed oxygentimeline (was not working). Use qtimeline directly, to handle animations. It is simpler, and it is actually working. Also changed 'repaint' into 'update' for the slot connected to the timeLine FrameChanged signal. More efficient.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024648
2009-09-17 03:43:55 +00:00
Andreas Kling
ae06efee25
Fixed the vertical alignment of window titles.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024514
2009-09-16 18:36:55 +00:00
Hugo Pereira Da Costa
45717eeae9
Fixed glitch between glow pixmap and icon color when animating glow
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024491
2009-09-16 17:16:55 +00:00
Hugo Pereira Da Costa
e679d07b93
Added animated button glow.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024489
2009-09-16 17:09:33 +00:00
Script Kiddy
f28d0ef21e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024263
The following changes were in SVN, but were removed from git:
M wallpapers/Evening/metadata.desktop
2009-09-16 09:54:02 +00:00
Hugo Pereira Da Costa
363986a030
fixed Krazy stuff (headers, K classes in place of Q classes, and use of pointers to modal dialogs)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024127
2009-09-16 06:09:31 +00:00
Hugo Pereira Da Costa
1a0eb644f1
Fixed shadow description to 1/ better match old oxygen and ozone default shadow (when using default settings) 2/ avoid 'transparent' line around window when shadow is too small 3/ avoid flatness of inner shadow when shadow is too large. Also made vertical (and horizontal) offsets scale with shadow size, to keep top over bottom shadow size ratio constant.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024115
2009-09-16 03:19:36 +00:00
Hugo Pereira Da Costa
8244e7644f
Changed nitrogen class names and file names into oxygen; adding Oxygen namespace where missing; updated CMakeFiles.txt accordingly
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023654
2009-09-15 07:12:54 +00:00
Hugo Pereira Da Costa
8eecf6375c
Moved Nitrogen to Oxygen deco, and removed Nitrogen.
...
It is believed that Nitrogen is versatile enough to satisfy most users, and that it is
good-looking enough to make Nuno happy.
CCMAIL: kwin@kde.org
BUG: 160627
svn path=/trunk/KDE/kdebase/workspace/; revision=1023636
2009-09-15 06:25:06 +00:00
Hugo Pereira Da Costa
c7f4edf5e1
Removed oxygen decoration
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023633
2009-09-15 05:36:30 +00:00
Hugo Pereira Da Costa
a614c6fa55
fixed (again) corner bevel scaling. Disabled bevel of bottom corners in 'no-border' mode; and fixed glow gradient to implement offsets
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023615
2009-09-15 02:16:31 +00:00
Hugo Pereira Da Costa
d9e1f47050
fixed 'scaling' issue when drawing beveled corners
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023612
2009-09-15 01:43:18 +00:00
Hugo Pereira Da Costa
072ffcc405
try rationalize 'window-specifics' dialog text
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023600
2009-09-15 00:58:51 +00:00
Hugo Pereira Da Costa
be7affcaab
fixed class members naming convention
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023570
2009-09-14 23:10:19 +00:00
Andreas Hartmetz
37ec3b56af
fix the build. however it is *very* unclear what colorGroup[()?] actually is. two suggestion would be using naming conventions like m_* to mark member variables and not to be too clever with namespaces.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023561
2009-09-14 22:36:29 +00:00
Hugo Pereira Da Costa
f6973ae9dd
added support for fully configurable shadows, on agreement with Nuno.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023467
2009-09-14 19:21:39 +00:00
Hugo Pereira Da Costa
cb7e8d9644
added button to detect properties (title and class) from window under mouse to build window-specifics override. Also removed unnecessary setMargin and setSpacing to use KDE/QT defaults in dialog design
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1022971
2009-09-13 16:43:26 +00:00
Robin Harold Burchell
a1e6118f15
Make hitting buttons when maximized easier.
...
Reported and patched by Charles Huber.
CCBUG: 143851
svn path=/trunk/KDE/kdebase/workspace/; revision=1022908
2009-09-13 13:57:33 +00:00
Matthew Woehlke
35453d1e5b
Minor improvements to tab names/tooltips.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1022034
2009-09-10 16:05:14 +00:00
Hugo Pereira Da Costa
2a9b681f34
added reimp 'reset' method to update mask when compositing state is changed
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1021804
2009-09-10 05:13:25 +00:00
Hugo Pereira Da Costa
2371de7ac2
removed from relic code from kde-look times, that 1/ was intended to work with compiz 2/ is useless with kwin 3/ is obsoleted by compiz0.8.3
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1021691
2009-09-09 20:11:05 +00:00
Hugo Pereira Da Costa
2fcb5767d5
removed unused variables
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1021627
2009-09-09 17:14:23 +00:00
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
Andreas Hartmetz
298dc3051a
fix method signature; qreal != double on ARM.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1021353
2009-09-08 23:54:50 +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
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