QLabel* label = (QLabel*)fieldUi->indexWidget(index);
label->setPixmap(QPixmap(iconId));
+ if (fixed) {
+ label->setStyleSheet("background-color: #263d49");
+ }
+
return true;
}
return false;
if (row < 0 || col < 0 || row >= rows || col >= cols) {
return;
}
- if (dir == DirDone || dir == DirFailed || dir == DirPassed) {
+ if (dir == DirFailed || dir == DirPassed) {
// No need to indicate these pseudo-directions
return;
}
file.close();
}
-// Todo next:
-// better graphics
-// save & load
-// level collections: introduction + basic
-// more levels
+// TODO:
+// --- 0.1 ---
+// more levels to the basic collection
// make fixed pipes look different than non-fixed ones
+// get rid of debug prints
+// --- 0.2 ---
+// ability to install level sets as different packages
+// better graphics
// color theme
-// --------------
// re-placing pieces
// graphical hints on what to do next
// graphical help, showing the ui elements: demo