diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-29 07:26:01 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-29 07:26:01 +0200 |
commit | 5ded77df39e816f565b26761624893d085ca6eef (patch) | |
tree | b840f17e0038d3e8e09f5e530a6b3af3c1d802ac /Kernel/KeyCode.h | |
parent | 7356fd389f4e73f98f3c28b91830189fea109b5b (diff) | |
download | serenity-5ded77df39e816f565b26761624893d085ca6eef.zip |
Kernel+ProcessManager: Let processes have an icon and show it in the table.
Processes can now have an icon assigned, which is essentially a 16x16 RGBA32
bitmap exposed as a shared buffer ID.
You set the icon ID by calling set_process_icon(int) and the icon ID will be
exposed through /proc/all.
To make this work, I added a mechanism for making shared buffers globally
accessible. For safety reasons, each app seals the icon buffer before making
it global.
Right now the first call to GWindow::set_icon() is what determines the
process icon. We'll probably change this in the future. :^)
Diffstat (limited to 'Kernel/KeyCode.h')
0 files changed, 0 insertions, 0 deletions