+ pwindow->dialog->beeper_on = get_value();
+ return 1;
+}
+
+ProxyBeepVolume::ProxyBeepVolume(ProxyWindow *pwindow, int x, int y)
+ : BC_FSlider(x, y, 0, xS(160), xS(160), 0.f, 100.f,
+ pwindow->dialog->beeper_volume*100.f, 0)
+{
+ this->pwindow = pwindow;
+}
+
+int ProxyBeepVolume::handle_event()
+{
+ pwindow->dialog->beeper_volume = get_value()/100.f;
+ pwindow->dialog->beeper_on = pwindow->dialog->beeper_volume>0 ? 1 : 0;