Commit Graph
100 Commits
Author SHA1 Message Date
Raphael Coeffic 50efcd2490 change splash image 2021-05-07 13:02:51 +02:00
Raphael Coeffic aee486bffd Added clang-format file 2021-05-07 10:09:56 +02:00
Raphael Coeffic e44e3e6fe6 Removed some targets from build 2021-05-06 13:29:17 +02:00
Raphael CoefficandRaphael Coeffic d45381829e update libopenui 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic d62bce4427 Fix display inversion issue in T12 tests-radio 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 2498f438f4 Cleanup and update libopenui 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 9caa10c750 Fixed LCD tests 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic d877efddef Added touch focus handling in view main 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic eb4e4af0d2 Fixed display inversion issues. 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 12ede2ca62 Fixed inverstion issue on radio
Spoiler: only some bitmaps used to be inverted. Added masks and fonts now in inverted mode to use the same functions.
2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 3bf5d8e177 Somehow working driver for the radio 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 4fe2aaefe6 Compilation fix for non-touch hardware 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 4f0ca997a8 Fixed segfault for widgets without options 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic a01a22c96f Select the widget when touched prior to firing up the menu 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic a369f83f13 Update the test changes related to color changes 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic a37d3900c5 Prevent image downscaling on every refresh (ModelBmp) 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 06335e596d Added scratch buffer and use the modifed drawFilledRect() (see libopenui#15) 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic b992cc773b Shuffling colors around 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 4935ed991e Move simu LCD buffer to the right place 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 4b840c7e32 Fix stack crash with value widget 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 3a3d8bfbad Cleanup 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 05115bc2da Fixed view main menu border 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 2c790cbc16 Fix focus issue when leaving "Setup Widget" screen. 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic de86bdcc97 Added SelectFabCarousel to implement a button carousel. 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 8ff852a560 Fixes and and a hint message on how to exit fullscreen mode. 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic d470092952 Improved SelectFabButton 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic f305fd397d Selectable widgets (+edit, fullscreen mode, etc) 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic f0f6a1e093 Fixed various issues while running "teckel12/LuaTelemetry" widget 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 9b648a14e4 Fix COLORLCD gtests-radio target 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 06a65e1bd9 Propagate widget settings change to widget 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 257f647d17 Fix for 212x64 as well 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 3ba55ac34e Fixed non-color lcd cmake
No widgets necessary for B/W.
2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 72a7409d10 First working LUA widget: Timer2 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic ca36c9595e Moved simu LCD buffer to simu target 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic a642f094e9 Next try... 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic d87dc9551d Force uint16_t on the backup buffer 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic a7648d23f8 Make the tests pass 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 0a15ba24e9 Test pictures 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 3a45cbe8e7 Cleanup & fixes 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 1716e24260 Missing method for COLORLCD 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 4656921dea New the BLINK fields do blink 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 9bcd15e49d Finished moving color table and added INVERS 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 897d8535e7 Added missing api_colorlcd.h 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 7b26fe708b More fixes 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 11c9c7dc33 Fixed opacity issues 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic f1be9157ae Move away from color table for low level ops 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 1fa99fdeb2 Glider wizard running in simu
Text fields are still displayed as a black box (needs to be fixed)
2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic fcf9683f2d NAVIGATION_HORUS does not exist anymore
Use COLORLCD instead.
2021-05-06 12:55:59 +02:00
Raphael Coeffic f63738aada fixed bitmap test 2021-05-04 08:26:34 +02:00
Raphael Coeffic c919fd4fb8 Use recursive submodule checkout 2021-05-04 07:51:18 +02:00
Raphael Coeffic dd76ddd02e Try to make Travis use docker as well 2021-04-19 01:14:00 +02:00
Raphael Coeffic 85da52db55 Fix layout / widget init buffer overflow 2021-04-18 17:53:59 +02:00
Raphael Coeffic 1588d87d4d Apply general defaults on storageFormat() (SD card) 2021-04-18 10:54:01 +02:00
Raphael Coeffic fc2bb84ee0 Fix empty model filename issue 2021-04-18 10:39:16 +02:00
Raphael Coeffic b259d0baeb Save screen settings when leaving screen (only) 2021-04-18 09:41:15 +02:00
Raphael Coeffic 0e684058e4 Make compiler happy (packed structs are a pain....) 2021-04-18 09:04:26 +02:00
Raphael Coeffic 3b0a216394 Finished flight mode label placement
And a bit of clean-up / fixes.
2021-04-18 08:52:15 +02:00
Raphael Coeffic 0ca9e773b2 Refined WidgetsContainer interface and some names 2021-04-18 07:58:28 +02:00
Raphael Coeffic f8029584d8 renamed template implementation files to "_impl" instead of "_implem" 2021-04-18 07:58:28 +02:00
Raphael Coeffic 413b97c9d6 Refactor layout / widget interface
This allows to cut loose quite some dependencies on headers.
2021-04-18 07:58:28 +02:00
Raphael Coeffic 3c4047bb8d Added topbar widget settings 2021-04-18 07:58:28 +02:00
Raphael Coeffic aab6d7eab1 Added slide limit to at most one page on main view 2021-04-18 07:58:28 +02:00
Raphael Coeffic 268327d0f3 Prevent screen sliding while setting up widgets 2021-04-18 07:58:28 +02:00
Raphael Coeffic 8897fdbcd0 Update topbar visibility when leaving screen setup 2021-04-18 07:58:28 +02:00
Raphael Coeffic 93b5b1db1b Fix a couple of bugs related to topbar appearance 2021-04-18 07:58:28 +02:00
Raphael Coeffic 256e53a016 Allow for progressive Topbar (dis-)appearance 2021-04-18 07:58:28 +02:00
Raphael Coeffic d7ca222edd Fix innerHeight of widgets when topbar is added/removed (in options) 2021-04-18 07:58:27 +02:00
Raphael Coeffic 25ff3fcfc1 Do not set the topbar visibility from the layout
This is done only from the scroll position.
2021-04-18 07:58:27 +02:00
Raphael Coeffic e8829d862f WiP 2021-04-18 07:58:27 +02:00
Raphael Coeffic ceb2a50f76 clean-up 2021-04-18 07:58:27 +02:00
Raphael Coeffic e3b1a84343 Topbar visibility works now on start as well (no matter the configured screens) 2021-04-18 07:58:27 +02:00
Raphael Coeffic 50d6e113f2 Added auto-topbar (dis-)appearance 2021-04-18 07:58:27 +02:00
Raphael Coeffic dd14fff628 omg... 2021-04-18 07:58:27 +02:00
Raphael Coeffic fd9f441c88 Fixed typo 2021-04-18 07:58:27 +02:00
Raphael Coeffic 4e22bcb645 Added some more for DEBUG_WINDOWS
Allow for tracing when widget get invalidated and painted.
2021-04-18 07:58:14 +02:00
Raphael Coeffic 1b07e2e76b Fixed scrolling issue on new main view 2021-04-18 07:58:14 +02:00
Raphael Coeffic 6aef62c94a Add border around all widgets when configuring them 2021-04-18 07:57:42 +02:00
Raphael Coeffic 0e230421bf Fixed returning to the same screen after configuring another one 2021-04-18 07:57:42 +02:00
Raphael Coeffic 71dc7f1d04 Fixes issue with widgets not visible on widget config screen 2021-04-18 07:57:42 +02:00
Raphael Coeffic ba3c879f75 Let the TopBar follow the scrolling 2021-04-18 07:57:42 +02:00
Raphael Coeffic f98d4c65d1 Avoid libopenui issue 13 2021-04-18 07:57:42 +02:00
Raphael Coeffic d3e340d230 Work around issue 13 in libopenui 2021-04-18 07:57:42 +02:00
Raphael Coeffic d0a14cf2a2 Moved ViewMainDecoration back to Layout
This allows each custom screen to have its own trims/sliders/etc being displayed properly while scrolling from view to view.
2021-04-18 07:57:42 +02:00
Raphael Coeffic 19cab41034 Re-add periodic refresh on topbar and layout 2021-04-18 07:57:42 +02:00
Raphael Coeffic 1bce228910 More header fixes for COLORLCD 2021-04-18 07:57:42 +02:00
Raphael Coeffic f76ef9312b Fixed includes for BW radios 2021-04-18 07:57:42 +02:00
Raphael Coeffic ef6f2d0c57 Scrolling from view to view works now
And quite some bugs & crashes fixed.
2021-04-18 07:57:42 +02:00
Raphael Coeffic 0a7d4c43f5 Fixed missing include 2021-04-18 07:57:41 +02:00
Raphael Coeffic a1cd234c14 Re-use ViewMain decoration in Radio calibration 2021-04-18 07:57:41 +02:00
Raphael Coeffic 3ed1de1619 Fixed layout options 2021-04-18 07:57:41 +02:00
Raphael Coeffic 587f903bb6 Fixed indexes on ScreenAddPage 2021-04-18 07:57:41 +02:00
Raphael Coeffic 0ad4e6fce1 Layouts properly removed & deleted on model change 2021-04-18 07:57:41 +02:00
Raphael Coeffic bf144290f3 WiP 2021-04-18 07:57:41 +02:00
Raphael Coeffic 99018ce726 Dynamic zones working 2021-04-18 07:57:41 +02:00
Raphael Coeffic 9a0f609ff7 Removed duplicated code 2021-04-18 07:57:41 +02:00
Raphael Coeffic ad845a5d6b Main screen deco layout fine tuning / fixes. 2021-04-18 07:57:41 +02:00
Raphael Coeffic 19ab22e1a4 Dynamic layout for main screen decorations 2021-04-18 07:57:41 +02:00
Raphael Coeffic f2274a0423 Moved main screen decoration to ViewMain 2021-04-18 07:57:41 +02:00
Raphael Coeffic db6b856d2f Updated libopenui 2021-04-16 22:52:50 +02:00
Raphael Coeffic 3ae7bafdd3 Fix sliders value type (16 bits) 2021-04-16 11:42:10 +02:00