}
void Configmenu::setValues() {
- setItemSelected(2, screen.getImageControl()->doDither());
+ setItemSelected(2, screen.imageDither());
setItemSelected(3, screen.opaqueMove());
setItemSelected(4, screen.fullMax());
setItemSelected(5, screen.focusNew());
switch(item->function()) {
case 1: { // dither
- screen.setImageDither(!screen.getImageControl()->doDither());
+ screen.setImageDither(!screen.imageDither());
- setItemSelected(index, screen.getImageControl()->doDither());
+ setItemSelected(index, screen.imageDither());
break;
}
image_control->setDither(d);
ostrstream s;
s << "session.screen" << getScreenNumber() << ".imageDither" << ends;
- config.setValue(s.str(), d);
+ config.setValue(s.str(), imageDither());
if (reconfig)
reconfigure();
s.rdbuf()->freeze(0);