ID_jobs_show_dcp,
ID_tools_hints,
ID_tools_encoding_servers,
- ID_tools_check_for_updates
+ ID_tools_check_for_updates,
+ /* IDs for shortcuts (with no associated menu item) */
+ ID_add_file
};
class Frame : public wxFrame
Bind (wxEVT_CLOSE_WINDOW, boost::bind (&Frame::close, this, _1));
+ wxAcceleratorEntry accel[1];
+ accel[0].Set (wxACCEL_CTRL, static_cast<int>('A'), ID_add_file);
+ Bind (wxEVT_MENU, boost::bind (&FilmEditor::content_add_file_clicked, _film_editor), ID_add_file);
+ wxAcceleratorTable accel_table (1, accel);
+ SetAcceleratorTable (accel_table);
+
/* Use a panel as the only child of the Frame so that we avoid
the dark-grey background on Windows.
*/
AudioContentList selected_audio_content ();
SubtitleContentList selected_subtitle_content ();
FFmpegContentList selected_ffmpeg_content ();
+
+ void content_add_file_clicked ();
private:
void make_dcp_panel ();
void use_isdcf_name_toggled ();
void edit_isdcf_button_clicked ();
void content_selection_changed ();
- void content_add_file_clicked ();
void content_add_folder_clicked ();
void content_remove_clicked ();
void content_earlier_clicked ();