+
+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;
+}
+