mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
SystemMonitor: Register GraphWidget
This commit is contained in:
parent
e6fe66594e
commit
abf2ed4c52
5 changed files with 18 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue