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:
parent
e6fe66594e
commit
abf2ed4c52
Notes:
sideshowbarker
2024-07-17 20:33:50 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: abf2ed4c52
Pull-request: https://github.com/SerenityOS/serenity/pull/13125
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