Commit Graph

73 Commits

Author SHA1 Message Date
Lefucjusz
ac17db13ea [BH-1897] Add tick icon to currently selected sound
* Added mechanics showing tick icon
next to currently selected sound
in Bedtime and Pre-wakeup.
* Removed no longer used LabelOption
widget.
2024-04-10 15:33:14 +02:00
Lefucjusz
cfd044be28 [BH-1874] Fix underline appearing when setting alarm time
Fix of the issue that underline appeared under
hours value when setting alarm time with knob
down (alarm disabled) after previous
confirmation of the alarm time.
2024-02-07 13:20:36 +01:00
Lukasz Mastalerz
2000c3c2d1 [BH-1764] Fix GridLayoutTesting Border Callback Test
Fix not seting focus to false when all items where removed from parent
2023-09-26 10:08:28 +02:00
Adam Wulkiewicz
6097f761ea [BH-1609] Fix resizing of format in TimeSetFmtSpinner
Change the resizing logic of the children of TimeSetFmtSpinner.
Remove arguments of TimeSetFmtSpinner and BellStatusClock ctors.
2023-02-08 13:50:55 +01: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
49bbaf51a0 [MOS-550] Improve refresh of the display
1. Implement partial refresh.
2. Implement refresh canceling mechanism.
3. Refactor some parts of the gui and display code.

ad 1.
- Detect parts of the screen changed since last update and merge them
  into bigger regions. These regions defines parts of the context sent
  to the display.
- Refresh the region covering all of the parts since this is the most
  time consuming part and the size of the refreshed region doesn't
  change the time much.
- Refresh the whole screen if deep refresh is requested and previously
  fast refresh was used. This is needed to prevent unwanted artifacts
  in some cases.

ad 2.
- Separate display update and refresh logic.
- Divide image display message handling into two handlers, one updating
  and other one refreshing the screen.
- Add cancel refresh message and use it to cancel refresh during update.
- Store sum of refresh regions gathered during updates to refresh them
  all at once at the end.
2022-10-11 20:00:33 +02: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
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
Przemyslaw Brudny
5e8f773d47 [EGD-6772] Fixed failing resize test
Fixed failing resize test caused by Position type change.
2021-05-18 17:40:17 +02:00
Przemyslaw Brudny
5913999d23 [EGD-6683] Fixed not fitting labels in Calls and Meditation
Fixed not fitting labels in Calls and Meditation.
2021-05-05 18:39:25 +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
Artur Śleszyński
71465d8990 [EGD-3119] Hide InputEvent's member fields
Use the InputEvent's convenience methods to express intent.
2021-04-29 08:01:18 +02:00
Piotr Tański
efef7dcf7f [EGD-6111] Timers refactored
Deep refactor of system timers.
2021-03-19 14:09:35 +01:00
Przemyslaw Brudny
789815859a [EGD-5087] Update Options and replace PageLayout with ListView
PageLayout removed and replaced with ListView.
Options structure and namespace cleanup.
Added ListView ScrollBar type and disable on
construction.
2021-01-15 16:10:26 +01:00
mkamonMdt
d9612efe7a [EGD-4338] Fix menu notification dot
Each tile in Menu that uses notification dot
is be refreshed. It also solves missing dot
issue of EGD-4129 and lack of sound notification
on incoming text message.
2021-01-15 09:17:03 +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
Michał Kamoń
9e961b6072 [EGD-3589] gui - DOM dump functionality for gui::Item (#1148) 2020-12-09 15:57:20 +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
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Tomek Sobkowiak
1e78053bb0 EDG-3409 Check text boundaries on input (#716)
* [EDG-3409] Check text boundaries during input processing
2020-10-19 09:14:41 +02:00
Piotr Tanski
f5aec0444a [EGD-3838] Introduced a meditation progress bar with simple implementation of meditation application. (#783) 2020-10-09 14:14:40 +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
Piotr Tanski
7e520b49a2 [EGD-3788] Fixes for message drafts feature after requirements elaboration. (#733) 2020-09-29 12:34:58 +02:00
Piotr Tanski
288040d348 [EGD-3514] Fixed a crash on system language change. (#693)
- Fixed by invalidating internal states of running windows after destroying their interfaces.
2020-09-18 16:17:49 +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
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
077285b5aa [EGD-3410] UnderLine support added. 2020-07-31 12:50:31 +02:00
Tomas Rogala
9e26444368 [EGD-3305] PR changes. 2020-07-21 15:00:57 +02:00
Tomas Rogala
64f7220b52 [EGD-3305] Developed main window with navigation and change month functionality 2020-07-21 15:00:57 +02:00
Przemyslaw Brudny
9eeb40ce39 [EGD-3391] Fixed messages window margins. Text and Labels margins cleanups. 2020-07-16 12:16:12 +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
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
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
pholat
331f80f185 Gui resize requests hadnling (#489)
* EGD-3229 [gui] Added Lenght & Position typedef in Common.hpp
* EGD-3229 [gui] Item & Layout: General resize requests handling mechanism
2020-07-02 10:52:03 +02:00
pholat
938cbc186a Gui text pr1 utils and fixes (needed for gui::Text rewrite mostly) (#485)
* EGD-3229 [FIX] UTF8 fixed uint32_t range error

* EGD-3229 [util] gui::Item Navigation switch case moved to function

Needed to not copy senslessly NavigationDirection enum switch case
* gui::Item Navigation switch case moved to function
* added NavigationDirection::None enum value
* cleaned up Navigation.hpp/cpp

* EGD-3229 [util] gui: InputEvent - str() for logging added & is...() check methods

* EGD-3229 [util] removed notorious log on unknown glyph

* EGD-3229 [util] InputMode - added is(Mode) method, input Profile added default definition

* is() method addded to check instead of `==` comparison
* added default to Profile instead of `== 0` use

* [FIX] ARM GCC 10.1.0 - build fixed

fixed include in wrong place

* PR style fix

* Review applied
2020-07-01 13:14:07 +02:00
Przemyslaw Brudny
88164ab40c [EGD-3295] PR changes and BoxLayout tests added. 2020-06-19 15:39:05 +02:00
Przemyslaw Brudny
4dbc1630ea [EGD-3295] Double click on last page item changing two pages fix. 2020-06-19 15:39:05 +02:00
Przemyslaw Brudny
dd601c432d [EGD-3295] BoxLayout and ListView performance improvements. 2020-06-19 15:39:05 +02:00
Alek Rudnik
ce2251535b Egd 3263 simplified text input mode (#417)
* [EGD-3263] recursive Item::getFocusItem

* [EGD-3263] Bottomr bar store and restore

* [EGD-3263] simplfied display of text input mode

* [EGD-3263] renamed CB names

* [EGD-3263] fixes in store/restore of bottombar

* [EGD-3263] Text::onInput fixes

* [EGD-3236] ranemed store to chache

* [EGD-3263] minor clean up
2020-06-05 11:56:08 +02:00
Przemyslaw Brudny
0edc752edd [EGD-3225] ListView Bot-Top scrolling handling for Calllog and Thread. 2020-06-03 19:23:16 +02:00
Przemyslaw Brudny
8176caa8d1 [EGD-3216] VBox/HBox orthogonal resize force fix. 2020-05-20 12:22:53 +02:00
Adam Dobrowolski
7af85af8f3 EGD-3202 GUI minimal tests added and passing 2020-05-13 17:11:51 +02:00
Adam Dobrowolski
8ffccd85ed EGD-3202 Fixed all setMinimum / setMaximum sizes 2020-05-13 17:11:51 +02:00
Przemyslaw Brudny
276aff67f6 [EGD-3190] setMinHeight fixes. 2020-05-12 16:45:15 +02:00
Adam Dobrowolski
9eb29b05fc EGD-3190 added setMinimumWidth / setMinimumHeight 2020-05-12 16:45:15 +02:00
Adam Dobrowolski
5ba2cf7f15 [EGD-3190] Box sizes fixup in progress 2020-05-12 16:45:15 +02:00