Update to latest libopenui
This commit is contained in:
@@ -515,13 +515,13 @@ class TrainerModuleWindow : public FormGroup {
|
||||
GET_DEFAULT(g_model.trainerData.delay * 50 + 300),
|
||||
SET_VALUE(g_model.trainerData.delay, (newValue - 300) / 50));
|
||||
edit->setStep(50);
|
||||
edit->setSuffix("us");
|
||||
edit->setSuffix(STR_US);
|
||||
|
||||
// PPM Polarity
|
||||
new Choice(this, grid.getFieldSlot(3, 2), STR_PPM_POL, 0, 1, GET_SET_DEFAULT(g_model.trainerData.pulsePol ));
|
||||
grid.nextLine();
|
||||
}
|
||||
getParent()->moveWindowsTop(top(), adjustHeight());
|
||||
getParent()->moveWindowsTop(top() + 1, adjustHeight());
|
||||
}
|
||||
|
||||
protected:
|
||||
@@ -757,7 +757,7 @@ class ModuleWindow : public FormGroup {
|
||||
GET_DEFAULT(g_model.moduleData[moduleIdx].ppm.delay * 50 + 300),
|
||||
SET_VALUE(g_model.moduleData[moduleIdx].ppm.delay, (newValue - 300) / 50));
|
||||
edit->setStep(50);
|
||||
edit->setSuffix("us");
|
||||
edit->setSuffix(STR_US);
|
||||
|
||||
// PPM Polarity
|
||||
new Choice(this, grid.getFieldSlot(3, 2), STR_PPM_POL, 0, 1, GET_SET_DEFAULT(g_model.moduleData[moduleIdx].ppm.pulsePol ));
|
||||
@@ -894,7 +894,7 @@ class ModuleWindow : public FormGroup {
|
||||
}
|
||||
}
|
||||
|
||||
getParent()->moveWindowsTop(top(), adjustHeight());
|
||||
getParent()->moveWindowsTop(top() + 1, adjustHeight());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ class BluetoothConfigWindow : public FormGroup
|
||||
grid.nextLine();
|
||||
}
|
||||
|
||||
getParent()->moveWindowsTop(top(), adjustHeight());
|
||||
getParent()->moveWindowsTop(top() + 1, adjustHeight());
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
@@ -89,7 +89,7 @@ class FilePreview : public Window
|
||||
class FlashModuleDialog: public FullScreenDialog
|
||||
{
|
||||
public:
|
||||
FlashModuleDialog(ModuleIndex module):
|
||||
explicit FlashModuleDialog(ModuleIndex module):
|
||||
FullScreenDialog(WARNING_TYPE_INFO, "Flash device"),
|
||||
device(module),
|
||||
progress(this, {100, 100, 100, 15})
|
||||
|
||||
@@ -152,9 +152,6 @@ class DateTimeWindow : public FormGroup {
|
||||
seconds->setDisplayHandler([](BitmapBuffer * dc, LcdFlags flags, int32_t value) {
|
||||
dc->drawNumber(FIELD_PADDING_LEFT, FIELD_PADDING_TOP, value, flags | LEADING0, 2);
|
||||
});
|
||||
|
||||
grid.nextLine();
|
||||
getParent()->moveWindowsTop(top(), adjustHeight());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -517,7 +517,7 @@ void MultiModuleSyncStatus::getRefreshString(char * statusText)
|
||||
tmp = strAppendUnsigned(tmp, inputLag, 5);
|
||||
tmp = strAppend(tmp, "us R ");
|
||||
tmp = strAppendUnsigned(tmp, (uint32_t) (adjustedRefreshRate / 1000), 5);
|
||||
tmp = strAppend(tmp, "us");
|
||||
tmp = strAppend(tmp, STR_US);
|
||||
#else
|
||||
tmp = strAppend(tmp, "Sync at ");
|
||||
tmp = strAppendUnsigned(tmp, (uint32_t) (adjustedRefreshRate / 1000000));
|
||||
|
||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 0b9820045c...05cd2ae9dc
Reference in New Issue
Block a user