mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-16 04:35:58 +00:00
To start painting, call: gui$get_window_backing_store() Then finish up with: gui$release_window_backing_store() Process will retain the underlying GraphicsBitmap behind the scenes. This fixes racing between the WindowServer and GUI clients. This patch also adds a WSWindowLocker that is exactly what it sounds like.
19 lines
573 B
C
19 lines
573 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_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
|
|
|