Commit Graph
480 Commits
Author SHA1 Message Date
Peter Feerick cd52eb9737 Fix #39 hardware touch whoopsie 2021-11-30 22:17:31 +10:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
758c56a4cf Fix being able to enable and disable popup menu filters (#39)
* fix-228

* removed commented codes

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-30 22:14:57 +11:00
Malte LangermannandGitHub 1a886dee5f Fix scroll inertia (again) (#38)
* fix scroll inertia

* scroll inertia now works like before touch on/off changes
2021-11-26 21:37:29 +11:00
gagarinlgandPeter Feerick 4e1cba2bad fix scroll inertia 2021-11-21 20:53:50 +10:00
Peter FeerickandPeter Feerick b211ce5af6 If scroll value out of range, set min or max number_edit value 2021-11-18 10:56:13 +10:00
Peter FeerickandGitHub dd8c122db5 Adjust theme constants use by Menu 2021-11-15 22:04:31 +11:00
Malte LangermannandGitHub 01f9e83117 Implement touch disable/enable statemachine (#34)
* implemented a touch disable/enable statemachine

works as follows:
if touch is enabled, everything is processed
if touch is disabled, nothing is processed
when switching from disabled to enabled, and the display touched before, the TE_UP/TE_SLIDE_END ist ignored
when switching from enabled to disabled and the display is touched, the next TE_UP/TW_SLIDE_END will be processed, to leave nobody in a touch started but never ended state

* fix touch screen handling when staring touch while disabled and releasing touch when enabled

* touch on/off with backlight on/off is working

* setTouchEnable has to be #if defed for touch radios
2021-11-15 21:07:56 +11:00
Malte LangermannandGitHub 40432653bd Make sliders honor the enable bool (#33) 2021-11-10 21:58:11 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
4c0518d2d9 Fix continuously touch end events and ensuretouchEnd if no scroll
* minor changes to touch and slide processing.  set event to TE_NONE so you don't continuously get touch end events.
also make sure you get touchEnd if you slid but there is no sliding window (e.g. no scroll happened)

* revert slide operations back to their original state

* fix merge issue

* one more try and it should be right now

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-04 21:57:37 +11:00
Peter FeerickandGitHub cabf8cca45 Merge pull request #28 from kevinkoenig/fix-slide-touch
Fix slide touch - merge commit to save grief with another PR
2021-10-29 11:33:59 +10:00
gagarinlgandPeter Feerick 45db1393d6 added a way to disable touch screen event handling
Needed for EdgeTX issue #185
2021-10-24 22:32:03 +11:00
28f224e64a Fix drawBitmapAbs transparency (i.e. PNGs) (#27)
* fix tansparency: when a bitmap change dimension, the function
drawBitmapAbs() is called.
this function respect the original format now !

* A BitmapBuffer can be draw inside another BitmaBuffer (ex: function
paint( BitmapBuffer * dc )) If the format is different, now the drawing
is correct.

Co-authored-by: Runsys16 <rene.negre@orange.com>
2021-10-23 12:07:03 +11:00
kkoenig1@optonline.comandPeter Feerick 45e4f05b16 readded separators correctly this time 2021-10-22 20:36:05 +11:00
kkoenig1@optonline.comandPeter Feerick cda649db1f Revert "added menu separators"
This reverts commit 35a4ebc7fe5b86eec23ddf8a9291d539f44e14b4.
2021-10-22 20:36:05 +11:00
kkoenig1@optonline.comandPeter Feerick bd3781c95e added menu separators 2021-10-22 20:36:05 +11:00
kkoenig1@optonline.com 582f953e50 put files in right place 2021-10-21 05:32:03 -04:00
kkoenig1@optonline.com 8ea6f964fa put files in wrong place 2021-10-21 05:30:49 -04:00
kkoenig1@optonline.com 324622e11e fix touchend and slide processing to make it consistent. 2021-10-21 05:11:19 -04:00
kkoenig1@optonline.comandPeter Feerick 3ebd4321eb More color fixes, set background of FormField 2021-09-29 10:56:55 +10:00
kkoenig1@optonline.comandPeter Feerick d862cd6a8c Enhance FormField paint to allow instantiator to set a background color handler. Used in FlightModes() to set background color. Enhance GridLayout to allow whitespace at top. changed modal to use hard coded BLACK instead of theme color as per JimB40 2021-09-29 10:56:55 +10:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
461b8971a2 Fix colors used for TextButtons, MenuToolbarButton and ModalWindow (#25)
* fix colors for modal window and toolbar buttons in menu popuos
* fix TextButton correctly so all TextButtons in app just work
* fix TextButton correctly so the app just worksX

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-09-28 19:01:15 +10:00
Peter Feerick 672dc8389b [choice] Resolve textHandler pointer scoping 2021-09-23 22:19:08 +10:00
Peter Feerick 5ced0de44a [choice] fixup bounding and showing current value 2021-09-22 21:53:26 +10:00
Raphael Coeffic 5ed1d63d6e [choice] check boundaries when accessing values vector
EdgeTX/edgetx#767
2021-09-22 12:56:28 +02:00
Raphael Coeffic 05a858d4c2 [menutoolbar] pass current value to fillMenu() 2021-09-19 10:18:25 +02:00
kevinkoenigandPeter Feerick ede2dba2ea Fixes the defect that the software keyboard does not call onChangeEnd if the keyboard is hidden via touch and not via an esc. It changes TextEdit and FormField to move the onChange event to the base class instead of in TextEdit. Now the keyboard calls onChange when it is hidden. 2021-09-17 20:33:23 +10:00
Cliff(dlktdr)andPeter Feerick 06fb5b0e18 Use a virtual event so enter on keyboard calls changeHandler() immediately 2021-09-16 19:00:48 +10:00
Peter FeerickandGitHub c8f79c95a2 Create README.md 2021-09-13 19:18:07 +10:00
Raphael CoefficandRaphael Coeffic 218e8bed02 Remove harmful & useless MinGW32 compatibility definitions 2021-09-13 07:53:25 +02:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
89978ff17c Move ChoiceEx to libopenui + fix keyboard crash (#19)
* moved choiceex.* to libopenui where it belongs

* added choiceex to build

* enhanced system

* removed construtor parameter for getTicks.  Turns out you can just access the timer directly in libopenui

* fixed keyboard crash for widget settings

* code cleanup

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-09-13 12:20:24 +10:00
Peter FeerickandGitHub e9451cd042 Merge pull request #20 from pfeerick/patch-1
Add clang format config
2021-09-13 08:38:03 +10:00
Peter FeerickandGitHub b611071855 Add clang format config
Same format as edgetx repo
2021-09-10 20:59:17 +10:00
CliffandRaphael Coeffic 8bde45bb86 Add get current selection index 2021-09-08 06:25:11 +02:00
kevinkoenigandRaphael Coeffic 2c5ed7e3ad fix crash in number kebyoard when NumericKeyboard looses focus 2021-09-03 09:47:39 +02:00
kevinkoenigandRaphael Coeffic 47585b8829 fixed potential compilation issue 2021-09-03 09:47:39 +02:00
jfrickmannandRaphael Coeffic 6c16afa28b Applied flags to SubTitle 2021-08-30 07:38:54 +02:00
Raphael CoefficandGitHub 7cd0a01d63 Merge pull request #14 from kevinkoenig/software-keyboard
Software keyboard
2021-08-29 18:33:34 +02:00
Raphael CoefficandGitHub 4b532bff3b Merge pull request #13 from eshifri/moveTop
do not change window size when moving the top
2021-08-28 08:33:54 +02:00
kevinkoenig 95f696bfef fix scroll position 2021-08-27 13:11:11 -04:00
kkoenig1@optonline.com 8a1089538f trying to fix scrolling to correct positon when keyboard pops up 2021-08-26 17:26:28 -04:00
eshifri 41b40f4afd do not change window size when moving the top 2021-08-25 20:52:09 -07:00
kkoenig1@optonline.com 36e048cde3 fixing stuff 2021-08-25 16:53:47 -04:00
kkoenig1@optonline.com 75110d2f0d modified to fix issue with return 2021-08-25 15:59:38 -04:00
kkoenig1@optonline.com 2f30482115 fix issue with compile 2021-08-25 15:56:59 -04:00
kkoenig1@optonline.com 9ee4d2b726 hide numeric keyboard on RETURN key 2021-08-25 15:31:32 -04:00
kkoenig1@optonline.com 1c1d542839 Updated software keyboard to center, and provice press indicators 2021-08-25 12:28:22 -04:00
Raphael CoefficandGitHub b6c126f4e4 Merge pull request #12 from jfrickmann/CustomizableColorScheme
OS theme colors as suggested by JimB40 in #506 #540
2021-08-22 09:28:03 +02:00
Raphael CoefficandGitHub 76c813e6f2 Merge pull request #11 from EdgeTX/virtual-keyboard-fieldcontainer
[keyboard] Fix nullptr access while searching for full screen window
2021-08-18 06:30:07 +02:00
jfrickmann efb228c8e2 Assigned unused flags for Lua use
Please see lua/api_colorlcd.h
2021-08-14 09:32:49 -04:00
jfrickmann 27c067553b OS theme colors as suggested by JimB40 in #506 #540
Did the scripted search and replace of theme colors to introduce 11 new colors replacing 40 old colors.
2021-08-05 21:00:13 -04:00