summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'window.h')
-rw-r--r--window.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/window.h b/window.h
index cd6def7..7fa684f 100644
--- a/window.h
+++ b/window.h
@@ -23,6 +23,7 @@
struct Window;
struct Frame;
+struct Overlay;
struct WindowEventHandlers {
void (*OnClose)(void* user);
@@ -42,4 +43,10 @@ bool WindowAssignFrames(struct Window* window, size_t nframes,
bool WindowShowFrame(struct Window* window, size_t index);
void WindowDestroy(struct Window* window);
+struct Overlay* OverlayCreate(const struct Window* window, int x, int y,
+ int width, int height);
+void* OverlayLock(struct Overlay* overlay);
+void OverlayUnlock(struct Overlay* overlay);
+void OverlayDestroy(struct Overlay* overlay);
+
#endif // RECEIVER_WINDOW_H_