diff options
author | Olivier De Cannière <olivier.decanniere96@gmail.com> | 2022-07-16 01:33:39 +0200 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-09-20 13:12:00 -0400 |
commit | 0eceed4fd72697a4e9bebf23c06b300637296361 (patch) | |
tree | d86a063a4af7e391fa3db61568d139d7df68e98c /Userland/Libraries/LibGUI/Calendar.h | |
parent | 9414525d7552434d2099aaeb17b861ba57e55d54 (diff) | |
download | serenity-0eceed4fd72697a4e9bebf23c06b300637296361.zip |
Calendar: Add a Calendar settings dialog for the first day of the week
This commit adds a new settings dialog for the Calendar application and
applet. It allows the user to specify their preferred first day of the
week.
Diffstat (limited to 'Userland/Libraries/LibGUI/Calendar.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Calendar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Calendar.h b/Userland/Libraries/LibGUI/Calendar.h index 9ca630cf44..79c105d913 100644 --- a/Userland/Libraries/LibGUI/Calendar.h +++ b/Userland/Libraries/LibGUI/Calendar.h @@ -75,6 +75,8 @@ private: Calendar(Core::DateTime date_time = Core::DateTime::now(), Mode mode = Month); virtual ~Calendar() override = default; + static size_t day_of_week_index(String const&); + virtual void resize_event(GUI::ResizeEvent&) override; virtual void paint_event(GUI::PaintEvent&) override; virtual void mousemove_event(GUI::MouseEvent&) override; |