X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fformatpopup.C;fp=cinelerra-5.1%2Fcinelerra%2Fformatpopup.C;h=8977e55b6cc2b5e6f5a2eaa2898b42462d1048d5;hb=efc8fa7dc7ddcdeaa9398e09d81975a6ccf526fc;hp=03e94dd9357a73330dda6b64140dc7c85e24674c;hpb=c2c09a4c97194b07dbd1eae82aa0226d9774f350;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/formatpopup.C b/cinelerra-5.1/cinelerra/formatpopup.C index 03e94dd9..8977e55b 100644 --- a/cinelerra-5.1/cinelerra/formatpopup.C +++ b/cinelerra-5.1/cinelerra/formatpopup.C @@ -54,9 +54,10 @@ void FormatPopup::create_objects() post_item(FILE_AIFF); post_item(FILE_AU); post_item(FILE_FLAC); - post_item(FILE_JPEG); } + if(!use_brender) + post_item(FILE_JPEG); post_item(FILE_JPEG_LIST); if(!use_brender) { @@ -71,24 +72,21 @@ void FormatPopup::create_objects() post_item(FILE_VORBIS); post_item(FILE_OGG); post_item(FILE_PCM); - post_item(FILE_PNG); } - format_items.append(new BC_ListBoxItem(_(PNG_LIST_NAME))); - if(!use_brender) - { - format_items.append(new BC_ListBoxItem(_(TGA_NAME))); - } - - format_items.append(new BC_ListBoxItem(_(TGA_LIST_NAME))); - + post_item(FILE_PNG); + post_item(FILE_PNG_LIST); if(!use_brender) - { - format_items.append(new BC_ListBoxItem(_(TIFF_NAME))); - } + post_item(FILE_PPM); + post_item(FILE_PPM_LIST); + if(!use_brender) + post_item(FILE_TGA); + post_item(FILE_TGA_LIST); + if(!use_brender) + post_item(FILE_TIFF); + post_item(FILE_TIFF_LIST); - format_items.append(new BC_ListBoxItem(_(TIFF_LIST_NAME))); update(&format_items, 0, 0, 1); }