Home
last modified time | relevance | path

Searched refs:newTopLeftY (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/spectacle/spectacle-21.12.3/src/QuickEditor/
H A DQuickEditor.h57 int boundsUp(int newTopLeftY, const bool mouse = true);
58 int boundsDown(int newTopLeftY, const bool mouse = true);
H A DQuickEditor.cpp306 int QuickEditor::boundsUp(int newTopLeftY, const bool mouse) in boundsUp() argument
308 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() argument
322 const int yOffset = newTopLeftY - realMaxY; in boundsDown()
327 newTopLeftY = realMaxY; in boundsDown()
330 return newTopLeftY; in boundsDown()