Revision 49a9180...

Go back to digest for 29th January 2012

Optimization in Educational

Florian Eßer committed changes in [marble] /plugins/render/elevationprofile:

ElevationProfile: Refactoring

Refactoring of the ElevationProfile plugin code.
* axis handling moved to a dedicated class,
no more double-code for X and Y scale calculation
* try to generate 'nicer' interval ticks, e.g. 42.5 instead of 42.444
* "double click -> jump to location" now works in zoom mode, too
* minor optical changes
* shortened the "Elevation difference" text to not get cropped in
Marble Touch
REVIEW: 103793

File Changes

Added 2 files
  • /plugins/render/elevationprofile
  •   src/ElevationProfilePlotAxis.cpp
  •   src/ElevationProfilePlotAxis.h
Modified 3 files
  • /plugins/render/elevationprofile
  •   src/CMakeLists.txt
  •   src/ElevationProfileFloatItem.cpp
  •   src/ElevationProfileFloatItem.h
5 files changed in total