UI: Change cursor when interacting with the preview

Includes move, resize, crop, stretch, box select.
This commit is contained in:
Matt Gajownik
2020-08-23 06:26:56 -07:00
committed by jp9000
parent b8e2220b61
commit ff23eb4a24
2 changed files with 50 additions and 0 deletions
+2
View File
@@ -92,6 +92,8 @@ private:
void GetStretchHandleData(const vec2 &pos);
void UpdateCursor(uint32_t &flags);
void SnapStretchingToScreen(vec3 &tl, vec3 &br);
void ClampAspect(vec3 &tl, vec3 &br, vec2 &size, const vec2 &baseSize);
vec3 CalculateStretchPos(const vec3 &tl, const vec3 &br);