Files
Upsilon/apps/curve_view_cursor.cpp
Émilie Feral affda5eae9 [apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers.

Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
2017-01-10 13:35:19 +01:00

22 lines
280 B
C++

#include "curve_view_cursor.h"
#include <math.h>
CurveViewCursor::CurveViewCursor() :
m_x(NAN),
m_y(NAN)
{
}
float CurveViewCursor::x() {
return m_x;
}
float CurveViewCursor::y() {
return m_y;
}
void CurveViewCursor::moveTo(float x, float y) {
m_x = x;
m_y = y;
}