aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/soundstuff/textures/soundstuff_eat.png
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-11-10 21:43:06 +0100
committersfan5 <sfan5@live.de>2020-11-12 21:08:26 +0100
commit61bbdd6807f4c383b7300b4fd5931f5e09dc7205 (patch)
treeaacffbb9816015fa1249d4aff1bd3758054607eb /games/devtest/mods/soundstuff/textures/soundstuff_eat.png
parentb504a1aa4bdc56676b4b1c398ebfe98d336f8f6e (diff)
downloadminetest-61bbdd6807f4c383b7300b4fd5931f5e09dc7205.tar.gz
minetest-61bbdd6807f4c383b7300b4fd5931f5e09dc7205.tar.bz2
minetest-61bbdd6807f4c383b7300b4fd5931f5e09dc7205.zip
Copy position for can_dig
fixes #10514
Diffstat (limited to 'games/devtest/mods/soundstuff/textures/soundstuff_eat.png')
0 files changed, 0 insertions, 0 deletions
>, rectangle), m_item_name(item_name), m_font(font), m_client(client), m_label(core::stringw()) { } void GUIItemImage::draw() { if (!IsVisible) return; if (!m_client) { IGUIElement::draw(); return; } IItemDefManager *idef = m_client->idef(); ItemStack item; item.deSerialize(m_item_name, idef); // Viewport rectangle on screen core::rect<s32> rect = core::rect<s32>(AbsoluteRect); drawItemStack(Environment->getVideoDriver(), m_font, item, rect, &AbsoluteClippingRect, m_client, IT_ROT_NONE); video::SColor color(255, 255, 255, 255); m_font->draw(m_label, rect, color, true, true, &AbsoluteClippingRect); IGUIElement::draw(); }