1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

Calendar: Support preferred first day of the week

This commit is contained in:
Olivier De Cannière 2022-07-15 23:30:00 +02:00 committed by Tim Flynn
parent aa4dd6c1bc
commit 9414525d75
2 changed files with 14 additions and 2 deletions

View file

@ -128,6 +128,17 @@ private:
Gfx::IntSize m_event_size;
Gfx::IntSize m_month_size[12];
Mode m_mode { Month };
enum class DayOfWeek {
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday
};
DayOfWeek m_first_day_of_week { DayOfWeek::Sunday };
};
}