Commit Graph
100 Commits
Author SHA1 Message Date
Riku Isokoski 411f2d19e1 Use Counter widget in SettingSetTime plus optimizations 2022-07-21 22:23:15 +03:00
Riku Isokoski df6557dd31 Extend Counter functionality
Custom fonts, twelve hour mode and Value changed callback.
2022-07-21 22:23:15 +03:00
Riku Isokoski 0f4233003e Limit backlight when flashlight is off (#1212) 2022-07-21 22:22:14 +03:00
Riku Isokoski cea81fea9c Always restore brightness on app switch (#1213) 2022-07-21 22:16:55 +03:00
Riku Isokoski 9b92861753 Twos code cleanup (#1220) 2022-07-06 11:29:23 +03:00
Riku Isokoski b9f5a0745d Don't build the firmware when only docs were modified (#1198) 2022-07-05 09:22:29 +03:00
Riku Isokoski ec8a845052 Add PageIndicator widget to reduce code duplication (#1218)
* Move PageIndicator widget to its own files to reduce code duplication
* Use uint8_t in PageIndicator
2022-07-05 07:41:09 +02:00
Riku Isokoski c0770cde8a Add InfiniTime Vision document (#1196) 2022-06-29 22:31:35 +03:00
Riku Isokoski 61c2d8dbc7 Flashlight default to max brightness and code cleanup 2022-06-19 18:24:36 +02:00
Riku Isokoski 2b2aefcf6a Fix InfiniTime compiler warnings 2022-06-19 13:41:33 +03:00
Riku Isokoski 95ff285991 Remove backup brightness feature (#1180)
This feature is not needed and is probably more likely to cause issues. It's better to just use brightnessController.Set(settingsController.GetBrightness());
2022-06-18 12:54:41 +03:00
Riku Isokoski 9b775c6a91 Automatically create screens for applist and settings (#1153)
Apps and settings are now stored in a single array (two arrays in total).
Replace magic values with appsPerScreen and entriesPerScreen.
2022-06-16 21:41:54 +02:00
Riku Isokoski 10ca036ffb Patch hole in the letter M in jetbrains_mono_bold_20 (#1175) 2022-06-16 17:05:55 +02:00
Riku Isokoski d55ec42b17 Simplify SettingChimes code 2022-06-11 22:46:38 +03:00
Riku Isokoski 955dda60c5 Use lambda to reduce code duplication 2022-06-06 21:28:03 +02:00
Riku Isokoski 6cfb45e280 Move event handlers to unnamed namespace 2022-06-06 21:28:03 +02:00
Riku Isokoski c6026aa617 Use static constexpr to force compile time initialization 2022-06-06 21:28:03 +02:00
Riku Isokoski 254c85246e Timer: Replace time label with Counter control hiding functionality 2022-06-06 21:28:03 +02:00
Riku Isokoski 4a40d29279 Counter: add show and hide controls functions 2022-06-06 21:28:03 +02:00
Riku Isokoski 41c461d1f6 Move linePoints to a member variable 2022-06-06 21:28:03 +02:00
Riku Isokoski 17cedd6629 Move bg color to a constexpr variable 2022-06-06 21:28:03 +02:00
Riku Isokoski 1d34e83c97 Use Counter widget in Timer 2022-06-06 21:28:03 +02:00
Riku Isokoski 9e18c23aac Lighten the large font for a more balanced look
Add Jetbrains Mono Light font
2022-06-06 21:28:03 +02:00
Riku Isokoski 12d4bc4139 Add initial counter widget 2022-06-06 21:28:03 +02:00
Riku Isokoski c2b15b1446 Move basic apps to the top of the app list 2022-06-06 20:47:34 +02:00
Riku Isokoski 0fabba1c9a Remove extra linebreaks 2022-05-27 17:52:26 +02:00
Riku Isokoski a2218dd4ad Unzip DFU, so the artifact doesn't need to be unzipped by the user. 2022-05-27 17:52:26 +02:00
Riku Isokoski 619477cbd1 Rename uploaded files with source branch in workflows 2022-05-27 17:52:26 +02:00
Riku Isokoski cc2d5c39ce Cleanup workflows 2022-05-27 17:52:26 +02:00
Riku Isokoski 6171c9d45d Only test format when it is wanted 2022-05-16 23:25:47 +02:00
Riku Isokoski a6fcdec0f8 Don't allow test-format.sh to be run locally 2022-05-16 23:25:47 +02:00
Riku Isokoski 09b852d8f0 Fix and test workflow 2022-05-08 22:27:42 +03:00
Riku Isokoski c94e0d53bb Ignore deleted files in format test
Otherwise clang-format would fail with an error and exit the script
prematurely.
2022-05-08 13:31:00 +02:00
Riku Isokoski 015f17cd25 Add formatting test workflow 2022-05-08 13:31:00 +02:00
Riku Isokoski ae2b9d30d6 Simplify systemtask states 2022-05-08 13:24:15 +02:00
Riku Isokoski beddfc346d Disable clip_corner, because it is slow. 2022-05-08 13:21:46 +02:00
Riku Isokoski 2b9418c7f8 Fix dropdown graphical issues.
The scrollbar would go out of bounds if DROPDOWN_PART_LIST had uneven
padding. Also enable clip_corner feature to stop the selected item from
overflowing.
2022-05-08 13:21:46 +02:00
Riku Isokoski 8160748733 Force full screen refresh with a rounder function
When the screen switches, the full screen needs to be refreshed for the
hardware scrolling to work. This was enforced with backgroundLabels, but
is simpler to do with a rounder function.
2022-05-08 13:21:27 +02:00
Riku Isokoski 6dac0a62f4 Remove lcd from DisplayApp 2022-05-08 13:12:37 +02:00
Riku Isokoski 8061822f0c Fix large blacklevel step. Lower 25% of shades are now accessible.
There is a large step in brightness from level zero to level one.
After experimenting with various ST7789 options, I found that
decreasing VDV to 0x10 (-0.4V) fixes this issue.

The gamma change reduced the average error in brightness, but with the
underlying issue fixed, the gamma change has been reverted.
2022-04-29 11:35:22 +03:00
Riku Isokoski b31fbb4adb New sharper batteryicon. Remove old unused batteryicons 2022-04-25 17:03:08 +03:00
Riku Isokoski 54df828665 Fix warnings 2022-04-25 15:59:43 +03:00
Riku Isokoski b7b1af1c4c Replace app_timer with FreeRTOS timers 2022-04-25 15:52:39 +03:00
Riku Isokoski b6807ee3ca Make functions const again 2022-04-25 15:51:12 +03:00
Riku Isokoski 36cb7c82f3 Remove now unused position override
It gets overridden later anyway
2022-04-25 15:51:12 +03:00
Riku Isokoski 34858d0a6c Update track progress in MusicService. Fix #127 2022-04-25 15:51:12 +03:00
Riku Isokoski f82aa71eb0 Improve PTS color matching after gamma change 2022-04-25 15:50:26 +03:00
Riku Isokoski aa32159c00 Tweak gamma on ST7789 and match UI colors
This change will increase the color accuracy of the PineTime and make UI
development with the simulator easier.
2022-04-25 15:50:26 +03:00
Riku Isokoski 5e83a862db Use centiseconds 2022-04-25 15:49:29 +03:00
Riku Isokoski 28ccf15e13 Stopwatch fixes 2022-04-25 15:49:29 +03:00
Riku Isokoski 3bf6b1cb16 Fix timer layout 2022-04-25 15:48:44 +03:00
Riku Isokoski d7441d18be Firmware update screen fixes 2022-04-25 15:47:53 +03:00
Riku Isokoski 5a13c5215c Merge pull request #997 from minacode/remove-nm-reference
Remove unused reference
2022-04-19 16:27:47 +03:00
Riku Isokoski ed91b5a998 Merge pull request #1044 from Riksu9000/replace-lv_set_text
Replace lv_label_set_text where possible
2022-04-18 19:57:40 +03:00
Riku Isokoski 68a7016080 Replace lv_label_set_text where possible 2022-04-18 19:47:42 +03:00
Riku Isokoski ff73f67d6f Merge pull request #1009 from NeroBurner/AlarmController_allow_less_precice_system_time
AlarmController: allow loss of precision for alarmTime cast
2022-04-18 19:42:09 +03:00
Riku Isokoski 943a48f189 Merge pull request #1031 from mabuch/rename-PineTimeStyle-to-WatchFacePineTimeStyle
Rename PineTimeStyle to WatchFacePineTimeStyle
2022-04-18 19:40:54 +03:00
Riku Isokoski 78365548f7 Replace airplane mode with a bluetooth toggle 2022-04-02 16:16:47 +02:00
Riku Isokoski 61a9a97e26 Update navigation font readme section 2022-03-08 21:34:20 +01:00
Riku Isokoski 04d21dcd93 Add ExtraBold font ttf 2022-03-08 21:34:20 +01:00
Riku Isokoski 13c66dd54b Further updates to font readme. 2022-03-08 21:34:20 +01:00
Riku Isokoski 204ad7ca2a Update font readme, update fonts, add missing files 2022-03-08 21:34:20 +01:00
Riku Isokoski f1c91e1ce0 terminal watchface: remove icons and other fixes 2022-03-03 21:10:39 +01:00
Riku Isokoski 4f649a8544 Improved alarm alert handling 2022-02-13 11:36:51 +01:00
Riku Isokoski 32fe7b660c Make switch disabled state slightly dimmer 2022-02-12 18:36:11 +01:00
Riku Isokoski 76f63ed76a Fix switch default state 2022-02-12 18:36:11 +01:00
Riku Isokoski 0930a79041 Alarm: Fix missing stop button. Revert alert layout 2022-02-12 18:36:11 +01:00
Riku Isokoski a9b77ae0d4 Alarm: Change checkable button for a switch 2022-02-12 18:36:11 +01:00
Riku Isokoski 1ac1d5aa5a Add issue links 2022-02-12 18:21:52 +01:00
Riku Isokoski 470db4ab99 Fix alarm on time change 2022-01-22 12:47:23 +02:00
Riku Isokoski 6bf6bb7e2a PTS and digital watchface code cleanups 2022-01-20 16:04:26 +02:00
Riku Isokoski 97cbe34963 Update shakewake menu option 2022-01-06 15:44:39 +02:00
Riku Isokoski 5e6868d9eb Improved notification timeout 2022-01-01 16:22:35 +02:00
Riku Isokoski 54f588ce63 Add missing break 2021-12-30 21:41:17 +01:00
Riku Isokoski 86d180a855 Improve gesture consistency across the firmware 2021-12-30 21:41:17 +01:00
Riku Isokoski 32ea01b2e9 Organize includes 2021-12-09 21:32:07 +01:00
Riku Isokoski ec9b5a0bd2 Move radio button styling to a single place 2021-12-09 21:32:07 +01:00
Riku Isokoski 736ae08fcd Optimize arrays 2021-12-09 21:32:07 +01:00
Riku Isokoski 494448b7cc Fix too small array 2021-12-09 21:32:07 +01:00
Riku Isokoski 9ffd28f735 Style checkboxes as radio buttons 2021-12-09 21:32:07 +01:00
Riku Isokoski d5e8e3ca44 Split updating and about software. Remove big Contributing section from README 2021-11-28 13:42:37 +01:00
Riku Isokoski 45a90e4967 Update getting started. New pics. More information. 2021-11-28 13:42:37 +01:00
Riku Isokoski caec4a560b Replace some "we" 2021-11-28 13:42:37 +01:00
Riku Isokoski a326e22986 Add line break 2021-11-28 13:42:37 +01:00
Riku Isokoski 3375c4e187 Add missing periods 2021-11-28 13:42:37 +01:00
Riku Isokoski c12fc5e313 Improvements to Apps.md and Intro.md 2021-11-28 13:42:37 +01:00
Riku Isokoski d1583035d9 Link to companion apps 2021-11-28 13:42:37 +01:00
Riku Isokoski 5eaae4175c Fix versioning 2021-11-28 13:42:37 +01:00
Riku Isokoski e53f1bfd66 Summarize updating-softare 2021-11-28 13:42:37 +01:00
Riku Isokoski 88e55b2504 Update updating instructions 2021-11-28 13:42:37 +01:00
Riku Isokoski a0c7b48b8e Replace companionapp pages with links. Add companion apps 2021-11-28 13:42:37 +01:00
Riku Isokoski 2314c41ad6 Reorganize bootloader readme 2021-11-28 13:42:37 +01:00
Riku Isokoski 52d1906589 Separate and update coding conventions and contributing pages 2021-11-28 13:42:37 +01:00
Riku Isokoski 1d3098baa7 Update ui_guidelines 2021-11-28 13:42:37 +01:00
Riku Isokoski c3c5ab3473 Reorganization 2021-11-28 13:42:37 +01:00
Riku Isokoski cf9332f0e5 Crop and shrink photos 2021-11-28 13:42:37 +01:00
Riku Isokoski 4aaf3d06bc Documentation cleanup and reorganization 2021-11-28 13:42:37 +01:00
Riku Isokoski 71a64974c0 Remove some clang-tidy checks 2021-11-13 13:37:52 +02:00
Riku Isokoski 2e7b51c8e1 clang-format and clang-tidy PineTimeStyle 2021-11-13 13:11:32 +02:00
Riku Isokoski 39157f2f19 Close menu with button 2021-11-13 13:02:00 +02:00