mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
ClockSettings+Taskbar: Add settings for taskbar clock format
This commit is contained in:
parent
36b6356ce5
commit
5bb0b6ba7a
13 changed files with 334 additions and 179 deletions
|
@ -24,6 +24,8 @@ class ClockWidget final : public GUI::Frame {
|
|||
public:
|
||||
virtual ~ClockWidget() override = default;
|
||||
|
||||
void update_format(String const&);
|
||||
|
||||
private:
|
||||
ClockWidget();
|
||||
|
||||
|
@ -42,6 +44,7 @@ private:
|
|||
void position_calendar_window();
|
||||
void jump_to_current_date();
|
||||
|
||||
String m_time_format;
|
||||
RefPtr<GUI::Window> m_calendar_window;
|
||||
RefPtr<GUI::Calendar> m_calendar;
|
||||
RefPtr<GUI::Button> m_next_date;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue