diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-06-04 15:37:25 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-06-04 16:12:55 +0200 |
commit | 148d71e5e62f8079d3cc227134b301b7bc548763 (patch) | |
tree | e60aa392c75e67a5901910379fe523eabeba2383 /window.h | |
parent | 0fa6c1cdd3d6dbea880e0ee2051f28e763e5b5d8 (diff) |
Add implementation of window overlays
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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_ |