+
+SnapshotPathText::SnapshotPathText(PreferencesWindow *pwindow,
+ InterfacePrefs *subwindow, int x, int y, int w)
+ : BC_TextBox(x, y, w, 1, pwindow->thread->preferences->snapshot_path)
+{
+ this->pwindow = pwindow;
+ this->subwindow = subwindow;
+}
+
+SnapshotPathText::~SnapshotPathText()
+{
+}
+
+int SnapshotPathText::handle_event()
+{
+ strcpy(pwindow->thread->preferences->snapshot_path, get_text());
+ return 1;
+}
+
+PrefsAutostartLV2UI::PrefsAutostartLV2UI(int x, int y, PreferencesWindow *pwindow)
+ : BC_CheckBox(x, y,
+ pwindow->thread->preferences->autostart_lv2ui, _("Auto start lv2 gui"))
+{
+ this->pwindow = pwindow;
+}
+int PrefsAutostartLV2UI::handle_event()
+{
+ pwindow->thread->preferences->autostart_lv2ui = get_value();
+ return 1;
+}
+
+PrefsLV2PathText::PrefsLV2PathText(PreferencesWindow *pwindow,
+ InterfacePrefs *subwindow, int x, int y, int w)
+ : BC_TextBox(x, y, w, 1, pwindow->thread->preferences->lv2_path)
+{
+ this->pwindow = pwindow;
+ this->subwindow = subwindow;
+}
+
+PrefsLV2PathText::~PrefsLV2PathText()
+{
+}
+
+int PrefsLV2PathText::handle_event()
+{
+ strcpy(pwindow->thread->preferences->lv2_path, get_text());
+ return 1;
+}
+