channels_title = 0;
channels_button = 0;
multiple_files = 0;
- file_entries = 0;
w = window->get_w();
recording = 0;
if(vparams_thread) delete vparams_thread;
SET_TRACE
if(channels_tumbler) delete channels_tumbler;
-SET_TRACE
- if(file_entries)
- {
- file_entries->remove_all_objects();
- delete file_entries;
- }
}
void FormatTools::create_objects(int &init_x,
this->prompt_video_compression = prompt_video_compression;
this->strategy = strategy;
-
- file_entries = new ArrayList<BC_ListBoxItem*>;
- FileSystem fs;
- char string[BCTEXTLEN];
-// Load current directory
- fs.update(getcwd(string, BCTEXTLEN));
- for(int i = 0; i < fs.total_files(); i++)
- {
- file_entries->append(
- new BC_ListBoxItem(
- fs.get_entry(i)->get_name()));
- }
-
//printf("FormatTools::create_objects 1\n");
// Modify strategy depending on render farm
path_textbox, 10, px, y, 300, 100);
window->add_subwindow(path_recent);
path_recent->load_items(File::formattostr(asset->format));
- px += path_recent->get_w() + 8;
+ px += path_recent->get_w();
window->add_subwindow(path_button = new BrowseButton(
- mwindow, window, path_textbox, px, y, asset->path,
+ mwindow->theme, window, path_textbox, px, y, asset->path,
_("Output to file"), _("Select a file to write to:"), 0));
// Set w for user.
}
int FormatPathText::handle_event()
{
-// Suggestions
- calculate_suggestions(format->file_entries);
-
-
-
+ calculate_suggestions();
strcpy(format->asset->path, get_text());
format->handle_event();
return 1;