mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-14 11:45:04 +00:00
Instead of clients painting whenever they feel like it, we now ask that they paint in response to a paint message. After finishing painting, clients notify the WindowServer about the rect(s) they painted into and then flush eventually happens, etc. This stuff leaves us with a lot of badly named things. Need to fix that.
20 lines
636 B
C
20 lines
636 B
C
#pragma once
|
|
|
|
#include <sys/cdefs.h>
|
|
#include <Kernel/GUITypes.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
int gui_create_window(const GUI_WindowParameters*);
|
|
int gui_invalidate_window(int window_id, const GUI_Rect*);
|
|
int gui_notify_paint_finished(int window_id, const GUI_Rect*);
|
|
int gui_get_window_backing_store(int window_id, GUI_WindowBackingStoreInfo*);
|
|
int gui_release_window_backing_store(void* backing_store_id);
|
|
int gui_get_window_title(int window_id, char*, size_t);
|
|
int gui_set_window_title(int window_id, const char*, size_t);
|
|
int gui_get_window_rect(int window_id, GUI_Rect*);
|
|
int gui_set_window_rect(int window_id, const GUI_Rect*);
|
|
|
|
__END_DECLS
|
|
|