Lines Matching refs:settings

284 	touchpad_settings& settings = fTouchpadPref.Settings();
288 settings.scroll_rightrange = fTouchpadView->GetRightScrollRatio();
289 settings.scroll_bottomrange = fTouchpadView->GetBottomScrollRatio();
294 settings.scroll_twofinger = fTwoFingerBox->Value() == B_CONTROL_ON;
295 settings.scroll_twofinger_horizontal
297 settings.scroll_acceleration = fScrollAccelSlider->Value();
298 settings.scroll_xstepsize = (20 - fScrollStepXSlider->Value()) * 3;
299 settings.scroll_ystepsize = (20 - fScrollStepYSlider->Value()) * 3;
300 fTwoFingerHorizontalBox->SetEnabled(settings.scroll_twofinger);
305 settings.tapgesture_sensibility = fTapSlider->Value();
310 settings.padblocker_threshold = fPadBlockerSlider->Value();
311 // The maximum value means "disabled", but in the settings file that
313 if (settings.padblocker_threshold == 1000)
314 settings.padblocker_threshold = 0;
323 SetValues(&settings);
330 SetValues(&settings);
479 TouchpadPrefView::SetValues(touchpad_settings* settings)
482 settings->scroll_rightrange, settings->scroll_bottomrange);
484 settings->scroll_twofinger ? B_CONTROL_ON : B_CONTROL_OFF);
486 settings->scroll_twofinger_horizontal ? B_CONTROL_ON : B_CONTROL_OFF);
487 fTwoFingerHorizontalBox->SetEnabled(settings->scroll_twofinger);
488 fScrollStepXSlider->SetValue(20 - settings->scroll_xstepsize / 2);
489 fScrollStepYSlider->SetValue(20 - settings->scroll_ystepsize / 2);
490 fScrollAccelSlider->SetValue(settings->scroll_acceleration);
491 fTapSlider->SetValue(settings->tapgesture_sensibility);
492 fPadBlockerSlider->SetValue(settings->padblocker_threshold);