added msgex with deps

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 16:01:03 +01:00
1 parent 2e297a62bb
commit 72b08a830d
8 files changed
+816

No files matched your search

+4
View File
@@ -41,6 +41,8 @@
namespace Cevo {
namespace UnitStat {
std::function<void(WindowMode, int)> showNewContentOwnModel = [](WindowMode, int) {};
namespace {
constexpr int xView = 71;
@@ -174,6 +176,8 @@ UnitStatDlg::UnitStatDlg(QWidget *parent) : BufferedDrawDlg(parent), ui(new Ui::
};
ui->helpBtn->onClick = [this] { Help::showNewContent(WindowMode::Persistent, Help::LinkCategory::Model, 0); };
UnitStat::showNewContentOwnModel = [this](WindowMode newMode, int mix) { this->showNewContentOwnModel(newMode, mix); };
onShow = [this] {
if (kind == UnitStatDialogKind::EnemyUnit || kind == UnitStatDialogKind::EnemyCityDefense ||
kind == UnitStatDialogKind::EnemyCity) {