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:
@@ -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)));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -389,7 +389,7 @@ void CTradeWindow::initItems(bool Left)
|
|||||||
}
|
}
|
||||||
else //ARTIFACT_EXP
|
else //ARTIFACT_EXP
|
||||||
{
|
{
|
||||||
xOffset = -363;
|
xOffset = -365;
|
||||||
yOffset = -12;
|
yOffset = -12;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user