mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
UI: Change cursor when interacting with the preview
Includes move, resize, crop, stretch, box select.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user