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(_(AU_NAME)));
37 format_items.append(new BC_ListBoxItem(_(JPEG_NAME)));
40 format_items.append(new BC_ListBoxItem(_(JPEG_LIST_NAME)));
44 format_items.append(new BC_ListBoxItem(_(AVI_NAME)));
45 format_items.append(new BC_ListBoxItem(_(EXR_NAME)));
46 format_items.append(new BC_ListBoxItem(_(EXR_LIST_NAME)));
47 format_items.append(new BC_ListBoxItem(_(YUV_NAME)));
48 format_items.append(new BC_ListBoxItem(_(WAV_NAME)));
49 format_items.append(new BC_ListBoxItem(_(MOV_NAME)));
50 format_items.append(new BC_ListBoxItem(_(RAWDV_NAME)));
51 format_items.append(new BC_ListBoxItem(_(AMPEG_NAME)));
52 format_items.append(new BC_ListBoxItem(_(VMPEG_NAME)));
53 format_items.append(new BC_ListBoxItem(_(VORBIS_NAME)));
54 format_items.append(new BC_ListBoxItem(_(OGG_NAME)));
55 format_items.append(new BC_ListBoxItem(_(PCM_NAME)));
56 format_items.append(new BC_ListBoxItem(_(PNG_NAME)));
59 format_items.append(new BC_ListBoxItem(_(PNG_LIST_NAME)));
63 format_items.append(new BC_ListBoxItem(_(TGA_NAME)));
66 format_items.append(new BC_ListBoxItem(_(TGA_LIST_NAME)));
70 format_items.append(new BC_ListBoxItem(_(TIFF_NAME)));
73 format_items.append(new BC_ListBoxItem(_(TIFF_LIST_NAME)));
81 FormatPopup::~FormatPopup()
83 for(int i = 0; i < format_items.total; i++) delete format_items.values[i];
86 int FormatPopup::handle_event()