X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fformattools.h;h=7c626bf13bfc0b2edf1b9abdc99478e4ec13e3d5;hp=3568e8c72a8ab96cf30dfe90b6bcbf7485401893;hb=3564c71f425f390745eb7c75d5121689d53e14c2;hpb=a2adb92f17159c0399504ab4b18acb1d94122077 diff --git a/cinelerra-5.0/cinelerra/formattools.h b/cinelerra-5.0/cinelerra/formattools.h index 3568e8c7..7c626bf1 100644 --- a/cinelerra-5.0/cinelerra/formattools.h +++ b/cinelerra-5.0/cinelerra/formattools.h @@ -39,6 +39,8 @@ class FormatChannels; class FormatPathButton; class FormatPathText; class FormatFormat; +class FormatFFMPEG; +class FFMpegType; class FormatAudio; class FormatVideo; class FormatMultiple; @@ -97,6 +99,8 @@ public: BC_Title *format_title; FormatFormat *format_button; BC_TextBox *format_text; + FormatFFMPEG *format_ffmpeg; + FFMpegType *ffmpeg_type; BC_ITumbler *channels_tumbler; BC_Title *audio_title; @@ -152,6 +156,34 @@ public: FormatTools *format; }; +class FormatFFMPEG : public FFMPEGPopup +{ +public: + FormatFFMPEG(int x, int y, FormatTools *format); + ~FormatFFMPEG(); + + int handle_event(); + FormatTools *format; +// squash show/hide window + int show_window(int flush=1) { return 0; } + int hide_window(int flush=1) { return 0; } + int show(int flush=1) { return BC_SubWindow::show_window(flush); } + int hide(int flush=1) { return BC_SubWindow::hide_window(flush); } +}; + +class FFMpegType : public BC_TextBox +{ +public: + FFMpegType(int x, int y, int w, int h, const char *text) + : BC_TextBox(x, y, w, h, text) {} + ~FFMpegType() {} +// squash show/hide window + int show_window(int flush=1) { return 0; } + int hide_window(int flush=1) { return 0; } + int show(int flush=1) { return BC_SubWindow::show_window(flush); } + int hide(int flush=1) { return BC_SubWindow::hide_window(flush); } +}; + class FormatAParams : public BC_Button { public: