feat(color): add 1+4 main view screen layout (#5308)
This commit is contained in:
@@ -1328,7 +1328,9 @@
|
||||
<qresource prefix="/layouts/">
|
||||
<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_layout1p4.png">images/layouts/mask_layout1+4.png</file>
|
||||
<file alias="mask_layout1x1.png">images/layouts/mask_layout1x1.png</file>
|
||||
<file alias="mask_layout1x1am.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>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (C) EdgeTX
|
||||
*
|
||||
* Based on code named
|
||||
* opentx - https://github.com/opentx/opentx
|
||||
* th9x - http://code.google.com/p/th9x
|
||||
* er9x - http://code.google.com/p/er9x
|
||||
* gruvin9x - http://code.google.com/p/gruvin9x
|
||||
*
|
||||
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "layout.h"
|
||||
#include "layout_factory_impl.h"
|
||||
|
||||
static const uint8_t zmap[] = {
|
||||
LAYOUT_MAP_0, LAYOUT_MAP_0, LAYOUT_MAP_HALF, LAYOUT_MAP_FULL,
|
||||
LAYOUT_MAP_HALF, LAYOUT_MAP_0, LAYOUT_MAP_HALF, LAYOUT_MAP_1QTR,
|
||||
LAYOUT_MAP_HALF, LAYOUT_MAP_1QTR, LAYOUT_MAP_HALF, LAYOUT_MAP_1QTR,
|
||||
LAYOUT_MAP_HALF, LAYOUT_MAP_HALF, LAYOUT_MAP_HALF, LAYOUT_MAP_1QTR,
|
||||
LAYOUT_MAP_HALF, LAYOUT_MAP_3QTR, LAYOUT_MAP_HALF, LAYOUT_MAP_1QTR,
|
||||
};
|
||||
|
||||
BaseLayoutFactory<Layout> Layout1P4("Layout1P4", "1 + 4", defaultZoneOptions, 5,
|
||||
(uint8_t*)zmap);
|
||||
Reference in New Issue
Block a user