void CAutoDestroyer::EnableInterface(Ui::CWindow *pw, EventType event, bool bState) { Ui::CControl* control; control = pw->SearchControl(event); if ( control == 0 ) return; control->SetState(Ui::STATE_ENABLE, bState); }
void CAuto::VisibleInterface(Ui::CWindow *pw, EventType event, bool bState) { Ui::CControl* control; control = pw->SearchControl(event); if ( control == nullptr ) return; control->SetState(Ui::STATE_VISIBLE, bState); }
void CAuto::DeadInterface(Ui::CWindow *pw, EventType event, bool bState) { Ui::CControl* control; control = pw->SearchControl(event); if ( control == nullptr ) return; control->SetState(Ui::STATE_DEAD, !bState); }
void CAutoResearch::OkayButton(Ui::CWindow *pw, EventType event) { Ui::CControl* control; control = pw->SearchControl(event); if ( control == nullptr ) return; control->SetState(Ui::STATE_OKAY, TestResearch(event)); }