IRC Ghost 12 bit support

This commit is contained in:
Štěpán Dalecký
2022-01-22 13:43:30 +01:00
committed by Raphael Coeffic
parent a177264759
commit 77386e6391
8 changed files with 94 additions and 52 deletions
+5
View File
@@ -1255,6 +1255,11 @@ class ModuleWindow : public FormGroup {
grid.nextLine();
}
if (isModuleGhost(moduleIdx)) {
new StaticText(this, grid.getLabelSlot(true), "Raw 12 bits", 0, COLOR_THEME_PRIMARY1);
new CheckBox(this, grid.getFieldSlot(), GET_SET_DEFAULT(g_model.moduleData[moduleIdx].ghost.raw12bits));
}
auto par = getParent();
par->moveWindowsTop(top() + 1, adjustHeight());
par->adjustInnerHeight();