Revision 1217394
Go back to digest for 30th January 2011Optimization in KDE Base
Sebastian Kügler committed changes in /trunk/KDE/kdeplasma-addons/applets/webslice:
Refactor kgraphicswebslice
With this larger update, we tie down the whole setup process, and waste a lot less cycles resizing.
In particular:
- zoom method: zooms to specific slice
- less unnecessary resizing (still room for improvement)
- make switching between preview and slice mode work
- fix slice geometry for previews and slice modes
- cache geometries: faster and less dicking around with zoomFactor
- Make applet freely resizable: no fixed aspect mode anymore
- Resizing is also a lot faster now
Cleanup pending.
File Changes
Modified 4 files
- /trunk/KDE/kdeplasma-addons/applets/webslice
- /kgraphicswebslice.cpp
- /kgraphicswebslice.h
- /plasma/webslice.cpp
- /plasma/webslice.h
4 files changed in total