but when I am using:
Code: Select all
fader->setColor(SColor(100,100,100,100));
Code: Select all
fader->setColor(SColor(100,100,100,100));
Code: Select all
void inventory_node::show_inventory(){
this->window->setVisible(true);
this->fader->fadeOut(500);
};
void inventory_node::close_inventory(){
this->window->setVisible(false);
this->fader->fadeIn(500);
};