mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Remove irr
namespace (#16309)
This commit is contained in:
parent
7e22c72492
commit
61551cfc3a
381 changed files with 680 additions and 1632 deletions
|
@ -15,7 +15,7 @@
|
|||
#include "StyleSpec.h"
|
||||
#include "util/numeric.h"
|
||||
|
||||
using namespace irr;
|
||||
|
||||
using namespace gui;
|
||||
|
||||
// Multiply with a color to get the default corresponding hovered color
|
||||
|
@ -744,8 +744,8 @@ void GUIButton::setFromStyle(const StyleSpec& style)
|
|||
|
||||
IGUISkin *skin = Environment->getSkin();
|
||||
core::vector2d<s32> defaultPressOffset(
|
||||
skin->getSize(irr::gui::EGDS_BUTTON_PRESSED_IMAGE_OFFSET_X),
|
||||
skin->getSize(irr::gui::EGDS_BUTTON_PRESSED_IMAGE_OFFSET_Y));
|
||||
skin->getSize(gui::EGDS_BUTTON_PRESSED_IMAGE_OFFSET_X),
|
||||
skin->getSize(gui::EGDS_BUTTON_PRESSED_IMAGE_OFFSET_Y));
|
||||
ContentOffset = style.getVector2i(StyleSpec::CONTENT_OFFSET, isPressed()
|
||||
? defaultPressOffset
|
||||
: core::vector2d<s32>(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue