rework android-rmt display, add a few buttons
[goodguy/history.git] / cinelerra-5.0 / cinelerra / playbackprefs.C
index a822504d4257a40e69ec7b436635aa83d7a7b1ad..a363f26fedf0259a3dc86f471564c31c99a77ecd 100644 (file)
@@ -156,7 +156,7 @@ SET_TRACE
        add_subwindow(window = new VideoEveryFrame(pwindow, this, x, y));
 
        add_subwindow(new BC_Title(x + 200, y + 5, _("Framerate achieved:")));
-       add_subwindow(framerate_title = new BC_Title(x + 350, y + 5, _("--"), MEDIUMFONT, RED));
+       add_subwindow(framerate_title = new BC_Title(x + 350, y + 5, "--", MEDIUMFONT, RED));
        draw_framerate(0);
        y += window->get_h() + 5;
 
@@ -172,12 +172,7 @@ SET_TRACE
        vscaling_equation->create_objects();
 SET_TRACE
        y += 35;
-       add_subwindow(new BC_Title(x, y, _("Preload buffer for Quicktime:"), MEDIUMFONT));
-       sprintf(string, "" _LD "", pwindow->thread->edl->session->playback_preload);
-       PlaybackPreload *preload;
-       add_subwindow(preload = new PlaybackPreload(x + 210, y, pwindow, this, string));
 
-       y += preload->get_h() + 5;
        add_subwindow(title1 = new BC_Title(x, y, _("DVD Subtitle to display:")));
        PlaybackSubtitleNumber *subtitle_number;
        subtitle_number = new PlaybackSubtitleNumber(x + title1->get_w() + 10, 
@@ -325,21 +320,6 @@ int PlaybackMap51_2::handle_event()
 }
 
 
-PlaybackPreload::PlaybackPreload(int x, int y, 
-       PreferencesWindow *pwindow, PlaybackPrefs *playback, char *text)
- : BC_TextBox(x, y, 100, 1, text)
-{ 
-       this->pwindow = pwindow; 
-       this->playback = playback; 
-}
-
-int PlaybackPreload::handle_event() 
-{ 
-       pwindow->thread->edl->session->playback_preload = atol(get_text()); 
-       return 1;
-}
-
-
 PlaybackInterpolateRaw::PlaybackInterpolateRaw( int x, int y, 
                PreferencesWindow *pwindow, PlaybackPrefs *playback)
  : BC_CheckBox(x,