Commit Graph

93 Commits

Author SHA1 Message Date
Lukasz Mastalerz
1fff0a5115 [BH-1768] Snooze mode with deep pressed knob
Fixed not disappearing snooze icon when an alarm is deactivated
2023-09-20 17:43:16 +02:00
Lefucjusz
9fb8432b41 [MOS-592] Fix right arrow behavior in search field
Fix of the issue that clicking right arrow
in search field caused the focus to be moved
to image on the right, what made inputting
text impossible.
Additionally minor code cleanup.
2023-01-31 18:25:58 +01:00
Adam Wulkiewicz
074b33a645 [MOS-685] Make small improvements in various places of the code
- Forward arguments
- Remove unused code
- Remove auto return type when it's not needed
- Add const to member functions
- Use startsWith and endsWith from utils
- Allow instantiation of operators only for specific types
- Caluclate key mask in compile time
2022-09-02 01:12:47 +02:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Przemyslaw Brudny
bff70a4ab3 [BH-1029] Refactored Time widgets with colon and content change
Refactored Time widget colon handling to be mapped with used
font. Added contentChange flag and handling to BoxLayout
for dynamic recalculation of child elements.
2021-10-18 18:15:40 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Przemyslaw Brudny
e3a057e15c [EGD-7310] Alarm GUI and features update
Updated AlarmOptionsItem to use UTF8Spinner.
Created specialized widgets to cover options
sets. Updated GenericSpinner to handle Pure
navigation and content swap. Updated Alarm
RRule code to work with Custom Days selection
and new widgets. Added Tests. General GUI
stylistic fixes. Increased app Alarm Clock
and service Time stack sizes.
2021-09-21 14:11:21 +03:00
Przemyslaw Brudny
4147866c71 [EGD-7211] Sim contacts import selector UI part
Added sim contacts import selector UI part.
Fixed BoxLayout focusChangedCallback. Fixed
SetFont redraw. Refactored Check and
CheckWithLabel widgets.
2021-07-22 16:34:37 +02:00
Przemyslaw Brudny
f463a75a93 [EGD-7164] ListViewEngine separation from ListView
ListViewEngine separation from ListView to support different
scrolls and body ListViews on Bell.
2021-07-19 16:32:10 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Tomasz Sobkowiak
0d7bae0a55 [EGD-3109] Use more appropriate type instead of raw types
Position and Length used instead of raw ones
2021-05-05 09:12:29 +02:00
Przemyslaw Brudny
312d4a07a6 [EGD-3756] Created generic ListItemWithCallbacks
Added generic template for ListItemWithCallbacks.
Replaced onDimensionsChange with callbacks.
2021-02-15 14:17:04 +01:00
Przemyslaw Brudny
8f80126251 [EGD-3434] ListView Scroll bar refactor
Added two new scroll bar types. Fixed for ListView
with equal height elements and PreRendered which
require whole list render - not recommended for big
lists but works with not equal heights elements.
Applied new types to all lists in Pure. Various
cleanups and refactors inside models and listView.
2021-01-29 12:17:52 +01:00
Tomasz Langowski
8030b273df [EGD-5175] Fix grid layout navigation
Fix grid layout navigation in order to recognize
"not active" items
2021-01-21 16:08:19 +01:00
Tomasz Langowski
ff180ed730 [EGD-5140] Fix default borderCallback navigation in GridLayout
Fix default borderCallback navigation in GridLayout
2021-01-11 17:09:57 +01:00
tomaszrogala
4f8f315ce8 [EGD-3823] Create Popup windows (#946)
-Create bargraph widget
-Create Home modes window
-Create Volume window
-Create Brightness window
-PR changes
2020-11-18 10:51:14 +01:00
Adam
64db7d8327 EDG-3585 Small fixup for refresh & cleanup in buildDrawLists (#916)
* EGD-3585 Minor refresh fixup&  Normalised buildDrawList everywhere
2020-10-30 10:13:47 +01:00
PrzeBrudny
daf333b3df [EGD-4189] BoxLayout Center Alignment calculation fixed when margins are present. (#926) 2020-10-28 11:49:55 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Przemyslaw Brudny
196c02686a [EGD-2395] Added BottomTop orientation support for listView. Created SMSThreadViewWindow and SMSOutputWidget. MessagesStyle moved from global Style.hpp. Fixes in Text. ListView fixes, BoxLayout callback for requestedSize. Added smsInput into list. Drafts handling added. 2020-10-07 19:45:01 +02:00
Adam
f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
Przemyslaw Brudny
2f72244062 [EGD-3182] Implemented on CRUD notification page and on page item focus memory when rebuilding List. Applied for Phonebook and Messages. 2020-09-08 20:24:54 +02:00
Przemyslaw Brudny
cf533de731 [EGD-3265] Fixed missing toSplit value in calculatedResize. 2020-09-03 09:08:12 +02:00
Przemyslaw Brudny
98abdeadab [EGD-3265] Documentation, cleanups and renames in BoxLayout. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny
7cf700e09f [EGD-3265] Layout Resizing Item flag added and handled, fixed BoxLayout sizeLeftWithoutElem and setNavigation. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny
cc6143a329 [EGD-3265] BoxLayout and text requestSize boundaries handling. 2020-09-02 18:54:41 +02:00
Przemyslaw Brudny
8759b029ca [EGD-3547] Fixed settings Info Window and BoxLayout orthogonal axis max size. 2020-08-27 00:28:57 +02:00
Przemyslaw Brudny
4f5618b8be [EGD-3485] ContactFlagWidget cleanups, navigation fix in NumberWithIconsWidget, bold on selected in InputLinesWithLabelItem. 2020-08-13 12:43:22 +02:00
Przemyslaw Brudny
34229525ae [EGD-3485] Fixes in Text, OutputLinesTextWithLabelItem widget fixes. Fixes in Messages. 2020-08-13 12:43:22 +02:00
Przemyslaw Brudny
f790c75654 [EGD-3437] Navigation row and column fixup in Menu grid. 2020-08-06 16:43:48 +02:00
Tomas Rogala
a90da2fefb [EGD-3437] PR changes 2020-08-06 16:43:48 +02:00
Przemyslaw Brudny
2d42ea05ec [EGD-3437] First version for GridLayout Navigation refactor. 2020-08-06 16:43:48 +02:00
Tomas Rogala
431ce62d98 [EGD-3441] add refresh method 2020-08-05 17:38:07 +02:00
Przemyslaw Brudny
dc69a4e38f [EGD-3480] PR changes. 2020-08-04 13:47:48 +02:00
Przemyslaw Brudny
2af67aa3a7 [EGD-3480] Refactored onDimensionsChange for BoxLayout. 2020-08-04 13:47:48 +02:00
Przemyslaw Brudny
10cd3cabc7 [EGD-3410] Cleanups. 2020-07-31 12:50:31 +02:00
Przemyslaw Brudny
2e059c80ae [EGD-3410] InternalModel navigation fix, ListView first page top order load bug fix. 2020-07-31 12:50:31 +02:00
Przemyslaw Brudny
bd1887bf3f [EGD-3410] InputBoxWithLabelAndIconItem update and fighting with navigation bug. 2020-07-31 12:50:31 +02:00
Przemyslaw Brudny
e918e6bfc2 [EGD-3446] ListView top direction uneven elements fix. Box un visible elements removal fix. 2020-07-24 11:44:51 +02:00
Przemyslaw Brudny
6e6aaf0e6a [EGD-3446] Fixed BoxLayout Max resize. 2020-07-24 11:44:51 +02:00
Przemyslaw Brudny
e25a17b29f [EGD-3336] ContactFlagIcon align refactor. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
613f6f1f83 [EGD-3336] Default values bug fix. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
25afb95847 [EGD-3336] Tests added and rebase changes. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
4686065c09 [EGD-3336] BoxLayout lead axis Alignment Calculation moved to resizeItems. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
00caa85d1f [EGD-3336] BoxLayout Alignment refactor. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
ca21967df1 [EGD-3336] Added Orthogonal Alignment support to BoxLayout. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny
531235d5c3 [EGD-3351] Changed old ListView Span tests and added new margin test to BoxLayout. 2020-07-02 16:28:52 +02:00
Przemyslaw Brudny
221f6405bc [EGD-3351] Changed all ListView items to use Margins. 2020-07-02 16:28:52 +02:00
Przemyslaw Brudny
3e41238f55 [EGD-3351] Added margin support to BoxLayout. 2020-07-02 16:28:52 +02:00