mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 04:17:34 +00:00
LibGUI: Support bitmaps in GTableView cells.
Use this to add an icon for each process in the ProcessManager. Right now they all use a generic gear icon, but I'd like to have per-process icons, obviously. :^)
This commit is contained in:
parent
3fe7ddadaf
commit
b132150799
4 changed files with 30 additions and 13 deletions
|
@ -44,4 +44,5 @@ private:
|
|||
HashMap<pid_t, OwnPtr<Process>> m_processes;
|
||||
Vector<pid_t> m_pids;
|
||||
int m_selected_row { -1 };
|
||||
RetainPtr<GraphicsBitmap> m_generic_process_icon;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue