mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 23:07:34 +00:00
SystemMonitor: Register GraphWidget
This commit is contained in:
parent
e6fe66594e
commit
abf2ed4c52
5 changed files with 18 additions and 6 deletions
|
@ -13,6 +13,10 @@
|
|||
#include <LibGfx/Path.h>
|
||||
#include <LibGfx/SystemTheme.h>
|
||||
|
||||
REGISTER_WIDGET(SystemMonitor, GraphWidget)
|
||||
|
||||
namespace SystemMonitor {
|
||||
|
||||
void GraphWidget::add_value(Vector<u64, 1>&& value)
|
||||
{
|
||||
m_values.enqueue(move(value));
|
||||
|
@ -143,3 +147,5 @@ void GraphWidget::paint_event(GUI::PaintEvent& event)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue