mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
16 lines
328 B
C++
16 lines
328 B
C++
#pragma once
|
|
|
|
#include "Widget.h"
|
|
|
|
class ClockWidget final : public Widget {
|
|
public:
|
|
explicit ClockWidget(Widget* parent = nullptr);
|
|
virtual ~ClockWidget() override;
|
|
|
|
private:
|
|
virtual void paintEvent(PaintEvent&) override;
|
|
virtual void timerEvent(TimerEvent&) override;
|
|
|
|
dword m_lastSeenTimestamp { 0 };
|
|
};
|
|
|