mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
WindowServer+LibGUI: Add ability to set per-window icons.
The icons are passed around as filesystem paths for now, since the shared memory bitmaps only support 2 sides.
This commit is contained in:
parent
7a74b76769
commit
c09c114d77
19 changed files with 151 additions and 16 deletions
|
@ -116,6 +116,8 @@ struct WSAPI_ServerMessage {
|
|||
bool is_active;
|
||||
bool is_minimized;
|
||||
WSAPI_WindowType window_type;
|
||||
int icon_path_length;
|
||||
char icon_path[256];
|
||||
} wm;
|
||||
struct {
|
||||
WSAPI_Rect rect;
|
||||
|
@ -193,6 +195,7 @@ struct WSAPI_ClientMessage {
|
|||
SetWindowOverrideCursor,
|
||||
WM_SetActiveWindow,
|
||||
PopupMenu,
|
||||
SetWindowIcon,
|
||||
};
|
||||
Type type { Invalid };
|
||||
int window_id { -1 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue