Commit graph

16 commits

Author SHA1 Message Date
Enrico Ros 49438a20f6 Performance fixes. Using pixmap backbuffer only if needed (and compositing
not explicitely disabled). Thus global compositing on PageView is used
only when needed. Considering wether to add a global accessibility enabling
function with a "This will affect performance" (due to local
doublebuffering) warning.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361453
2004-11-08 13:13:46 +00:00
Enrico Ros 5c80b0d140 misc
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361223
2004-11-07 17:16:04 +00:00
Enrico Ros 4baa91df5a PagePainter: painting code for images/links boundaries and added a flag for
enabling painting features. Adapt PageView and ThumbnailList to use flags
(PageView: all on, ThumbnailList: no links/images boundaries.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361183
2004-11-07 14:15:33 +00:00
Enrico Ros 3596d8ae9a Implemented page recoloring (invert, recolor, bw/contrast, etc..) and small
fixes. Need to find a better place for painting / compositing related
stuff.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360780
2004-11-05 18:14:20 +00:00
Enrico Ros b2db35fb96 Added license. Sorry for the WARNING.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360664
2004-11-05 10:51:49 +00:00
Enrico Ros c051a6d137 Added 'performance' dialog. Code still not in place. Need to implement all
options now. Changed some options inside kpdf.kcfg (KConfigXT configuration
description).

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360658
2004-11-05 10:27:38 +00:00
Enrico Ros 89cd5a2fa6 o Removed the PageViewOverlay class (a hack that permitted transparent
selection) in favour of a new common selection code that uses internal
compositing engine.
o Added 'copy GFX' (in addition to the already existant 'copy text') with
a popup that asks user wether to copy to clipboard or save the image to
a file. (note: maybe a merge between selection tools (text/gfx) is
possible).
o The Zoom Tool is now a mouse mode, not a zoom mode.
o Tuned PageViewMessage class and added tips somewhere.
o Reorganized some actions and cleanup in mouse mode related code.
o Updated plans (roadmap to HEAD and new things) in TODO.
o And.. well, de don't deal with gardening anymore :-) Thanks Michael!
CCMAIL: brade@kde.org

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360144
2004-11-03 17:35:48 +00:00
Enrico Ros 57572cc2e2 Incremental painting up and working with plain/composting renderers.
+Debug option in config dialog to toggle paint boundaries.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359276
2004-10-31 13:55:07 +00:00
Enrico Ros 3ec352b312 Getting deeper inside the paint stuff. Bypassed drawContents(..) and
reimplemented viewportPaintEvent(..). The region seems valid here, so we
can do incremental paint for every type of operation.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359251
2004-10-31 12:43:13 +00:00
Enrico Ros a9ab386752 PageView rewrite: new paint logic. Supports internal composting and direct
drawing (to support transparency without overlay hacks and blend in notes
and other stuff). I'm sure this can be simplified a lot, but I can't see
how to cut code now. ThumbnailList still has the old code.
Now we have no wasted repaints. Also per-page allocated memory is less. Now
we need more repaints, since the viewport gfx looks broken. I hope not to
revert this, but find a unique short way to describe composted gfx ops.
Note: there is a swith in config to switch between plain and composted
rendering engines.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=359096
2004-10-30 20:54:48 +00:00
Enrico Ros 624f0bed8f option to disable 'useful' messages on screen. (pageview's osd)
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358845
2004-10-29 20:20:21 +00:00
Enrico Ros a4cccdb4eb Removed saveSettings and use in place "Settings::setVariable(..)" instead.
(way more consistant) Removed duplicate values. Apply settings in Part's
slotNewConfig() on the fly.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358760
2004-10-29 13:33:51 +00:00
Enrico Ros 6dfa03a9fb reorganized some options
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358711
2004-10-29 10:28:29 +00:00
Enrico Ros b898560a67 ported some old options
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358710
2004-10-29 10:23:12 +00:00
Enrico Ros 93fc5f2e3c Added accessibility settings. We should take care of rendering/color
problems for partially blind and similar problems or even simple annoyances

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358599
2004-10-28 19:50:57 +00:00
Enrico Ros 580c3b6082 Added KConfigXT configuration management system.
The config class is Settings. Mutators are static.
Define new properties editing kpdf.kcfg with kdeextragear-3/kcfgcreator and
use setProperty( Type val ) and (val)property() to set/get property value.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358206
2004-10-27 14:10:57 +00:00