mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-23 22:34:29 -04:00
When setting Time & Date indicate if in DST range (#1851)
This commit is contained in:
parent
5ea1bff1e6
commit
61d9c051de
4 changed files with 61 additions and 25 deletions
|
@ -126,6 +126,9 @@ class SetDateTimeView : public View {
|
|||
Text text_day_of_year{
|
||||
{26 * 8, 6 * 16, 3 * 8, 16},
|
||||
""};
|
||||
Text text_in_dst_range{
|
||||
{17 * 8, 7 * 16, 3 * 8, 16},
|
||||
""};
|
||||
|
||||
Checkbox checkbox_dst_enable{
|
||||
{2 * 8, 9 * 16},
|
||||
|
@ -171,6 +174,8 @@ class SetDateTimeView : public View {
|
|||
|
||||
void form_init(const SetDateTimeModel& model);
|
||||
SetDateTimeModel form_collect();
|
||||
portapack::persistent_memory::dst_config_t dst_collect();
|
||||
void handle_date_field_update();
|
||||
};
|
||||
|
||||
struct SetFrequencyCorrectionModel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue