1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

fixed windows positions

This commit is contained in:
SoundSSGood
2023-04-23 14:57:45 +03:00
parent 1f4897e841
commit dcac8252f3
2 changed files with 3 additions and 3 deletions

View File

@@ -826,7 +826,7 @@ public:
background = std::make_shared<CAnimImage>("OVSLOT", 4); background = std::make_shared<CAnimImage>("OVSLOT", 4);
pos = background->pos; pos = background->pos;
for(int i=0; i<9; i++) for(int i=0; i<9; i++)
arts.push_back(std::make_shared<CHeroArtPlace>(Point(270+i*48, 65))); arts.push_back(std::make_shared<CHeroArtPlace>(Point(269+i*48, 66)));
} }
}; };
@@ -846,7 +846,7 @@ public:
btnLeft = std::make_shared<CButton>(Point(269, 66), "HSBTNS3", CButton::tooltip(), 0); btnLeft = std::make_shared<CButton>(Point(269, 66), "HSBTNS3", CButton::tooltip(), 0);
btnRight = std::make_shared<CButton>(Point(675, 66), "HSBTNS5", CButton::tooltip(), 0); btnRight = std::make_shared<CButton>(Point(675, 66), "HSBTNS5", CButton::tooltip(), 0);
for(int i=0; i<8; i++) for(int i=0; i<8; i++)
arts.push_back(std::make_shared<CHeroArtPlace>(Point(295+i*48, 65))); arts.push_back(std::make_shared<CHeroArtPlace>(Point(294+i*48, 66)));
} }
}; };

View File

@@ -389,7 +389,7 @@ void CTradeWindow::initItems(bool Left)
} }
else //ARTIFACT_EXP else //ARTIFACT_EXP
{ {
xOffset = -363; xOffset = -365;
yOffset = -12; yOffset = -12;
} }