mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 06:37:52 +00:00
SystemMonitor: Move process window to GML
Extra stuff done in this commit to facilitate the above (if you want to really push my commit count, ask for more atomicisation): - Register a bunch of widgets that are used in the process window. - Allow setting the pid after the fact for the process state widget.
This commit is contained in:
committed by
Andreas Kling
parent
452bbcaa84
commit
7af87e8e6b
@@ -14,6 +14,10 @@
|
||||
#include <LibGUI/TableView.h>
|
||||
#include <LibGfx/Palette.h>
|
||||
|
||||
REGISTER_WIDGET(SystemMonitor, ProcessMemoryMapWidget)
|
||||
|
||||
namespace SystemMonitor {
|
||||
|
||||
class PagemapPaintingDelegate final : public GUI::TableCellPaintingDelegate {
|
||||
public:
|
||||
virtual ~PagemapPaintingDelegate() override = default;
|
||||
@@ -121,3 +125,5 @@ void ProcessMemoryMapWidget::refresh()
|
||||
if (m_pid != -1)
|
||||
m_json_model->invalidate();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user