summaryrefslogtreecommitdiff
path: root/src/kernel/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/window.h')
-rw-r--r--src/kernel/window.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kernel/window.h b/src/kernel/window.h
index 60b81ea..0aa9b0f 100644
--- a/src/kernel/window.h
+++ b/src/kernel/window.h
@@ -5,6 +5,8 @@
#include <winact.h>
+#include "task.h"
+
struct window;
void paint_bg();
@@ -12,7 +14,7 @@ void paint_bg();
struct window *new_window(uint16_t width, uint16_t height, const void *pixel_buffer);
void del_window(struct window *w);
-void resize_window(struct window *w, uint16_t width, uint16_t height);
+void resize_window(struct window *w, uint16_t width, uint16_t height, const void *pixel_buffer);
void reassign_pixel_buffer(struct window *w, const void *pixel_buffer);
void push_window_paint(const struct window *w);
struct window_action next_window_action(struct window *w);
@@ -20,4 +22,6 @@ void wait_window_action();
void on_action(struct window_action packet);
+void delete_any_windows_from(struct task_state *tstate);
+
#endif