1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

SystemMonitor: Register GraphWidget

This commit is contained in:
kleines Filmröllchen 2022-03-18 23:56:04 +01:00 committed by Andreas Kling
parent e6fe66594e
commit abf2ed4c52
5 changed files with 18 additions and 6 deletions

View file

@ -9,7 +9,9 @@
#include <LibGUI/Widget.h>
namespace SystemMonitor {
class GraphWidget;
}
class MemoryStatsWidget final : public GUI::Widget {
C_OBJECT(MemoryStatsWidget)
@ -21,9 +23,9 @@ public:
void refresh();
private:
MemoryStatsWidget(GraphWidget& graph);
MemoryStatsWidget(SystemMonitor::GraphWidget& graph);
GraphWidget& m_graph;
SystemMonitor::GraphWidget& m_graph;
RefPtr<GUI::Label> m_user_physical_pages_label;
RefPtr<GUI::Label> m_user_physical_pages_committed_label;
RefPtr<GUI::Label> m_supervisor_physical_pages_label;