summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Calendar.h
diff options
context:
space:
mode:
authorOlivier De Cannière <olivier.decanniere96@gmail.com>2022-07-16 01:33:39 +0200
committerTim Flynn <trflynn89@pm.me>2022-09-20 13:12:00 -0400
commit0eceed4fd72697a4e9bebf23c06b300637296361 (patch)
treed86a063a4af7e391fa3db61568d139d7df68e98c /Userland/Libraries/LibGUI/Calendar.h
parent9414525d7552434d2099aaeb17b861ba57e55d54 (diff)
downloadserenity-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.h2
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;