Commit Graph
1301 Commits
Author SHA1 Message Date
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
2f65ec4c58 Lots of color fixes and screen enhancements (#833)
* consolidated all color fixes and screen enhancements into one new branch

* Bump libopenui

* enhanced telementry sensor display

* fix discover and add sensor buttons on NV14.

* changed quick menu to not use theme colors as per JimB.  Fixed telemetry buttons for NV14

* fix colors on trainer page

* Merge cleanup

* Update libopenui

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-29 22:27:11 +10: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 ecbe89c0f4 Update libopenui - Fixes #767 2021-09-24 19:35:59 +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 CoefficandPeter Feerick 64a87812bb [color] do not use setValue() in SourceChoice / SwitchChoice
This potentially deletes the source/switch choice, which then triggers a "use-after-free".

Resolves #759
2021-09-20 11:04:11 +10:00
Raphael Coeffic 05a858d4c2 [menutoolbar] pass current value to fillMenu() 2021-09-19 10:18:25 +02:00
CliffandGitHub 3dedcad75a Category editor (#725)
* Allow model moving between categories

* Initial Commit - Categories Editor

* Don't allow move of active models & save

* Create group for categories, add, remove, delete working.

One glitch on add still...

* allow index choice on tabs page build

* Don't allow setting name null

* Change layout

* Null terminate string + save

* Optionally hide delete button

* Allow add a new model on touch if there are none

* Remove seperator

* Fix compiler warning

* Assign not compare

* Add Translation Strings for Model Categories and Models

* Use translated strings

* Update libopenui

* Add extra newline so scrolls proper

* Update libopenui
2021-09-18 21:21:57 +10: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 Coeffic b9544afe6a Update libopenui 2021-09-13 11:13:49 +02:00
Raphael Coeffic 118fc26374 WiP Windows build workflow 2021-09-13 11:13:08 +02:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
8f8374f3b9 Move sourcechoice and switchchoice to ChoiceEx implementation (#691)
* move sourcechoice and switchchoice to ChoiceEx implementation

* removed getTicks parameter from ChoiceEx.  Turns out it can just access timer directly

* clean up keyboard support for topbar.cpp, protect against crash in keyboard

* Switch back to edgetx libpenui and sync

* Formatting

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-13 17:09:13 +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
542213de11 Add Bluetooth Trainer Options in Model Setup (#686)
* Initial Commit, Bluetooth Trainer options

* MasterBt & Slave working

* Cleanup BT Trainer

* Add extra defines so still works bluetooth disabled

* Add long string for not connected

* Make btMenu popup global

Also fixes not disconnecting if switches from master <-> slave bluetooth.

* Update libopenui

* Remove Global popup, add checks to if pop-up open

* Add subclass with an popup-opened bool

* Refresh GUI on BT mode change, except if pop-up open

* Don't update if OSK open

* Autoformatting

* Make trainer bottom spacer apply to all touch scns

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-13 12:00:14 +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
Raphael Coeffic 2e767a8d6b Updated libopenui 2021-09-05 19:25:47 +02:00
Raphael Coeffic e700870f70 Updated libopenui to fix crash with software keyboard 2021-09-03 09:49:14 +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
Peter Feerick 57dd1bd779 Update libopenui 2021-08-30 23:21:30 +10: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
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
jfrickmann 5fd78ce0d7 Updated libopenui 2021-08-26 10:49:45 -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 Coeffic 44001fee50 updated libopenui 2021-08-22 19:42:50 +02: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 Coeffic 7e5397a8d2 Updated libopenui 2021-08-18 06:32:37 +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
Raphael Coeffic 398969df19 [keyboard] Fix nullptr access while trying to find a suitable full screen window 2021-08-04 10:11:33 +02:00
Raphael Coeffic 7f6b1c7924 Updated libopenui 2021-08-04 07:19:31 +02:00
Raphael Coeffic 8314bb645e [filechoice] Fixed extension-matching in case a file without extension is present 2021-08-04 07:15:17 +02:00
Raphael Coeffic 9a112977f8 Update libopenui 2021-08-02 10:46:18 +02:00
WismyYaoandRaphael Coeffic e487273ce9 Fix the out of bounds of array 2021-08-02 10:44:47 +02:00
Raphael CoefficandGitHub 704c03a422 Merge pull request #499 from EdgeTX/freertos
FreeRTOS Integration
2021-07-31 18:42:39 +02:00
Raphael Coeffic 5a272cbf89 Update libopenui to include a fix for checkboxes
Resolves #444
2021-07-31 18:12:45 +02:00