Raphael Coeffic and GitHub
e67d1a7895
fix: strings constness ( #84 )
2023-01-18 12:32:07 +10:00
Peter Feerick
acd44516d0
fix(color): Display of signed values
...
Import fix for #2842
2023-01-18 11:52:46 +10:00
eshifri and GitHub
d6185d924d
fix: Display of signed values ( #83 )
...
* Fix display of the signed values
with PREC1 and PREC2
* Use abs() for decimal digits output
for negative numbers
2023-01-18 11:48:47 +10:00
Raphael Coeffic and GitHub
9796c968f4
fix(MSD): confirmation dialog properly shown ( #2743 )
...
Prior to this fix, the confirmation dialog would crash because of an issue in libopenui and even then would not be displayed for the lack of the proper parent window.
Fixes #2741
2022-11-16 19:49:52 +10:00
raphaelcoeffic
5a81a22514
fix(window): fix crash in case LVGL parent is NULL
2022-11-15 08:41:27 +01:00
Raphael Coeffic and Peter Feerick
062564cc41
chore: Bump libopenui for text clipping bugfix
2022-11-04 19:28:31 +10:00
Raphael Coeffic and GitHub
a08ccd00aa
fix(drawSizedText): stop trying to be smart about text clipping ( #82 )
2022-11-04 19:14:17 +10:00
Raphael Coeffic and Peter Feerick
e154ee1dea
chore: Bump libopenui for #2619 fix
2022-10-31 21:16:39 +10:00
Raphael Coeffic and GitHub
d174463d97
fix(table): re-implement LV_EVENT_RELEASE handler ( #81 )
...
Instead of calling `lv_table`'s handler, as this causes troubles when the selected cell is changed from within `LV_EVENT_VALUE_CHANGED`.
Fixes EdgeTX/edgetx#2619
2022-10-31 21:09:51 +10:00
Peter Feerick
6557f70a47
chore: Bump libopenui for #2649 fix
2022-10-31 19:19:21 +10:00
Raphael Coeffic and GitHub
a9b7f815f2
fix(NumberEdit): avoid calling setValue() to change the displayed string ( #80 )
2022-10-31 19:17:52 +10:00
Peter Feerick
f426c1f828
chore: Bump libopenui for #2606 fix
2022-10-24 11:56:27 +10:00
Malte Langermann and GitHub
fcb0e2cf5d
fix(gui): missing % sign in choices ( #79 )
2022-10-24 11:48:00 +10:00
Peter Feerick
770c9bbde6
chore: Bump libopenui
2022-10-19 20:40:12 +10:00
Raphael Coeffic and GitHub
4b85830ea2
Improve rotary encoder velocity support ( #78 )
2022-10-19 20:37:27 +10:00
Raphael Coeffic and GitHub
ba713b6b8d
feat: Further improve rotary encoder acceleration ( #2584 )
...
* Improve rotary encoder acceleration
Fixes #2417
* Further improvement
* Fix simu compilation
2022-10-19 20:36:29 +10:00
Raphael Coeffic and GitHub
584e194388
fix(X10): Simulated page up in menu toolbar ( #2543 )
...
Fixes #2542
2022-10-14 10:46:19 +10:00
Raphael Coeffic
4255642e7d
Fix menu toolbar PageUp/PageDown
2022-10-13 19:21:10 +02:00
Peter Feerick
b549820acb
fix: Reset back to ETX branch
...
Idiot PBKAC merged wrong PR
2022-10-12 13:08:46 +10:00
Gábor Bányász and GitHub
8a4a1b1b38
Speed up the initial menu filling ( #77 )
...
* Preset menu line counter. Disable update position during the fill.
* Code formating
* Redesign attempt with addLines() functions.
* .
* Menu::addLines fix for icons.
* Redesign to clean up
* Selection fix. Choice implementation.
* One more redesign.
2022-10-12 13:05:18 +10:00
Gábor Bányász and GitHub
867d627b39
Speed up bulk menu addition. ( #2516 )
...
* Speed up bulk menu bar addition.
* libopenui reference
2022-10-12 13:04:17 +10:00
Raphael Coeffic and GitHub
59b33622b8
fix(color): prevent recomputing points in NumberEdit() constructor ( #2474 )
...
Fixes #2452
2022-10-09 15:53:34 +10:00
df7d9a0fe0
fix(NumberEdit): do not call setValue() in constructor, use update() instead ( #76 )
...
This avoids writing a value when it is not necessary. All that is needed is to update the internal value and set the field string.
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com >
2022-10-09 14:40:11 +10:00
Peter Feerick
69d328f1a1
fix(color): Reduce menu outline to two pixels
2022-10-08 13:46:33 +10:00
Malte Langermann and GitHub
75087b2c1b
fix(gui): reduce menu outline to two pixels ( #74 )
2022-10-08 13:26:58 +10:00
Malte Langermann and GitHub
e120ea1548
fix(color): Missing highlight of the Min/Max value in output editor ( #2480 )
...
* fix(gui): add missing highlight of the Min/Max value in output editor acccording to the input
* change outputs min/max highlight
* output min/max highlight the right way
* chore: Bump `libopenui`
2022-10-06 20:15:31 +10:00
Malte Langermann and GitHub
ca43d52960
Add setFont and setBackgroudOpacity to StaticText ( #73 )
2022-10-06 16:16:32 +10:00
Raphael Coeffic and GitHub
3e73d1709d
fix(color): various menu toolbar fixes ( #2445 )
...
* fix: various toolbar fixes
* chore: Bump `libopenui`
Also pulls in #2446 fix
2022-10-03 13:13:12 +10:00
Malte Langermann and GitHub
ba56990950
fix(gui): partially drawn characters on top of bitmaps
2022-10-03 12:58:25 +10:00
Raphael Coeffic and Peter Feerick
37159152b0
MenuToolbar: add resetFilter()
2022-10-03 12:41:59 +10:00
Raphael Coeffic and Peter Feerick
c41b1cb458
fix(Menu): handle negative selection index properly
2022-10-03 12:41:59 +10:00
Raphael Coeffic and Peter Feerick
d2676abc61
fix(Menu): properly reset selections when content is removed
2022-10-03 12:41:59 +10:00
Raphael Coeffic and Peter Feerick
ce9c5a302a
fix(Menu): force into editing mode to fix behaviour with rotary encoder
2022-10-03 12:41:59 +10:00
Raphael Coeffic and Peter Feerick
d4661b66ea
fix(MenuToolbar): resolve various focus/filtering issues
...
This allows for de-selecting filters with keys.
2022-10-03 12:41:59 +10:00
Malte Langermann and GitHub
f6a00d1845
feat(color): Bigger menu toolbar icons, outlines around menu ( #2435 )
...
* chore: add EdgeTX source symbols to 24pt fonts to allow for larger symbols in menu filter toolbars
* chore: Bump `libopenui`
2022-10-01 21:50:04 +10:00
Malte Langermann and GitHub
fa59524ebd
fix(gui): Outline, more padding, wider buttons for menu toolbars ( #70 )
2022-10-01 21:23:18 +10:00
Malte Langermann and GitHub
491e89154c
fix(lua): drawTextLines line height now same as older ETX versions ( #2428 )
...
* fix(gui): line height in EdgeTX<2.8 was smaller at the same font size as with Edgetx >=2.8
to allow lua scripts to be optimized for odler and newer versions, drawTextLines now draws the text vertically condensed
needs https://github.com/EdgeTX/libopenui/pull/69
* chore: Bump `libopenui`
* fix: `FontHeightCorrection` needs to exist
Will be optimised out since not used in bootloader
2022-10-01 16:11:03 +10:00
Malte Langermann and GitHub
bb447ea493
fix: font height changes with LVGL through getFontHeightCondensed ( #69 )
2022-10-01 11:27:06 +10:00
Malte Langermann and GitHub
7ba7127699
fix(gui): also horiz center pop up menus when they have a toolbar ( #68 )
2022-10-01 11:26:18 +10:00
Raphael Coeffic and GitHub
d8bcecfc82
fix(color): Unify button colors ( #2367 )
...
* Button: change bg color to COLOR_THEME_PRIMARY2
And text color to COLOR_THEME_SECONDARY1
Fixes #2304
* fix: TextButton constuctor calls
Setting the font in the constructor never worked, but did set the text color to black.
* chore: Bump libopenui
2022-09-27 12:52:08 +10:00
Raphael Coeffic and GitHub
01d7036e78
TextButton: rely on LVGL theme for text color ( #67 )
2022-09-27 12:11:45 +10:00
Raphael Coeffic and GitHub
22d784a20e
feat: Use rotary encoder velocity only on specific components ( #2356 )
...
* feature: use rotary encoder velocity iff LV_OBJ_FLAG_ENCODER_ACCEL
* chore: bump libopenui
2022-09-26 11:52:51 +10:00
Raphael Coeffic and GitHub
8ad593594b
rotary encoder velocity: use a custom LVGL flag to signal support ( #66 )
2022-09-26 09:53:08 +10:00
Raphael Coeffic and Peter Feerick
41cfeee5b0
fix: pop-up dialog should not transmit key events to parent
...
Related #2182
2022-09-25 19:23:17 +10:00
Raphael Coeffic
2cb1e6fce7
dialog: prevent key events from being transmitted to parent
2022-09-25 09:09:53 +02:00
7e540594fa
fix: Re-add Switch and Curve long press functionality ( #2332 )
...
* Restore go to edit curve on lobg press from inputs tab.
* Restore long press functionaliy for switches SA_UP -> !SA_UP
* chore: Auto-formatting and bump libopenui
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-09-20 19:45:29 +10:00
eshifri and GitHub
7682db2fb2
fix: ChoiceEx long press support re-added LVGL style ( #65 )
2022-09-20 13:29:55 +10:00
Peter Feerick
8307458399
chore: Bump libopenui
...
- BMP color fix
- remove compiler type argument warnings
2022-09-18 19:24:32 +10:00
Malte Langermann and GitHub
5b32c73690
fix: loading 32BPP BMPs
2022-09-18 19:21:24 +10:00
Raphael Coeffic
c1f922ce14
chore(DynamicNumber): remove type argument warnings
2022-09-17 09:03:55 +02:00