1 #include "bcsignals.h"
3 #include "formatpopup.h"
5 #include "pluginserver.h"
9 FormatPopup::FormatPopup(ArrayList<PluginServer*> *plugindb,
25 this->plugindb = plugindb;
26 this->use_brender = use_brender;
27 set_tooltip(_("Change file format"));
30 int FormatPopup::create_objects()
34 format_items.append(new BC_ListBoxItem(_(AC3_NAME)));
35 format_items.append(new BC_ListBoxItem(_(AIFF_NAME)));
36 format_items.append(new BC_ListBoxItem(_(EXR_NAME)));
37 format_items.append(new BC_ListBoxItem(_(EXR_LIST_NAME)));
38 format_items.append(new BC_ListBoxItem(_(JPEG_NAME)));
41 format_items.append(new BC_ListBoxItem(_(JPEG_LIST_NAME)));
45 format_items.append(new BC_ListBoxItem(_(AVI_NAME)));
46 format_items.append(new BC_ListBoxItem(_(WAV_NAME)));
47 format_items.append(new BC_ListBoxItem(_(AMPEG_NAME)));
48 format_items.append(new BC_ListBoxItem(_(VMPEG_NAME)));
49 format_items.append(new BC_ListBoxItem(_(OGG_NAME)));
50 format_items.append(new BC_ListBoxItem(_(VORBIS_NAME)));
51 format_items.append(new BC_ListBoxItem(_(PNG_NAME)));
54 format_items.append(new BC_ListBoxItem(_(PNG_LIST_NAME)));
58 format_items.append(new BC_ListBoxItem(_(MOV_NAME)));
59 format_items.append(new BC_ListBoxItem(_(RAWDV_NAME)));
60 format_items.append(new BC_ListBoxItem(_(PCM_NAME)));
61 format_items.append(new BC_ListBoxItem(_(AU_NAME)));
62 format_items.append(new BC_ListBoxItem(_(TGA_NAME)));
65 format_items.append(new BC_ListBoxItem(_(TGA_LIST_NAME)));
69 format_items.append(new BC_ListBoxItem(_(TIFF_NAME)));
72 format_items.append(new BC_ListBoxItem(_(TIFF_LIST_NAME)));
76 format_items.append(new BC_ListBoxItem(_(YUV_NAME)));
85 FormatPopup::~FormatPopup()
87 for(int i = 0; i < format_items.total; i++) delete format_items.values[i];
90 int FormatPopup::handle_event()