Searched refs:newTopLeftY (Results 1 – 2 of 2) sorted by relevance
57 int boundsUp(int newTopLeftY, const bool mouse = true);58 int boundsDown(int newTopLeftY, const bool mouse = true);
306 int QuickEditor::boundsUp(int newTopLeftY, const bool mouse) in boundsUp() argument308 if (newTopLeftY < 0) { in boundsUp()310 mStartPos.setY(mStartPos.y() + newTopLeftY * devicePixelRatioI); in boundsUp()312 newTopLeftY = 0; in boundsUp()315 return newTopLeftY; in boundsUp()318 int QuickEditor::boundsDown(int newTopLeftY, const bool mouse) in boundsDown() argument322 const int yOffset = newTopLeftY - realMaxY; in boundsDown()327 newTopLeftY = realMaxY; in boundsDown()330 return newTopLeftY; in boundsDown()