1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09: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
Notes: sideshowbarker 2024-07-17 20:33:50 +09:00
5 changed files with 18 additions and 6 deletions

View file

@ -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)
}
}
}
}