diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-10-22 08:15:45 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-10-22 08:23:59 +0200 |
commit | f5df0d289d1a06b325b70f9e1c2083ce6080d98a (patch) | |
tree | 9face03bf905375a04e9a3c14a49fad6497878ef /window.h | |
parent | 74e55721e93d95d35ae5e594cad360f407f47ae0 (diff) |
Add support for cropping and scaling of decoded framesv5
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,7 +40,8 @@ int WindowGetEventsFd(const struct Window* window); bool WindowProcessEvents(const struct Window* window); bool WindowAssignFrames(struct Window* window, size_t nframes, const struct Frame* frames); -bool WindowShowFrame(struct Window* window, size_t index); +bool WindowShowFrame(struct Window* window, size_t index, int x, int y, + int width, int height); void WindowDestroy(struct Window* window); struct Overlay* OverlayCreate(const struct Window* window, int x, int y, |