Files
Upsilon/apps/shared/curve_view_cursor.cpp
Émilie Feral 23026b6718 [apps/shared] Namespace shared
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00

26 lines
303 B
C++

#include "curve_view_cursor.h"
#include <math.h>
namespace Shared {
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;
}
}