Move device view above other controls, begin working on matrix display

This commit is contained in:
Adam Honse committed 2020-08-24 00:40:43 -05:00
1 parent d3993547c3
commit f787c5e63f
2 files changed
+254 -234

No files matched your search

+7
View File
@@ -92,6 +92,13 @@ void DeviceView::paintEvent(QPaintEvent *event)
painter.drawRect((col * (box_size + box_margin)), (row * (box_size + box_margin)), box_size, box_size);
col++;
if(((controller->zones[zone_idx].matrix_map != NULL)
&&(col >= (controller->zones[zone_idx].matrix_map->width))))
{
row++;
col = 0;
}
if(col > max_cols)
{
row++;