aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-08-27 15:22:29 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-08-27 15:22:29 -0300
commit04e48cd798a28ad8df3233fa46b185d02d2d3f96 (patch)
tree7f5152883619d781f79f93ae936183b0012ede7e /scatterplot.h
parent09ba6872c6cfac49142a5c4b6d494c5c9d40aa4e (diff)
Renamed member m_currentState and reordered to match declaration and initialization.
Diffstat (limited to 'scatterplot.h')
-rw-r--r--scatterplot.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/scatterplot.h b/scatterplot.h
index a942217..a115755 100644
--- a/scatterplot.h
+++ b/scatterplot.h
@@ -43,21 +43,22 @@ private:
arma::mat m_xy;
float m_xmin, m_xmax, m_ymin, m_ymax;
- bool m_shouldUpdateGeometry, m_shouldUpdateMaterials;
-
- arma::vec m_colorData;
-
- ColorScale m_colorScale;
-
enum InteractionState {
INTERACTION_NONE,
INTERACTION_SELECTING,
INTERACTION_SELECTED,
INTERACTION_MOVING
- } m_currentState;
+ } m_currentInteractionState;
+
QPointF m_dragOriginPos, m_dragCurrentPos;
QSet<int> m_selectedGlyphs;
+
+ bool m_shouldUpdateGeometry, m_shouldUpdateMaterials;
+
+ arma::vec m_colorData;
+
+ ColorScale m_colorScale;
};
#endif // SCATTERPLOT_H