Commit graph

238 commits

Author SHA1 Message Date
Luboš Luňák
5a50381e1f Move the shader used for painting to WindowPaintData, as it's
more related to one painting than to a window.


svn path=/trunk/KDE/kdebase/workspace/; revision=698576
2007-08-10 11:26:58 +00:00
Script Kiddy
d3f83ad297 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=698492

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/KDE34.png.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/kde_box.png.desktop
2007-08-10 06:30:15 +00:00
Script Kiddy
63d5be3eb6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=698098
2007-08-09 05:49:22 +00:00
Luboš Luňák
23c4852806 Don't cause additional painting when not necessary.
svn path=/trunk/KDE/kdebase/workspace/; revision=697976
2007-08-08 15:54:21 +00:00
Luboš Luňák
30eb55863c Make WindowPaintData ctor require an EffectWindow argument,
which is used to fill it in. Makes thumbnails work again.


svn path=/trunk/KDE/kdebase/workspace/; revision=697961
2007-08-08 14:42:06 +00:00
Script Kiddy
ecb89e482e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=697207
2007-08-07 05:42:29 +00:00
Laurent Montel
994c800d79 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/workspace/; revision=695877
2007-08-03 06:59:24 +00:00
Script Kiddy
ff19613051 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=695421

The following changes were in SVN, but were removed from git:

M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-08-02 04:55:02 +00:00
Script Kiddy
9bfd158be3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=694108
2007-07-30 04:47:23 +00:00
Script Kiddy
9d30e8e178 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=693808

The following changes were in SVN, but were removed from git:

M	wallpapers/KDE34.png.desktop
M	wallpapers/kde_box.png.desktop
2007-07-29 05:20:59 +00:00
Script Kiddy
573f2f4e07 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=693473

The following changes were in SVN, but were removed from git:

M	wallpapers/KDE34.png.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
2007-07-28 05:36:34 +00:00
Script Kiddy
f190e6654a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=691191

The following changes were in SVN, but were removed from git:

M	wallpapers/soft-green.jpg.desktop
2007-07-23 05:31:49 +00:00
Luboš Luňák
4dd8d34c8f Don't make texture coordinates in WindowVertex public at all,
the meaning may possibly change in the future if more than one texture
is used. Instead store original coordinates.


svn path=/trunk/KDE/kdebase/workspace/; revision=689918
2007-07-19 14:35:55 +00:00
Rivo Laks
7273d0ddb5 Add setTransformed() helper method
svn path=/trunk/KDE/kdebase/workspace/; revision=689913
2007-07-19 14:05:59 +00:00
Luboš Luňák
96aba51960 Add a helper to turn on transparency in pre-paint calls.
svn path=/trunk/KDE/kdebase/workspace/; revision=689910
2007-07-19 13:32:46 +00:00
Luboš Luňák
e1c5f18414 Separate rendering for decoration and window contents, they can have
different opacity (opacity only for decoration option).


svn path=/trunk/KDE/kdebase/workspace/; revision=689855
2007-07-19 10:07:49 +00:00
Script Kiddy
6b71cd62db SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=689774
2007-07-19 05:35:59 +00:00
Script Kiddy
f0aaf16e6a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=689367
2007-07-18 05:47:25 +00:00
Luboš Luňák
fd50ea91da Turned off by default - it uses shaders, and here it gives strange painting
errors (probably because of missing support).


svn path=/trunk/KDE/kdebase/workspace/; revision=688692
2007-07-16 16:11:10 +00:00
Rivo Laks
1552ad2c11 Same here: don't render null icons
svn path=/trunk/KDE/kdebase/workspace/; revision=688599
2007-07-16 11:51:54 +00:00
Rivo Laks
1ec2b1d228 Don't try to draw icon for windows that don't have one
svn path=/trunk/KDE/kdebase/workspace/; revision=688598
2007-07-16 11:50:01 +00:00
Script Kiddy
faf536a3b8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=688446
2007-07-16 05:54:55 +00:00
Script Kiddy
6ea0340fb7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=688104

The following changes were in SVN, but were removed from git:

M	wallpapers/KDE34.png.desktop
M	wallpapers/kde_box.png.desktop
2007-07-15 05:44:15 +00:00
Rivo Laks
11cff2c158 Add LookingGlass, a fancier-looking magnifier.
svn path=/trunk/KDE/kdebase/workspace/; revision=687380
2007-07-13 13:22:09 +00:00
Script Kiddy
28b7aaff53 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=686328
2007-07-11 04:56:34 +00:00
Allen Winter
5c93175949 remove kde4_automoc()
svn path=/trunk/KDE/kdebase/workspace/; revision=685984
2007-07-10 09:14:12 +00:00
Script Kiddy
8e937c9c2e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=685927

The following changes were in SVN, but were removed from git:

M	wallpapers/sunshine-after-the-rain.jpg.desktop
2007-07-10 04:37:45 +00:00
Philip Falkner
69cbe51a4e Make BoxSwitch follow the KDE colour scheme.
svn path=/trunk/KDE/kdebase/workspace/; revision=685844
2007-07-09 21:05:59 +00:00
Philip Falkner
8b5806b90d Add support for window/desktop captions to BoxSwitch.
svn path=/trunk/KDE/kdebase/workspace/; revision=685843
2007-07-09 21:05:34 +00:00
Script Kiddy
66c8ac6103 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=685502
2007-07-09 04:50:47 +00:00
Philip Falkner
16317c3f39 Make use of the effects loading order capability; effect interaction
should be a little nicer now.


svn path=/trunk/KDE/kdebase/workspace/; revision=685472
2007-07-09 01:12:32 +00:00
Script Kiddy
96f194ed10 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=685143
2007-07-08 04:44:31 +00:00
Luboš Luňák
5faa397849 Vertex redesign - redo the way windows are split into smaller parts
for use in effects (and not only). Now a list of window quads (=window areas)
is created at the beginning of the paint pass, prepaint calls can modify
the split itself (i.e. divide it into more parts). The actual paint calls
can then modify these quads (i.e. transform their geometry). This will allow
better control of how the split is done and also allow painting e.g. only
the decoration differently. Still work in progress, but it works.
Also pass data to prepaint functions in a struct, as there is
already quite a number of them.


svn path=/trunk/KDE/kdebase/workspace/; revision=684893
2007-07-07 14:01:32 +00:00
Rivo Laks
6c8b18f379 Add support for effect ordering.
Effects can now have e.g.  X-Ordering=10  field in their .desktop file. The bigger the number,
  the later the effect comes.

svn path=/trunk/KDE/kdebase/workspace/; revision=684272
2007-07-06 12:38:41 +00:00
Rivo Laks
e1728afc9b Unbreak build
svn path=/trunk/KDE/kdebase/workspace/; revision=684262
2007-07-06 12:23:34 +00:00
Script Kiddy
8275d82008 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=684084
2007-07-06 05:07:50 +00:00
Philip Falkner
09bb0f7cd2 Experimental fade effect, blatantly inspired by compiz.
Note that this while this can reliably fade opened/closed windows, it
will only fade opacity/brightness/saturation changes from previously
loaded effects.  Until we can specify effects' loading order, the
results may not be what you expect.  Don't be too surprised if this
gets reverted.


svn path=/trunk/KDE/kdebase/workspace/; revision=683983
2007-07-05 20:19:10 +00:00
Rivo Laks
913d8395d8 Add window icons to PresentWindows.
Code stolen from BoxSwitch ;-)

svn path=/trunk/KDE/kdebase/workspace/; revision=683858
2007-07-05 11:41:02 +00:00
Rivo Laks
e4d1976e84 - Highlight has smaller corners than the frame
- The icon now also has a background

svn path=/trunk/KDE/kdebase/workspace/; revision=683752
2007-07-05 08:57:10 +00:00
Script Kiddy
5241fc4c33 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=683698
2007-07-05 05:35:58 +00:00
Rivo Laks
3ae169fba9 Make boxswitch less boxy by using some rounded corners
svn path=/trunk/KDE/kdebase/workspace/; revision=683517
2007-07-04 20:34:39 +00:00
Rivo Laks
42a4d364c2 Add a generic function to render a box with rounded corners.
Algorithm is basically same as for shadow, perhaps even shadow will use it.

svn path=/trunk/KDE/kdebase/workspace/; revision=683514
2007-07-04 20:33:35 +00:00
Rivo Laks
69ad089958 Give the shadow a minimum size (otherwise rounded corners will break)
svn path=/trunk/KDE/kdebase/workspace/; revision=683444
2007-07-04 18:24:54 +00:00
Rivo Laks
379bdf9b7f Add accessibility category and move some effects there
svn path=/trunk/KDE/kdebase/workspace/; revision=683230
2007-07-04 12:34:58 +00:00
Rivo Laks
3bcf28270d Arg... install the shadow texture
svn path=/trunk/KDE/kdebase/workspace/; revision=683215
2007-07-04 11:46:50 +00:00
Rivo Laks
f8c9908f0a Add comments
svn path=/trunk/KDE/kdebase/workspace/; revision=683213
2007-07-04 11:44:05 +00:00
Rivo Laks
bad6237218 - Implement textured shadows.
The default texture gives you nice rounded corners, but it can be changed to do something more fancy ;-)
- Fix a shadow transformation/rendering problem

svn path=/trunk/KDE/kdebase/workspace/; revision=683210
2007-07-04 11:39:30 +00:00
Rivo Laks
83b335c86c These were not supposed to be enabled by default
svn path=/trunk/KDE/kdebase/workspace/; revision=683202
2007-07-04 11:27:23 +00:00
Rivo Laks
5af2cb8dda Add sharpen effect which does some basic sharpening.
Also requires shaders and shortcut is Ctrl+F7 for now.

svn path=/trunk/KDE/kdebase/workspace/; revision=683165
2007-07-04 10:01:04 +00:00
Rivo Laks
f69139e825 Add invert effect which inverts aka negates desktop's colors.
Shortcut is Ctrl+F6 for now.
  Requires shaders.

svn path=/trunk/KDE/kdebase/workspace/; revision=683162
2007-07-04 09:59:07 +00:00