Commit Graph
100 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic a56a66e89d Add build step to gh actions 2021-05-08 12:59:47 +02:00
Raphael CoefficandRaphael Coeffic 80ead61d03 build script 2021-05-08 12:59:47 +02:00
Raphael Coeffic 842ff130e8 really fix test images for CN 2021-05-08 10:32:33 +02:00
Raphael Coeffic a37784afc3 Fix test images for CN 2021-05-08 10:19:33 +02:00
Raphael Coeffic 07f103820d Fix test images 2021-05-08 10:06:34 +02:00
Raphael Coeffic 1d0f157b63 Remove "+" from target name in commit-tests to avoid compiling X9D instead of X9D+ 2021-05-08 09:55:09 +02:00
Raphael Coeffic 5c56c3f0de Fix fonts in bootloader 2021-05-08 09:48:44 +02:00
Raphael Coeffic 15c71e19b1 Fix commit tests 2021-05-08 09:42:52 +02:00
Raphael Coeffic 90364c2695 Better fit the fonts inside the font-bitmaps 2021-05-08 08:40:03 +02:00
Raphael Coeffic aeb297c800 Use the same font all the way for a specific language 2021-05-08 08:40:02 +02:00
Raphael Coeffic 3f64afaa5c Characters / fonts boundary checks 2021-05-08 08:38:23 +02:00
Raphael Coeffic 3a9da6d8b9 Fix compilation with FR, IT and CZ 2021-05-08 07:48:34 +02:00
Raphael Coeffic 13bd697569 Version tags changed to edgetx 2021-05-08 01:12:34 +02:00
Raphael Coeffic 45efba0f68 Use single targets instead of long jobs 2021-05-08 00:46:21 +02:00
Raphael Coeffic 72a8a69af3 Added test pic for masks unit tests 2021-05-08 00:26:10 +02:00
Raphael Coeffic 6a08317dde Filter out invalid chars to avoid out-of-bounds memory access 2021-05-08 00:22:58 +02:00
Raphael Coeffic edd9e2e287 Fixes necessary for using newest Stb/libopenui version 2021-05-08 00:01:07 +02:00
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