aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scatterplot.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/scatterplot.h b/scatterplot.h
index c928439..2f83719 100644
--- a/scatterplot.h
+++ b/scatterplot.h
@@ -90,13 +90,13 @@ private:
std::vector<bool> m_selection;
int m_brushedItem;
- enum InteractionState {
- INTERACTION_NONE,
- INTERACTION_SELECTING,
- INTERACTION_SELECTED,
- INTERACTION_BEGIN_MOVING,
- INTERACTION_MOVING
- } m_currentInteractionState;
+ enum State {
+ STATE_NONE,
+ STATE_SELECTING,
+ STATE_SELECTED,
+ STATE_BEGIN_MOVING,
+ STATE_MOVING
+ } m_interactionState;
QPointF m_dragOriginPos, m_dragCurrentPos;