1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

SystemMonitor: Use system color themes for graph widgets

This commit is contained in:
Sahan Fernando 2021-02-06 15:05:54 +11:00 committed by Andreas Kling
parent feb66564d2
commit e47af3044a
3 changed files with 10 additions and 16 deletions

View file

@ -39,8 +39,6 @@ public:
void add_value(Vector<int, 1>&&);
void set_background_color(Color color) { m_background_color = color; }
struct ValueFormat {
Color line_color { Color::Transparent };
Color background_color { Color::Transparent };
@ -63,7 +61,6 @@ private:
int m_max { 100 };
Vector<ValueFormat, 1> m_value_format;
CircularQueue<Vector<int, 1>, 4000> m_values;
Color m_background_color { Color::Black };
bool m_stack_values { false };
Vector<Gfx::IntPoint, 1> m_calculated_points;