1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

remeining assets and global background

This commit is contained in:
Laserlicht
2025-09-12 00:45:24 +02:00
parent 33abaa135c
commit ab3ef6c4e7
3 changed files with 43 additions and 14 deletions

View File

@@ -18,6 +18,7 @@
#include "../widgets/Buttons.h"
#include "../widgets/CComponent.h"
#include "../widgets/CComponentHolder.h"
#include "../widgets/GraphicalPrimitiveCanvas.h"
#include "../widgets/Images.h"
#include "../widgets/TextControls.h"
#include "../widgets/ObjectLists.h"
@@ -831,6 +832,8 @@ void CStackWindow::init()
{
OBJECT_CONSTRUCTION;
background = std::make_shared<CFilledTexture>(ImagePath::builtin("DIBOXBCK"), pos);
if(!info->stackNode)
{
fakeNode = std::make_unique<CStackInstance>(nullptr, info->creature->getId(), 1, true);
@@ -846,6 +849,8 @@ void CStackWindow::init()
initBonusesList();
initSections();
background->pos = pos;
}
void CStackWindow::initBonusesList()