update features5.pdf, fix intl titlebars, add sams icons
[goodguy/history.git] / cinelerra-5.1 / cinelerra / playbackprefs.C
index 16e69289e596e38d26ddcd15bdf25712defd9d3b..cadec09d5fcd8f0c583922451c4056f27fee26de 100644 (file)
@@ -205,32 +205,11 @@ SET_TRACE
        if(!pwindow->thread->edl->session->interpolate_raw)
                white_balance_raw->disable();
 
-
-SET_TRACE
-//     y += 30;
-//     add_subwindow(new PlaybackDeblock(pwindow, 10, y));
-
-       x2 = x;
-       x += 370;
-       title1 = new BC_Title(x, y, _("Timecode offset:"), MEDIUMFONT);
-       add_subwindow(title1);  x += title1->get_w();
-       for( int i=3;;) {
-               sprintf(string, "%d", pwindow->thread->edl->session->timecode_offset[i]);
-               TimecodeOffset *tcofs = new TimecodeOffset(x, y, pwindow, this, string, i);
-               add_subwindow(tcofs);   x += tcofs->get_w();
-               if( --i < 0 ) break;
-               title1 = new BC_Title(x, y, ":", MEDIUMFONT);
-               add_subwindow(title1);  x += title1->get_w();
-       }
-
-       x = x2;
        y += white_balance_raw->get_h() + 5;
        add_subwindow(vdevice_title = new BC_Title(x, y, _("Video Driver:")));
        video_device = new VDevicePrefs(x + vdevice_title->get_w() + 10, y,
                pwindow, this, playback_config->vconfig, 0, MODEPLAY);
        video_device->initialize(0);
-SET_TRACE
-
 }
 
 
@@ -504,18 +483,3 @@ int PlaybackGain::handle_event()
        return 1;
 }
 
-TimecodeOffset::TimecodeOffset(int x, int y, PreferencesWindow *pwindow,
-      PlaybackPrefs *playback, char *text, int unit)
- : BC_TextBox(x, y, 30, 1, text)
-{
-   this->pwindow = pwindow;
-   this->playback = playback;
-       this->unit = unit;
-}
-
-int TimecodeOffset::handle_event()
-{
-       pwindow->thread->edl->session->timecode_offset[unit] = atol(get_text());
-       return 1;
-}
-