aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/settings/SettingSetTime.cpp
Commit message (Collapse)AuthorAgeFilesLines
* DateTimeController: Remove SetTime tick parameterRiku Isokoski2023-02-251-3/+1
| | | | | | The systick doesn't need to be updated when setting time. Also removed unused nrf_rtc.h includes.
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-2/+1
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-251-1/+1
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* src: Enable unused parameter warningRiku Isokoski2023-01-241-1/+0
| | | | | | Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
* Combine Date and Time Settings (#1465)John Quigley2023-01-141-8/+4
| | | | | | Replace separate SettingSetDate and SettingSetTime with a combined screenlist. Add DotIndicators. Similar to PageIndicator, but for use when separating screens instead of pages of a list. Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
* Update clang-{format,tidy} to 14Finlay Davidson2023-01-041-0/+1
| | | | | Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
* Disable value_strRiku Isokoski2022-09-171-2/+6
| | | | | | value_str is a way to add text on a button without a separate label. This saves having an extra label object, but uses more memory and is removed in LVGL8
* Centralize most color definitions (#1258)Riku Isokoski2022-08-161-2/+2
|
* Use Counter widget in SettingSetTime plus optimizationsRiku Isokoski2022-07-211-138/+52
|
* Corrected capitalizationEli Weiss2022-01-311-4/+4
|
* Corrected code formattingEli Weiss2022-01-311-3/+28
| | | | Corrected formatting and removed unnecessary variable time24H
* Changed setHourLabels function to handle 24H tooEli Weiss2022-01-311-36/+3
| | | | Changed setHourLabels function to handle 24 hour time labeling, changed to private
* Consolidated label changes, optimizationsEli Weiss2022-01-311-36/+15
| | | | Consolidated 12 hour label changes to function. Removed use of strings, struct.
* Consolidated time conversion logicEli Weiss2022-01-311-65/+74
| | | | Consolidated 24 hour to 12 hour time conversion logic into function, addressed formatting issues, cleaned up code.
* Removed redundant bracketsEli Weiss2022-01-311-5/+3
| | | | Also corrected orphaned bracket
* Cleaned up redundant if statements, spacingEli Weiss2022-01-311-45/+41
| | | | Removed redundant if statements in hour button logic. Spacing is now in line with repo guidelines.
* Added 12 hour set timeEli Weiss2022-01-311-5/+70
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-1/+1
| | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
* Setting SetDate/SetTime : replace #defines by constexpr variables, NULL by ↵Jean-François Milants2021-10-101-35/+28
| | | | nullptr and other small cleanings.
* Merge with develop and fix conflicts from timaios:set-datetime-manually.Jean-François Milants2021-10-101-5/+0
|
* Code optimizations in SettingSetDate and SettingSetTimeTim Taenny2021-07-091-4/+2
| | | | | Instead of calling lv_obj_align after each button click, the labels have their auto_realign property set.
* Code optimizations in SettingSetTimeTim Taenny2021-07-091-9/+17
| | | | | The positions of the labels are controlled by #define's, just like in SettingSetDate.
* Code optimizations in SettingSetTimeTim Taenny2021-07-091-24/+10
|
* Added new screen: SettingSetTimetimaios2021-07-091-0/+174