760 |
void PAMevcontrol::RefreshButtons() { |
void PAMevcontrol::RefreshButtons() { |
761 |
if ( cvar->jumprog ){ |
if ( cvar->jumprog ){ |
762 |
jbwc1->SetState(kButtonDown); |
jbwc1->SetState(kButtonDown); |
763 |
|
jbwc0->SetState(kButtonUp); |
764 |
} else { |
} else { |
765 |
|
jbwc1->SetState(kButtonUp); |
766 |
jbwc0->SetState(kButtonDown); |
jbwc0->SetState(kButtonDown); |
767 |
}; |
}; |
768 |
if ( cvar->fl0 ){ |
if ( cvar->fl0 ){ |
773 |
// if ( cvar->tracknds4) ftrks4->SetState(kButtonDown); |
// if ( cvar->tracknds4) ftrks4->SetState(kButtonDown); |
774 |
if ( cvar->bw ){ |
if ( cvar->bw ){ |
775 |
bwc1->SetState(kButtonDown); |
bwc1->SetState(kButtonDown); |
776 |
|
bwc0->SetState(kButtonUp); |
777 |
} else { |
} else { |
778 |
bwc0->SetState(kButtonDown); |
bwc0->SetState(kButtonDown); |
779 |
|
bwc1->SetState(kButtonUp); |
780 |
}; |
}; |
781 |
if ( cvar->PALETTE) fchkpalette->SetState(kButtonDown); else fchkpalette->SetState(kButtonUp); |
if ( cvar->PALETTE) fchkpalette->SetState(kButtonDown); else fchkpalette->SetState(kButtonUp); |
782 |
if ( cvar->VINFOS ) fchknames->SetState(kButtonDown); else fchknames->SetState(kButtonUp); |
if ( cvar->VINFOS ) fchknames->SetState(kButtonDown); else fchknames->SetState(kButtonUp); |