aboutsummaryrefslogtreecommitdiff
path: root/projectionhistory.h
AgeCommit message (Collapse)Author
2016-03-02Improvements related to ColorScale and screenshots.Samuel Fadel
* ColorScale: now a pointer whenever needed. main() takes care of updating extents * New class DivergentColorScale: works specifically for divergent scales, always has 3 colors as input: negative values, 0, positive values * ManipulationHandler: ProjectionHistory no longer needed
2016-02-12Refactoring of Projection{Observer,History} & ManipulationHandler.Samuel Fadel
ProjectionObserver class has been removed, all of its functionality is now inside class ProjectionHistory, thus dealing with the design problem mentioned in the previous commit. ProjectionHistory is now also responsible for all rewinding functionality, which makes more sense.
2016-02-11Modified the way the history interacts with other components.Samuel Fadel
* Main class is now responsible for updating map components whenever the current map changes (even rewinding): this simplifies other objects because they don't have to know anything about how the data is being displayed later (no CP/RP juggling everywhere) * Added undo/reset actions to main view, including menu items * ProjectionHistory now has specific signals for each change happening to the history
2016-02-10Added ProjectionHistory object for history tracking.Samuel Fadel