Cosmetics
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opentx.h"
|
#include "opentx.h"
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
class ModelBitmapWidget: public Widget
|
class ModelBitmapWidget: public Widget
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -79,12 +79,12 @@ class OutputsWidget: public Widget
|
|||||||
|
|
||||||
void twoColumns(BitmapBuffer * dc)
|
void twoColumns(BitmapBuffer * dc)
|
||||||
{
|
{
|
||||||
uint8_t endColumn = drawChannels(dc, 0, 0, width() / 2, height(),
|
uint8_t endColumn = drawChannels(dc, 0, 0, (width() / 2) - 1, height(),
|
||||||
persistentData->options[0].value.unsignedValue,
|
persistentData->options[0].value.unsignedValue,
|
||||||
persistentData->options[1].value.boolValue,
|
persistentData->options[1].value.boolValue,
|
||||||
persistentData->options[2].value.unsignedValue);
|
persistentData->options[2].value.unsignedValue);
|
||||||
|
|
||||||
drawChannels(dc, width() / 2 + 2, 0, width() / 2, height(), endColumn + 1,
|
drawChannels(dc, width() / 2, 0, (width() / 2) - 1, height(), endColumn + 1,
|
||||||
persistentData->options[1].value.boolValue,
|
persistentData->options[1].value.boolValue,
|
||||||
persistentData->options[2].value.unsignedValue);
|
persistentData->options[2].value.unsignedValue);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user