Code: Select all
private:
struct ButtonSprite
{
s32 Index;
video::SColor Color;
bool Loop;
};
ButtonSprite ButtonSprites[EGBS_COUNT];
IGUISpriteBank* SpriteBank;
IGUIFont* OverrideFont;
...
Thank you
Code: Select all
private:
struct ButtonSprite
{
s32 Index;
video::SColor Color;
bool Loop;
};
ButtonSprite ButtonSprites[EGBS_COUNT];
IGUISpriteBank* SpriteBank;
IGUIFont* OverrideFont;
...
Code: Select all
m_customButton = reinterpret_cast<CGUICustomButton*>(g_gui->addButton(irr::core::recti(200,2000,300,300)));
m_customButton->setRelativePosition(irr::core::position2di(150, 150));
m_customButton->setVisible(true);
Code: Select all
void IGUIEnviroment::addIGUIElement(IGUIElement* element)
{
}