summaryrefslogtreecommitdiff
path: root/Kernel/KParams.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-29 07:26:01 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-29 07:26:01 +0200
commit5ded77df39e816f565b26761624893d085ca6eef (patch)
treeb840f17e0038d3e8e09f5e530a6b3af3c1d802ac /Kernel/KParams.h
parent7356fd389f4e73f98f3c28b91830189fea109b5b (diff)
downloadserenity-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/KParams.h')
0 files changed, 0 insertions, 0 deletions