summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-10-22 08:15:45 +0200
committerMikhail Burakov <mburakov@mailbox.org>2023-10-22 08:23:59 +0200
commitf5df0d289d1a06b325b70f9e1c2083ce6080d98a (patch)
tree9face03bf905375a04e9a3c14a49fad6497878ef /window.h
parent74e55721e93d95d35ae5e594cad360f407f47ae0 (diff)
Add support for cropping and scaling of decoded framesv5
Diffstat (limited to 'window.h')
-rw-r--r--window.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/window.h b/window.h
index 7fa684f..c2d074b 100644
--- a/window.h
+++ b/window.h
@@ -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,