cleaned Y coordinates

This commit is contained in:
itsmattkc
2019-10-11 18:37:19 +11:00
parent 1ded30c1d9
commit 937acd4c8c
6 changed files with 8 additions and 32 deletions
+1 -17
View File
@@ -28,25 +28,9 @@ TimelineViewRect::TimelineViewRect(QGraphicsItem* parent) :
}
const int &TimelineViewRect::Y()
{
return y_;
}
void TimelineViewRect::SetY(const int &y)
void TimelineViewRect::SetYCoords(int y, int height)
{
y_ = y;
UpdateRect();
}
const int &TimelineViewRect::Height()
{
return height_;
}
void TimelineViewRect::SetHeight(const int &height)
{
height_ = height;
UpdateRect();