mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
37388b311f
This really improves the feeling of "system overview" :^)
21 lines
501 B
C++
21 lines
501 B
C++
#pragma once
|
|
|
|
#include <LibGUI/GWidget.h>
|
|
|
|
class GLabel;
|
|
|
|
class MemoryStatsWidget final : public GWidget {
|
|
public:
|
|
explicit MemoryStatsWidget(GWidget* parent);
|
|
virtual ~MemoryStatsWidget() override;
|
|
|
|
void refresh();
|
|
|
|
private:
|
|
virtual void timer_event(GTimerEvent&) override;
|
|
virtual void paint_event(GPaintEvent&) override;
|
|
|
|
GLabel* m_user_physical_pages_label { nullptr };
|
|
GLabel* m_supervisor_physical_pages_label { nullptr };
|
|
GLabel* m_kmalloc_label { nullptr };
|
|
};
|