Hugo Pereira Da Costa
cc94dd9886
implemented drawSizeGrip and drawBorderOnMaximizedWindows options
11 years ago
Hugo Pereira Da Costa
5ef5740435
use in-class initialization
11 years ago
Hugo Pereira Da Costa
77f2667336
fancy in-class initialization :)
11 years ago
Hugo Pereira Da Costa
7699059de2
added drawSizeGrip and drawBorderOnMaximizedWindows options
11 years ago
Hugo Pereira Da Costa
069be4c25d
also initialize animation and opacity for standalone buttons
...
CCMAIL: mgraesslin@kde.org
11 years ago
Hugo Pereira Da Costa
9280f25d74
added copyright
11 years ago
Hugo Pereira Da Costa
371e0cc05c
added units
11 years ago
Hugo Pereira Da Costa
67e1dcfa2a
cleanup shadow rendering
11 years ago
Hugo Pereira Da Costa
efadfc24d4
Implement size grip for borderless windows
...
- implemented resize using xcb
- use xcb to move sizeGrip on resize because Qt move seems broken after widget is reparented
- use xcb to get sizegrip' root coordinate, because Qt MapTo methods are broken after widget is reparented
- protect all XCB calls behind typedef and runtime check
- disable sizeGrip if not in X11
11 years ago
Hugo Pereira Da Costa
453ad537cb
moved all button rendering to breezebutton, without caching
...
removed breezeimageprovider
adjust painter window to have more spacing around button
11 years ago
Hugo Pereira Da Costa
cfbddc9baa
use NegativeText color from kdeglobals for close button
11 years ago
Hugo Pereira Da Costa
f0768422c3
fixed outline color fading
11 years ago
Hugo Pereira Da Costa
0b5a35af30
fixed padding between buttons and text
11 years ago
Hugo Pereira Da Costa
80c437f61d
Moved configuration to the same library as the decoration plugin
...
added kcmodule keyword
removed unnecessary code
11 years ago
Hugo Pereira Da Costa
c6e35208c6
Fixed update rect on caption changed
...
Fixed too tight bounding rectangles
Fixed text alignment into bounding rect to avoid jitter
11 years ago
Hugo Pereira Da Costa
3af38fef9c
Improved rendering of buttons, in sync with breeze style
11 years ago
Hugo Pereira Da Costa
b62adbe3b5
reordered methods
...
improved rendering of shaded windows
11 years ago
Hugo Pereira Da Costa
540179d686
fixed shadow rendering in the corner
11 years ago
Hugo Pereira Da Costa
1ad9fc23c0
implemented animations for buttons
11 years ago
Hugo Pereira Da Costa
1e17d124dd
moved colors to public to allow access from button
11 years ago
Hugo Pereira Da Costa
ff5c32f9f2
added active state change animation
11 years ago
Hugo Pereira Da Costa
cc61aa262c
Added configuration widget
...
Not (yet) loaded inside kwin decoration kcm
11 years ago
Hugo Pereira Da Costa
0b0f104444
proper text alignment
11 years ago
Hugo Pereira Da Costa
9fbc898b4c
added internal settings
...
adjusted button sizes
11 years ago
Hugo Pereira Da Costa
04c2e8edef
simplified shadow rendering
11 years ago
Hugo Pereira Da Costa
f58e76cceb
adjusted button sizes
11 years ago
Hugo Pereira Da Costa
8a322486e5
increased decoration margins
...
increased button spacing
introduced button size
11 years ago
Hugo Pereira Da Costa
5b091d33cd
formatting
11 years ago
Hugo Pereira Da Costa
506739f34e
added button sizes
11 years ago
Hugo Pereira Da Costa
aef1bff69e
renamed breezedeco to breezedecoration to be in par with class name
...
fixed vertical positionning of buttons
11 years ago
Hugo Pereira Da Costa
15efa2284c
renamed file consistently to class
11 years ago
Hugo Pereira Da Costa
7a6328a2de
moved image provider to own class
11 years ago
Hugo Pereira Da Costa
fa5a7928e9
removed comment
11 years ago
Hugo Pereira Da Costa
e1067fdfa8
removed 'grey' spacing between active window outline and window body
...
reduced top size accordingly.
11 years ago
Hugo Pereira Da Costa
7667260904
moved color settings class to own file
...
some code formatting
11 years ago
Hugo Pereira Da Costa
f1204ec1a5
added metrics dedicated file
11 years ago
Martin Gräßlin
50b64c987c
[kdecoration] Share the DecorationShadow with all Decorations
11 years ago
Martin Gräßlin
f93eed20bb
[kdecoration] DecorationShadow is a QSharedPointer
11 years ago
Martin Gräßlin
4ad71b575d
Decoration::client returns a QWeakPointer
11 years ago
Martin Gräßlin
f5952afb3d
[kdecoration] DecorationButton changed to use real for position and size
11 years ago
Martin Gräßlin
48aa1f73c7
[kdecoration] paint takes QRect instead of QRegion
11 years ago
Martin Gräßlin
7409c956f0
[kdecoration] DecorationShadow uses QRect to describe element sizes
12 years ago
Martin Gräßlin
b104042249
[kdecoration] DecorationShadow uses QMargins for padding
12 years ago
Martin Gräßlin
c9e9aa54cf
[kdecoration] Rename DecoratedClient::borderingScreenEdges to adjacentScreenEdges
12 years ago
Martin Gräßlin
21149ac6da
[kdecoration] Decoration::titleRect renamed to ::titleBar
12 years ago
Martin Gräßlin
4c965144b4
[kdecoration] ExtendedBorders renamed to ResizeOnlyBorders
...
And is also a QMargins.
12 years ago
Martin Gräßlin
db4318156d
[kdecoration] Decoration uses QMargins for borders
12 years ago
Martin Gräßlin
3ca6751a07
[kdecoration] Paint methods take repaint region
12 years ago
Martin Gräßlin
e33fa37b47
Add a Preview mode to the Decoration Button
...
The plugin allows to create a KDecoration2::DecorationButton by
registering the keyword "button". If such a button is created the
rendering is slightly adjusted to always have the normal background,
so that it works as in a Preview.
12 years ago
Martin Gräßlin
671287706a
ImageProvider uses Breeze::Button* instead of KDecoration2::DecorationButton*
12 years ago