Commit Graph
100 Commits
Author SHA1 Message Date
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
Raphael Coeffic 0fda6699a8 Re-enabled font tests with images depending on language 2021-04-14 10:04:27 +02:00
Raphael Coeffic b5d2e6915c Disable font tests
Not worth the effort.
2021-04-14 10:04:27 +02:00
Raphael Coeffic c76ea252d4 font test picture update 2021-04-14 10:04:27 +02:00
Raphael Coeffic 578e53ad90 Align the test images to those generated with Pillow 7.2.0 2021-04-14 10:04:27 +02:00
Raphael Coeffic 0ff81909a3 Make Pillow version used by Travis explicit
This is the version which is currently used, but it might change (depending on what "pip" delivers).
2021-04-14 10:04:27 +02:00
Raphael Coeffic c61e85d212 free image buffer after dump 2021-04-14 10:04:27 +02:00
Raphael Coeffic ddaeff7f65 Use stb_image_write.h instead of Qt hocus-pocus 2021-04-14 10:04:27 +02:00
Raphael Coeffic 3ad1c10fa5 Fixed solid rect clipping test 2021-04-14 10:04:12 +02:00
Raphael Coeffic d2e960b117 Updated tests according to new clipping in libopenui 2021-04-14 10:04:12 +02:00
Raphael Coeffic 95507e43a6 added missing opentx.png 2021-04-14 10:04:12 +02:00
Raphael Coeffic b4857ade93 added missing fonts.h 2021-04-14 10:04:12 +02:00
Raphael Coeffic 537d26351a Added bitmap tests 2021-04-14 10:04:12 +02:00
Raphael Coeffic e20203b0dc Fixed test pictures 2021-04-14 10:04:12 +02:00
Raphael Coeffic badb840bea Add a clipping test 2021-04-14 10:04:12 +02:00
Raphael Coeffic a217b37109 updated font test picture 2021-04-14 10:04:12 +02:00
Raphael Coeffic d2bc155e78 Re-enabled lcd tests (480x272) 2021-04-14 10:04:12 +02:00
Raphael Coeffic 421f35f4ab Use the address sanitizer for gtests 2021-04-14 10:04:12 +02:00
Raphael Coeffic 82196d4504 Use matrix strategy 2021-04-14 04:32:12 +02:00
Raphael Coeffic db45f2c618 Added COMPANION flavor 2021-04-13 00:25:40 +02:00
Raphael Coeffic 3792cb0f1b Fixed typo 2021-04-12 23:23:01 +02:00
Raphael Coeffic 0e4e07e6ed Added submodules checkout 2021-04-12 23:23:01 +02:00
Raphael Coeffic 260ce1f55b Add X7 build step
I should probably use the matrix strategy instead, but well.
2021-04-12 23:23:01 +02:00
Raphael Coeffic 6cc0c46071 Try runners on COLORLCD 2021-04-12 23:23:01 +02:00
Raphael Coeffic e1209202ce Revert "Try runners on COLORLCD"
This reverts commit aff05adb44.
2021-04-12 16:02:20 +02:00
Raphael Coeffic aff05adb44 Try runners on COLORLCD 2021-04-12 15:58:45 +02:00
Raphael Coeffic de708036a7 try to fix bootloader deps 2021-04-12 12:47:25 +02:00
Raphael Coeffic 0571b49763 missing include in gtests.h 2021-04-10 09:22:02 +02:00
Raphael Coeffic 5ae0bb7299 fixed typo 2021-04-10 08:30:35 +02:00
Raphael Coeffic 16bd43f152 Missing model_init.h 2021-04-09 17:20:50 +02:00
Raphael Coeffic 2f5dd1d4e3 modelDefault() becomes setModelDefaults() 2021-04-09 15:10:11 +02:00
Raphael Coeffic 188a9bcb77 layoutName is now layoutId 2021-04-09 14:56:50 +02:00
Raphael Coeffic 2124158686 Cosmetics 2021-04-09 14:24:41 +02:00
Raphael Coeffic ce0734c148 moved modelDefaults() and pal to model_init.cpp 2021-04-09 14:06:30 +02:00
Raphael Coeffic 569b449861 fix vendor specific model defaults 2021-04-09 13:56:00 +02:00
Raphael Coeffic 9579e5d833 allow creating an new model in an empty category 2021-04-09 13:14:18 +02:00
Raphael Coeffic e87405e732 empty / corrupted SD card start-up simplifications 2021-04-09 13:13:48 +02:00
Raphael Coeffic aa39255f64 do not create an empty model cell with no model inside the category (displays garbage) 2021-04-09 13:12:44 +02:00
Raphael Coeffic 7931937f06 check if path is existing before saving model 2021-04-09 13:11:56 +02:00
Raphael Coeffic d7e2e57cdb move eeprom related code into eeprom_common 2021-04-09 08:21:24 +02:00
Raphael Coeffic 3464d0d109 clearInputs() has been moved out of defaultInputs()
But we should keep a consistent behaviour in the LUA API.
2021-04-09 08:09:50 +02:00
Raphael Coeffic 5cf561ae16 try to get some structure into modelDefault() 2021-04-09 08:08:43 +02:00
Raphael Coeffic f39a4eed95 create mutexes before starting tasks 2021-04-08 19:51:22 +02:00
Raphael Coeffic af09424f48 layouts are searched by ID rather than by name 2021-04-08 18:51:50 +02:00
Raphael Coeffic c39a06eac0 place defaults after wiping storage 2021-04-08 18:51:26 +02:00
Raphael Coeffic 2b6e5ef5d8 re-added calibration at start 2021-04-08 15:42:24 +02:00
Raphael Coeffic b3d4439f63 fix calibration page 2021-04-08 15:41:05 +02:00
Raphael Coeffic ae7824eff8 ViewMain must be created first 2021-04-08 15:40:23 +02:00
Raphael Coeffic e2a1abe625 proper Key init 2021-04-08 00:31:08 +02:00
Raphael Coeffic 15fbc2272f update to latest libopenui 2021-04-08 00:30:03 +02:00
Raphael Coeffic ed67504a3c fixes FullScreenDialog
fixes focus lost after warning screens.
2021-04-08 00:22:15 +02:00
Raphael Coeffic 28026f1a78 further unified layout options 2021-04-07 08:20:30 +02:00
Raphael Coeffic ed7ceccfa5 compile fix ModelBmp 2021-04-06 10:24:54 +02:00
Raphael Coeffic 1335bcf8db Singleton ViewMain
This requires https://github.com/opentx/libopenui/pull/10
2021-04-06 10:20:49 +02:00
Raphael Coeffic 3d19b03bc1 Singleton ViewMain
This requires https://github.com/opentx/libopenui/pull/10
2021-04-06 09:24:25 +02:00
Raphael Coeffic 8ff0137708 unify common layout settings 2021-04-06 09:23:35 +02:00
Raphael Coeffic 5c8448a696 getMainZone() moved to Layout 2021-04-06 09:23:35 +02:00
Raphael Coeffic ab138debe1 updated libopenui 2021-04-06 09:19:59 +02:00
Raphael Coeffic 179b86635c unify common layout settings 2021-04-05 19:48:20 +02:00
Raphael Coeffic da83e6b210 getMainZone() moved to Layout 2021-04-05 19:34:38 +02:00
Raphael Coeffic 4eb4177d8c fixed decorations 2021-04-05 16:34:12 +02:00
Raphael Coeffic ad15dfd170 PoC: nicer ModelBmp widget 2021-04-05 15:01:49 +02:00
Raphael Coeffic b54f01e0b7 Fixed model image widget
This is basically the same as in 2.3.
2021-04-05 13:44:18 +02:00
Raphael Coeffic 18ec048dd0 clean-up 2021-04-05 10:20:41 +02:00