implemented main window

This commit is contained in:
Geoffray Levasseur committed 2026-11-04 14:48:04 +01:00
1 parent a11ce3005c
commit 5d5a502976
11 files changed
+2876 -37

No files matched your search

+2
View File
@@ -197,6 +197,8 @@ ListDlg::ListDlg(QWidget *parent) : FramedDlg(parent), ui(new Ui::ListDlg)
maxLines = (MainTexture->height() - (24 + titleHeight + WideFrame)) / lineDistance - 1;
}
initLines();
// resize() below repaints the content, which needs the current layer
layer = &layers[static_cast<std::size_t>(LayerIndex::Improvements)];
multiPage = false;
for (std::size_t i = static_cast<std::size_t>(LayerIndex::Wonders); i <= static_cast<std::size_t>(LayerIndex::Classes);