feat(color): Generate layout icon bitmap at runtime to account for screen orientation (#3282)
* Simplify layouts code, use data driven layout definition. Generate icon bitmap at runtime to account for screen orientation. Move old layout png images to companion folder (still used in companion). * Align buffer for bitmap. * Use 'free' instead 'delete' for bitmap buffer to avoid failed build test.
@@ -1275,18 +1275,18 @@
|
||||
<file>themes/yerico/48/sdsync.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/layouts/">
|
||||
<file alias="mask_layout1p2.png">../../radio/src/gui/colorlcd/layouts/mask_layout1+2.png</file>
|
||||
<file alias="mask_layout1p3.png">../../radio/src/gui/colorlcd/layouts/mask_layout1+3.png</file>
|
||||
<file alias="mask_layout1x1.png">../../radio/src/gui/colorlcd/layouts/mask_layout1x1.png</file>
|
||||
<file alias="mask_layout1x2.png">../../radio/src/gui/colorlcd/layouts/mask_layout1x2.png</file>
|
||||
<file alias="mask_layout1x3.png">../../radio/src/gui/colorlcd/layouts/mask_layout1x3.png</file>
|
||||
<file alias="mask_layout1x4.png">../../radio/src/gui/colorlcd/layouts/mask_layout1x4.png</file>
|
||||
<file alias="mask_layout2p1.png">../../radio/src/gui/colorlcd/layouts/mask_layout2+1.png</file>
|
||||
<file alias="mask_layout2p3.png">../../radio/src/gui/colorlcd/layouts/mask_layout2+3.png</file>
|
||||
<file alias="mask_layout2x1.png">../../radio/src/gui/colorlcd/layouts/mask_layout2x1.png</file>
|
||||
<file alias="mask_layout2x2.png">../../radio/src/gui/colorlcd/layouts/mask_layout2x2.png</file>
|
||||
<file alias="mask_layout2x3.png">../../radio/src/gui/colorlcd/layouts/mask_layout2x3.png</file>
|
||||
<file alias="mask_layout2x4.png">../../radio/src/gui/colorlcd/layouts/mask_layout2x4.png</file>
|
||||
<file alias="mask_layout4p2.png">../../radio/src/gui/colorlcd/layouts/mask_layout4+2.png</file>
|
||||
<file alias="mask_layout1p2.png">images/layouts/mask_layout1+2.png</file>
|
||||
<file alias="mask_layout1p3.png">images/layouts/mask_layout1+3.png</file>
|
||||
<file alias="mask_layout1x1.png">images/layouts/mask_layout1x1.png</file>
|
||||
<file alias="mask_layout1x2.png">images/layouts/mask_layout1x2.png</file>
|
||||
<file alias="mask_layout1x3.png">images/layouts/mask_layout1x3.png</file>
|
||||
<file alias="mask_layout1x4.png">images/layouts/mask_layout1x4.png</file>
|
||||
<file alias="mask_layout2p1.png">images/layouts/mask_layout2+1.png</file>
|
||||
<file alias="mask_layout2p3.png">images/layouts/mask_layout2+3.png</file>
|
||||
<file alias="mask_layout2x1.png">images/layouts/mask_layout2x1.png</file>
|
||||
<file alias="mask_layout2x2.png">images/layouts/mask_layout2x2.png</file>
|
||||
<file alias="mask_layout2x3.png">images/layouts/mask_layout2x3.png</file>
|
||||
<file alias="mask_layout2x4.png">images/layouts/mask_layout2x4.png</file>
|
||||
<file alias="mask_layout4p2.png">images/layouts/mask_layout4+2.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 201 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 182 B |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 196 B |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 196 B |