void EditEffectDialog::onCancelButtonClicked (MyGUI::Widget* sender)
 {
     setVisible(false);
     if(mEditing)
         eventEffectModified(mOldEffect);
     else
         eventEffectRemoved(mEffect);
 }
Example #2
0
 void EditEffectDialog::exit()
 {
     setVisible(false);
     if(mEditing)
         eventEffectModified(mOldEffect);
     else
         eventEffectRemoved(mEffect);
 }
Example #3
0
    void EditEffectDialog::onDeleteButtonClicked (MyGUI::Widget* sender)
    {
        setVisible(false);

        eventEffectRemoved(mEffect);
    }