added msgex with deps
This commit is contained in:
1 parent
2e297a62bb
commit
72b08a830d
8 files changed
+816
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user