mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
MR feedack
This commit is contained in:
parent
a7bb87d8a1
commit
67879bac55
6 changed files with 30 additions and 35 deletions
|
@ -39,13 +39,12 @@ namespace LuaUi
|
|||
MyGUI::IntCoord atlasCoord;
|
||||
if (resource)
|
||||
{
|
||||
auto& data = resource->data();
|
||||
atlasCoord = MyGUI::IntCoord(
|
||||
static_cast<int>(data.mOffset.x()),
|
||||
static_cast<int>(data.mOffset.y()),
|
||||
static_cast<int>(data.mSize.x()),
|
||||
static_cast<int>(data.mSize.y()));
|
||||
setImageTexture(data.mPath);
|
||||
static_cast<int>(resource->mOffset.x()),
|
||||
static_cast<int>(resource->mOffset.y()),
|
||||
static_cast<int>(resource->mSize.x()),
|
||||
static_cast<int>(resource->mSize.y()));
|
||||
setImageTexture(resource->mPath);
|
||||
}
|
||||
|
||||
bool tileH = propertyValue("tileH", false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue