uint8_t flyEq2::download(void) { Ui_eq2Dialog *w=(Ui_eq2Dialog *)_cookie; sliderGet(Contrast,contrast); sliderGet(Brightness,brightness); sliderGet(Saturation,saturation); sliderGet(Red,rgamma); sliderGet(Green,ggamma); sliderGet(Blue,bgamma); sliderGet(Initial,gamma); sliderGet(Weight,gamma_weight); return 1; }
/** \fn sliderChanged \brief callback to handle image changes */ uint8_t ADM_flyDialog::sliderChanged(void) { uint32_t fn= sliderGet(); uint32_t frameNumber; uint32_t len,flags; ADM_assert(_yuvBuffer); ADM_assert(_in); double time; time=fn; time/=ADM_FLY_SLIDER_MAX; time*=_in->getInfo()->totalDuration; _in->goToTime(time); return nextImage(); }