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:
parent
aa4dd6c1bc
commit
9414525d75
2 changed files with 14 additions and 2 deletions
|
@ -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 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue