1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-14 18:01:01 +00:00
serenity/Applications/Clock/ClockWidget.h
2019-02-10 08:35:01 +01:00

16 lines
335 B
C++

#pragma once
#include <LibGUI/GWidget.h>
class ClockWidget final : public GWidget {
public:
explicit ClockWidget(GWidget* parent = nullptr);
virtual ~ClockWidget() override;
private:
virtual void paint_event(GPaintEvent&) override;
virtual void timer_event(GTimerEvent&) override;
time_t m_last_time { 0 };
};