X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fplaybackprefs.h;h=f2befa9f1108526cad39baea358805fe3f2d1909;hb=5621db270ccbeabc106e0f438941dba6f930652b;hp=4d9260d5566a681f921bad19ecdce87500a1a5c9;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/playbackprefs.h b/cinelerra-5.1/cinelerra/playbackprefs.h index 4d9260d5..f2befa9f 100644 --- a/cinelerra-5.1/cinelerra/playbackprefs.h +++ b/cinelerra-5.1/cinelerra/playbackprefs.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #ifndef PLAYBACKPREFS_H @@ -30,10 +30,8 @@ class PlaybackViewFollows; class PlaybackSoftwareTimer; class PlaybackRealTime; class PlaybackMap51_2; -class TimecodeOffset; -class VideoAsynchronous; +//class VideoAsynchronous; class VideoEveryFrame; -class PlaybackDeblock; class PlaybackPreload; class PlaybackInterpolateRaw; class PlaybackWhiteBalanceRaw; @@ -70,10 +68,9 @@ public: PlaybackConfig *playback_config; BC_Title *framerate_title; - PlaybackDeblock *mpeg4_deblock; PlaybackInterpolateRaw *interpolate_raw; PlaybackWhiteBalanceRaw *white_balance_raw; - VideoAsynchronous *asynchronous; +// VideoAsynchronous *asynchronous; BC_Title *vdevice_title; PlaybackAudioOffset *audio_offset; @@ -83,10 +80,10 @@ public: class PlaybackModuleFragment : public BC_PopupMenu { public: - PlaybackModuleFragment(int x, - int y, - PreferencesWindow *pwindow, - PlaybackPrefs *playback, + PlaybackModuleFragment(int x, + int y, + PreferencesWindow *pwindow, + PlaybackPrefs *playback, char *text); int handle_event(); PreferencesWindow *pwindow; @@ -96,9 +93,9 @@ public: class PlaybackAudioOffset : public BC_TumbleTextBox { public: - PlaybackAudioOffset(PreferencesWindow *pwindow, + PlaybackAudioOffset(PreferencesWindow *pwindow, PlaybackPrefs *subwindow, - int x, + int x, int y); int handle_event(); PreferencesWindow *pwindow; @@ -130,6 +127,14 @@ public: PreferencesWindow *pwindow; }; +// class VideoAsynchronous : public BC_CheckBox +// { +// public: +// VideoAsynchronous(PreferencesWindow *pwindow, int x, int y); +// int handle_event(); +// PreferencesWindow *pwindow; +// }; + class PlaybackMap51_2 : public BC_CheckBox { public: @@ -140,39 +145,23 @@ public: PlaybackPrefs *playback_prefs; }; -class VideoAsynchronous : public BC_CheckBox -{ -public: - VideoAsynchronous(PreferencesWindow *pwindow, int x, int y); - int handle_event(); - PreferencesWindow *pwindow; -}; - class VideoEveryFrame : public BC_CheckBox { public: - VideoEveryFrame(PreferencesWindow *pwindow, + VideoEveryFrame(PreferencesWindow *pwindow, PlaybackPrefs *playback_prefs, int x, int y); int handle_event(); PreferencesWindow *pwindow; PlaybackPrefs *playback_prefs; }; -class PlaybackDeblock : public BC_CheckBox -{ -public: - PlaybackDeblock(PreferencesWindow *pwindow, int x, int y); - int handle_event(); - PreferencesWindow *pwindow; -}; - class PlaybackPreload : public BC_TextBox { public: - PlaybackPreload(int x, - int y, - PreferencesWindow *pwindow, - PlaybackPrefs *playback, + PlaybackPreload(int x, + int y, + PreferencesWindow *pwindow, + PlaybackPrefs *playback, char *text); int handle_event(); PreferencesWindow *pwindow; @@ -182,9 +171,9 @@ public: class PlaybackInterpolateRaw : public BC_CheckBox { public: - PlaybackInterpolateRaw(int x, - int y, - PreferencesWindow *pwindow, + PlaybackInterpolateRaw(int x, + int y, + PreferencesWindow *pwindow, PlaybackPrefs *playback); int handle_event(); PreferencesWindow *pwindow; @@ -194,32 +183,21 @@ public: class PlaybackWhiteBalanceRaw : public BC_CheckBox { public: - PlaybackWhiteBalanceRaw(int x, - int y, - PreferencesWindow *pwindow, + PlaybackWhiteBalanceRaw(int x, + int y, + PreferencesWindow *pwindow, PlaybackPrefs *playback); int handle_event(); PreferencesWindow *pwindow; PlaybackPrefs *playback; }; -class TimecodeOffset : public BC_TextBox -{ - public: - TimecodeOffset(int x, int y, PreferencesWindow *pwindow, - PlaybackPrefs *playback, char *text, int unit); - int handle_event(); - int unit; - PlaybackPrefs *playback; - PreferencesWindow *pwindow; -}; - class PlaybackSubtitle : public BC_CheckBox { public: - PlaybackSubtitle(int x, - int y, - PreferencesWindow *pwindow, + PlaybackSubtitle(int x, + int y, + PreferencesWindow *pwindow, PlaybackPrefs *playback); int handle_event(); PreferencesWindow *pwindow; @@ -229,8 +207,8 @@ public: class PlaybackSubtitleNumber : public BC_TumbleTextBox { public: - PlaybackSubtitleNumber(int x, int y, - PreferencesWindow *pwindow, + PlaybackSubtitleNumber(int x, int y, + PreferencesWindow *pwindow, PlaybackPrefs *playback); int handle_event(); PreferencesWindow *pwindow; @@ -240,8 +218,8 @@ public: class PlaybackLabelCells : public BC_CheckBox { public: - PlaybackLabelCells(int x, int y, - PreferencesWindow *pwindow, + PlaybackLabelCells(int x, int y, + PreferencesWindow *pwindow, PlaybackPrefs *playback); int handle_event(); PreferencesWindow *pwindow; @@ -251,8 +229,8 @@ public: class PlaybackProgramNumber : public BC_TumbleTextBox { public: - PlaybackProgramNumber(int x, int y, - PreferencesWindow *pwindow, + PlaybackProgramNumber(int x, int y, + PreferencesWindow *pwindow, PlaybackPrefs *playback); int handle_event(); PreferencesWindow *pwindow; @@ -263,7 +241,7 @@ class PlaybackGain : public BC_TumbleTextBox { public: PlaybackGain(int x, int y, - PreferencesWindow *pwindow, + PreferencesWindow *pwindow, PlaybackPrefs *gui); int handle_event(); PreferencesWindow *pwindow;