mirror of https://github.com/odrling/Aegisub
Eliminate double inclusion of frame_main.h and remove #pragma once
Originally committed to SVN as r4526.
This commit is contained in:
parent
392ce99083
commit
43f3502043
|
@ -185,7 +185,7 @@ void AlsaPlayer::SetUpHardware()
|
||||||
if (snd_pcm_hw_params_set_period_time_near(pcm_handle, hwparams, &period_len, &dir) < 0) {
|
if (snd_pcm_hw_params_set_period_time_near(pcm_handle, hwparams, &period_len, &dir) < 0) {
|
||||||
throw _T("ALSA player: Couldn't set period length");
|
throw _T("ALSA player: Couldn't set period length");
|
||||||
}
|
}
|
||||||
LOG_D_IF(period_len != wanted_period, "player/audio/alsa") << Couldn't get wanted period size of " << wanted_period" << ", got " << period_len << " instead";
|
LOG_D_IF(period_len != wanted_period, "player/audio/alsa") << "Couldn't get wanted period size of " << wanted_period << ", got " << period_len << " instead";
|
||||||
|
|
||||||
if (snd_pcm_hw_params_get_period_size(hwparams, &period, &dir) < 0) {
|
if (snd_pcm_hw_params_get_period_size(hwparams, &period, &dir) < 0) {
|
||||||
LOG_E("player/audio/alsa") << "Couldn't get period size";
|
LOG_E("player/audio/alsa") << "Couldn't get period size";
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
// Headers
|
// Headers
|
||||||
#include <alsa/asoundlib.h>
|
#include <alsa/asoundlib.h>
|
||||||
|
|
||||||
#include "frame_main.h"
|
|
||||||
#include "include/aegisub/audio_player.h"
|
#include "include/aegisub/audio_player.h"
|
||||||
#include "include/aegisub/audio_provider.h"
|
#include "include/aegisub/audio_provider.h"
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
|
|
|
@ -45,7 +45,6 @@
|
||||||
|
|
||||||
#include <dsound.h>
|
#include <dsound.h>
|
||||||
|
|
||||||
#include "frame_main.h"
|
|
||||||
#include "include/aegisub/audio_player.h"
|
#include "include/aegisub/audio_player.h"
|
||||||
#include "include/aegisub/audio_provider.h"
|
#include "include/aegisub/audio_provider.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
|
@ -41,7 +41,6 @@
|
||||||
///////////
|
///////////
|
||||||
// Headers
|
// Headers
|
||||||
#include "audio_player_manager.h"
|
#include "audio_player_manager.h"
|
||||||
#include "frame_main.h"
|
|
||||||
#include "include/aegisub/audio_player.h"
|
#include "include/aegisub/audio_player.h"
|
||||||
#include "include/aegisub/audio_provider.h"
|
#include "include/aegisub/audio_provider.h"
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
|
|
|
@ -54,8 +54,6 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "frame_main.h"
|
|
||||||
#include "include/aegisub/audio_player.h"
|
#include "include/aegisub/audio_player.h"
|
||||||
#include "include/aegisub/audio_provider.h"
|
#include "include/aegisub/audio_provider.h"
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
|
|
|
@ -32,11 +32,7 @@
|
||||||
/// @file frame_main.cpp
|
/// @file frame_main.cpp
|
||||||
/// @brief Main window creation and control management
|
/// @brief Main window creation and control management
|
||||||
/// @ingroup main_ui
|
/// @ingroup main_ui
|
||||||
///
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////
|
|
||||||
// Include headers
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#ifndef AGI_PRE
|
#ifndef AGI_PRE
|
||||||
|
@ -102,13 +98,6 @@
|
||||||
#define StartupLog(a)
|
#define StartupLog(a)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/////////////////////////
|
|
||||||
// FrameMain constructor
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief DOCME
|
|
||||||
/// @param args
|
|
||||||
///
|
|
||||||
FrameMain::FrameMain (wxArrayString args)
|
FrameMain::FrameMain (wxArrayString args)
|
||||||
: wxFrame ((wxFrame*)NULL,-1,_T(""),wxDefaultPosition,wxSize(920,700),wxDEFAULT_FRAME_STYLE | wxCLIP_CHILDREN)
|
: wxFrame ((wxFrame*)NULL,-1,_T(""),wxDefaultPosition,wxSize(920,700),wxDEFAULT_FRAME_STYLE | wxCLIP_CHILDREN)
|
||||||
{
|
{
|
||||||
|
@ -228,10 +217,7 @@ FrameMain::FrameMain (wxArrayString args)
|
||||||
StartupLog(_T("Leaving FrameMain constructor"));
|
StartupLog(_T("Leaving FrameMain constructor"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief FrameMain destructor
|
/// @brief FrameMain destructor
|
||||||
///
|
|
||||||
FrameMain::~FrameMain () {
|
FrameMain::~FrameMain () {
|
||||||
DeInitContents();
|
DeInitContents();
|
||||||
#ifdef WITH_AUTOMATION
|
#ifdef WITH_AUTOMATION
|
||||||
|
@ -239,10 +225,7 @@ FrameMain::~FrameMain () {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Initialize toolbar
|
/// @brief Initialize toolbar
|
||||||
///
|
|
||||||
void FrameMain::InitToolbar () {
|
void FrameMain::InitToolbar () {
|
||||||
// Create toolbar
|
// Create toolbar
|
||||||
wxSystemOptions::SetOption(_T("msw.remap"), 0);
|
wxSystemOptions::SetOption(_T("msw.remap"), 0);
|
||||||
|
@ -319,14 +302,12 @@ void FrameMain::InitToolbar () {
|
||||||
/// @param item_text
|
/// @param item_text
|
||||||
/// @param hotkey_name
|
/// @param hotkey_name
|
||||||
/// @return
|
/// @return
|
||||||
///
|
|
||||||
wxString MakeHotkeyText(const wxString &item_text, const wxString &hotkey_name) {
|
wxString MakeHotkeyText(const wxString &item_text, const wxString &hotkey_name) {
|
||||||
return item_text + wxString(_T("\t")) + Hotkeys.GetText(hotkey_name);
|
return item_text + wxString(_T("\t")) + Hotkeys.GetText(hotkey_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// @brief Initialize menu bar
|
/// @brief Initialize menu bar
|
||||||
///
|
|
||||||
void FrameMain::InitMenu() {
|
void FrameMain::InitMenu() {
|
||||||
// Deinit menu if needed
|
// Deinit menu if needed
|
||||||
if (menuCreated) {
|
if (menuCreated) {
|
||||||
|
@ -580,10 +561,7 @@ void FrameMain::InitMenu() {
|
||||||
menuCreated = true;
|
menuCreated = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Initialize contents
|
/// @brief Initialize contents
|
||||||
///
|
|
||||||
void FrameMain::InitContents() {
|
void FrameMain::InitContents() {
|
||||||
// Set a background panel
|
// Set a background panel
|
||||||
StartupLog(_T("Create background panel"));
|
StartupLog(_T("Create background panel"));
|
||||||
|
@ -646,10 +624,7 @@ void FrameMain::InitContents() {
|
||||||
StartupLog(_T("Leaving InitContents"));
|
StartupLog(_T("Leaving InitContents"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Deinitialize controls
|
/// @brief Deinitialize controls
|
||||||
///
|
|
||||||
void FrameMain::DeInitContents() {
|
void FrameMain::DeInitContents() {
|
||||||
if (detachedVideo) detachedVideo->Destroy();
|
if (detachedVideo) detachedVideo->Destroy();
|
||||||
if (stylingAssistant) stylingAssistant->Destroy();
|
if (stylingAssistant) stylingAssistant->Destroy();
|
||||||
|
@ -660,10 +635,7 @@ void FrameMain::DeInitContents() {
|
||||||
HelpButton::ClearPages();
|
HelpButton::ClearPages();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Update toolbar
|
/// @brief Update toolbar
|
||||||
///
|
|
||||||
void FrameMain::UpdateToolbar() {
|
void FrameMain::UpdateToolbar() {
|
||||||
// Collect flags
|
// Collect flags
|
||||||
bool isVideo = VideoContext::Get()->IsLoaded();
|
bool isVideo = VideoContext::Get()->IsLoaded();
|
||||||
|
@ -686,13 +658,9 @@ void FrameMain::UpdateToolbar() {
|
||||||
toolbar->Realize();
|
toolbar->Realize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Open subtitles
|
/// @brief Open subtitles
|
||||||
/// @param filename
|
/// @param filename
|
||||||
/// @param charset
|
/// @param charset
|
||||||
/// @return
|
|
||||||
///
|
|
||||||
void FrameMain::LoadSubtitles (wxString filename,wxString charset) {
|
void FrameMain::LoadSubtitles (wxString filename,wxString charset) {
|
||||||
// First check if there is some loaded
|
// First check if there is some loaded
|
||||||
if (AssFile::top && AssFile::top->loaded) {
|
if (AssFile::top && AssFile::top->loaded) {
|
||||||
|
@ -781,13 +749,10 @@ void FrameMain::LoadSubtitles (wxString filename,wxString charset) {
|
||||||
UpdateTitle();
|
UpdateTitle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Save subtitles
|
/// @brief Save subtitles
|
||||||
/// @param saveas
|
/// @param saveas
|
||||||
/// @param withCharset
|
/// @param withCharset
|
||||||
/// @return
|
/// @return
|
||||||
///
|
|
||||||
bool FrameMain::SaveSubtitles(bool saveas,bool withCharset) {
|
bool FrameMain::SaveSubtitles(bool saveas,bool withCharset) {
|
||||||
// Try to get filename from file
|
// Try to get filename from file
|
||||||
wxString filename;
|
wxString filename;
|
||||||
|
@ -838,12 +803,9 @@ bool FrameMain::SaveSubtitles(bool saveas,bool withCharset) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Try to close subtitles
|
/// @brief Try to close subtitles
|
||||||
/// @param enableCancel
|
/// @param enableCancel
|
||||||
/// @return
|
/// @return
|
||||||
///
|
|
||||||
int FrameMain::TryToCloseSubs(bool enableCancel) {
|
int FrameMain::TryToCloseSubs(bool enableCancel) {
|
||||||
AssFile *ass = AssFile::top;
|
AssFile *ass = AssFile::top;
|
||||||
if (ass->IsModified()) {
|
if (ass->IsModified()) {
|
||||||
|
@ -860,8 +822,6 @@ int FrameMain::TryToCloseSubs(bool enableCancel) {
|
||||||
else return wxYES;
|
else return wxYES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Set the video and audio display visibilty
|
/// @brief Set the video and audio display visibilty
|
||||||
/// @param video -1: leave unchanged; 0: hide; 1: show
|
/// @param video -1: leave unchanged; 0: hide; 1: show
|
||||||
/// @param audio -1: leave unchanged; 0: hide; 1: show
|
/// @param audio -1: leave unchanged; 0: hide; 1: show
|
||||||
|
@ -902,10 +862,7 @@ void FrameMain::SetDisplayMode(int video, int audio) {
|
||||||
Thaw();
|
Thaw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Update title bar
|
/// @brief Update title bar
|
||||||
///
|
|
||||||
void FrameMain::UpdateTitle() {
|
void FrameMain::UpdateTitle() {
|
||||||
// Determine if current subs are modified
|
// Determine if current subs are modified
|
||||||
bool subsMod = AssFile::top->IsModified();
|
bool subsMod = AssFile::top->IsModified();
|
||||||
|
@ -942,11 +899,8 @@ void FrameMain::UpdateTitle() {
|
||||||
if (curTitle != newTitle) SetTitle(newTitle);
|
if (curTitle != newTitle) SetTitle(newTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Updates subs with video/whatever data
|
/// @brief Updates subs with video/whatever data
|
||||||
/// @param fromSubs
|
/// @param fromSubs
|
||||||
///
|
|
||||||
void FrameMain::SynchronizeProject(bool fromSubs) {
|
void FrameMain::SynchronizeProject(bool fromSubs) {
|
||||||
// Gather current data
|
// Gather current data
|
||||||
AssFile *subs = AssFile::top;
|
AssFile *subs = AssFile::top;
|
||||||
|
@ -1130,13 +1084,9 @@ void FrameMain::SynchronizeProject(bool fromSubs) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Loads video
|
/// @brief Loads video
|
||||||
/// @param file
|
/// @param file
|
||||||
/// @param autoload
|
/// @param autoload
|
||||||
/// @return
|
|
||||||
///
|
|
||||||
void FrameMain::LoadVideo(wxString file,bool autoload) {
|
void FrameMain::LoadVideo(wxString file,bool autoload) {
|
||||||
if (blockVideoLoad) return;
|
if (blockVideoLoad) return;
|
||||||
Freeze();
|
Freeze();
|
||||||
|
@ -1210,13 +1160,9 @@ void FrameMain::LoadVideo(wxString file,bool autoload) {
|
||||||
Thaw();
|
Thaw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Loads audio
|
/// @brief Loads audio
|
||||||
/// @param filename
|
/// @param filename
|
||||||
/// @param FromVideo
|
/// @param FromVideo
|
||||||
/// @return
|
|
||||||
///
|
|
||||||
void FrameMain::LoadAudio(wxString filename,bool FromVideo) {
|
void FrameMain::LoadAudio(wxString filename,bool FromVideo) {
|
||||||
if (blockAudioLoad) return;
|
if (blockAudioLoad) return;
|
||||||
VideoContext::Get()->Stop();
|
VideoContext::Get()->Stop();
|
||||||
|
@ -1239,11 +1185,8 @@ void FrameMain::LoadAudio(wxString filename,bool FromVideo) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Loads VFR
|
/// @brief Loads VFR
|
||||||
/// @param filename
|
/// @param filename
|
||||||
///
|
|
||||||
void FrameMain::LoadVFR(wxString filename) {
|
void FrameMain::LoadVFR(wxString filename) {
|
||||||
VideoContext::Get()->Stop();
|
VideoContext::Get()->Stop();
|
||||||
if (filename != _T("")) {
|
if (filename != _T("")) {
|
||||||
|
@ -1273,26 +1216,17 @@ void FrameMain::LoadVFR(wxString filename) {
|
||||||
EditBox->UpdateFrameTiming();
|
EditBox->UpdateFrameTiming();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Saves VFR
|
/// @brief Saves VFR
|
||||||
/// @param filename
|
/// @param filename
|
||||||
///
|
|
||||||
void FrameMain::SaveVFR(wxString filename) {
|
void FrameMain::SaveVFR(wxString filename) {
|
||||||
VFR_Output.Save(filename);
|
VFR_Output.Save(filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Open help
|
/// @brief Open help
|
||||||
/// @param page
|
void FrameMain::OpenHelp(wxString) {
|
||||||
///
|
|
||||||
void FrameMain::OpenHelp(wxString page) {
|
|
||||||
HelpButton::OpenPage(_T("Main"));
|
HelpButton::OpenPage(_T("Main"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Detach video window
|
/// @brief Detach video window
|
||||||
/// @param detach
|
/// @param detach
|
||||||
void FrameMain::DetachVideo(bool detach) {
|
void FrameMain::DetachVideo(bool detach) {
|
||||||
|
@ -1311,22 +1245,16 @@ void FrameMain::DetachVideo(bool detach) {
|
||||||
UpdateToolbar();
|
UpdateToolbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @brief Sets status and clear after n milliseconds
|
||||||
|
|
||||||
/// @brief Sets status and clear after n miliseconds
|
|
||||||
/// @param text
|
/// @param text
|
||||||
/// @param ms
|
/// @param ms
|
||||||
///
|
|
||||||
void FrameMain::StatusTimeout(wxString text,int ms) {
|
void FrameMain::StatusTimeout(wxString text,int ms) {
|
||||||
SetStatusText(text,1);
|
SetStatusText(text,1);
|
||||||
StatusClear.SetOwner(this,StatusClear_Timer);
|
StatusClear.SetOwner(this,StatusClear_Timer);
|
||||||
StatusClear.Start(ms,true);
|
StatusClear.Start(ms,true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Setup accelerator table
|
/// @brief Setup accelerator table
|
||||||
///
|
|
||||||
void FrameMain::SetAccelerators() {
|
void FrameMain::SetAccelerators() {
|
||||||
std::vector<wxAcceleratorEntry> entry;
|
std::vector<wxAcceleratorEntry> entry;
|
||||||
entry.reserve(32);
|
entry.reserve(32);
|
||||||
|
@ -1364,12 +1292,9 @@ void FrameMain::SetAccelerators() {
|
||||||
SetAcceleratorTable(table);
|
SetAcceleratorTable(table);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Load list of files
|
/// @brief Load list of files
|
||||||
/// @param list
|
/// @param list
|
||||||
/// @return
|
/// @return
|
||||||
///
|
|
||||||
bool FrameMain::LoadList(wxArrayString list) {
|
bool FrameMain::LoadList(wxArrayString list) {
|
||||||
// Build list
|
// Build list
|
||||||
wxArrayString List;
|
wxArrayString List;
|
||||||
|
@ -1455,19 +1380,13 @@ bool FrameMain::LoadList(wxArrayString list) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Sets the descriptions for undo/redo
|
/// @brief Sets the descriptions for undo/redo
|
||||||
///
|
|
||||||
void FrameMain::SetUndoRedoDesc() {
|
void FrameMain::SetUndoRedoDesc() {
|
||||||
editMenu->SetHelpString(0,_T("Undo ")+AssFile::GetUndoDescription());
|
editMenu->SetHelpString(0,_T("Undo ")+AssFile::GetUndoDescription());
|
||||||
editMenu->SetHelpString(1,_T("Redo ")+AssFile::GetRedoDescription());
|
editMenu->SetHelpString(1,_T("Redo ")+AssFile::GetRedoDescription());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// @brief Check if ASSDraw is available
|
/// @brief Check if ASSDraw is available
|
||||||
///
|
|
||||||
bool FrameMain::HasASSDraw() {
|
bool FrameMain::HasASSDraw() {
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
wxFileName fn(StandardPaths::DecodePath(_T("?data/ASSDraw3.exe")));
|
wxFileName fn(StandardPaths::DecodePath(_T("?data/ASSDraw3.exe")));
|
||||||
|
@ -1476,5 +1395,3 @@ bool FrameMain::HasASSDraw() {
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,12 +34,6 @@
|
||||||
/// @ingroup main_ui
|
/// @ingroup main_ui
|
||||||
///
|
///
|
||||||
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////
|
|
||||||
// Include headers
|
|
||||||
#ifndef AGI_PRE
|
#ifndef AGI_PRE
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@ -53,8 +47,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
////////////////////
|
|
||||||
// Class prototypes
|
|
||||||
class VideoDisplay;
|
class VideoDisplay;
|
||||||
class VideoSlider;
|
class VideoSlider;
|
||||||
class VideoZoomSlider;
|
class VideoZoomSlider;
|
||||||
|
@ -66,8 +58,7 @@ class DialogDetachedVideo;
|
||||||
class DialogStyling;
|
class DialogStyling;
|
||||||
class AegisubFileDropTarget;
|
class AegisubFileDropTarget;
|
||||||
|
|
||||||
/// DOCME
|
namespace Automation4 { class FeatureMacro; class ScriptManager; }
|
||||||
namespace Automation4 { class FeatureMacro; class ScriptManager; };
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -386,410 +377,157 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
////////////////
|
/// Menu entry event ids
|
||||||
// Menu Entries
|
|
||||||
enum {
|
enum {
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_New = 200,
|
Menu_File_New = 200,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Open,
|
Menu_File_Open,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Save,
|
Menu_File_Save,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_SaveAs,
|
Menu_File_SaveAs,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Close,
|
Menu_File_Close,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Open_Video,
|
Menu_File_Open_Video,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Close_Video,
|
Menu_File_Close_Video,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Open_Subtitles,
|
Menu_File_Open_Subtitles,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Open_Subtitles_Charset,
|
Menu_File_Open_Subtitles_Charset,
|
||||||
Menu_File_Open_Subtitles_From_Video,
|
Menu_File_Open_Subtitles_From_Video,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_New_Subtitles,
|
Menu_File_New_Subtitles,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Save_Subtitles,
|
Menu_File_Save_Subtitles,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Save_Subtitles_As,
|
Menu_File_Save_Subtitles_As,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Save_Subtitles_With_Charset,
|
Menu_File_Save_Subtitles_With_Charset,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Export_Subtitles,
|
Menu_File_Export_Subtitles,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Open_VFR,
|
Menu_File_Open_VFR,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Save_VFR,
|
Menu_File_Save_VFR,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Close_VFR,
|
Menu_File_Close_VFR,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_New_Window,
|
Menu_File_New_Window,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Exit,
|
Menu_File_Exit,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Recent_Subs_Parent,
|
Menu_File_Recent_Subs_Parent,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Recent_Vids_Parent,
|
Menu_File_Recent_Vids_Parent,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Recent_Auds_Parent,
|
Menu_File_Recent_Auds_Parent,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Recent_Timecodes_Parent,
|
Menu_File_Recent_Timecodes_Parent,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Recent_Keyframes_Parent,
|
Menu_File_Recent_Keyframes_Parent,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_JumpTo,
|
Menu_Video_JumpTo,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Zoom,
|
Menu_View_Zoom,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Zoom_50,
|
Menu_View_Zoom_50,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Zoom_100,
|
Menu_View_Zoom_100,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Zoom_200,
|
Menu_View_Zoom_200,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Zoom_In,
|
Menu_Video_Zoom_In,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Zoom_Out,
|
Menu_Video_Zoom_Out,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Load_Keyframes,
|
Menu_Video_Load_Keyframes,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Save_Keyframes,
|
Menu_Video_Save_Keyframes,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Close_Keyframes,
|
Menu_Video_Close_Keyframes,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Toolbar_Zoom_Dropdown,
|
Toolbar_Zoom_Dropdown,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_AR,
|
Menu_Video_AR,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_AR_Default,
|
Menu_Video_AR_Default,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_AR_Full,
|
Menu_Video_AR_Full,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_AR_Wide,
|
Menu_Video_AR_Wide,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_AR_235,
|
Menu_Video_AR_235,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_AR_Custom,
|
Menu_Video_AR_Custom,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Select_Visible,
|
Menu_Video_Select_Visible,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Play,
|
Menu_Video_Play,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Detach,
|
Menu_Video_Detach,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Dummy,
|
Menu_Video_Dummy,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Overscan,
|
Menu_Video_Overscan,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Details,
|
Menu_Video_Details,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Audio_Open_File,
|
Menu_Audio_Open_File,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Audio_Open_From_Video,
|
Menu_Audio_Open_From_Video,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Audio_Close,
|
Menu_Audio_Close,
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Audio_Open_Dummy,
|
Menu_Audio_Open_Dummy,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Audio_Open_Dummy_Noise,
|
Menu_Audio_Open_Dummy_Noise,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Select,
|
Menu_Edit_Select,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Undo,
|
Menu_Edit_Undo,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Redo,
|
Menu_Edit_Redo,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Find,
|
Menu_Edit_Find,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Find_Next,
|
Menu_Edit_Find_Next,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Replace,
|
Menu_Edit_Replace,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Shift,
|
Menu_Edit_Shift,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Cut,
|
Menu_Edit_Cut,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Copy,
|
Menu_Edit_Copy,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Paste,
|
Menu_Edit_Paste,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Paste_Over,
|
Menu_Edit_Paste_Over,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Edit_Delete,
|
Menu_Edit_Delete,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Language,
|
Menu_View_Language,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Standard,
|
Menu_View_Standard,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Audio,
|
Menu_View_Audio,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Video,
|
Menu_View_Video,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_View_Subs,
|
Menu_View_Subs,
|
||||||
Menu_View_FullTags,
|
Menu_View_FullTags,
|
||||||
Menu_View_ShortTags,
|
Menu_View_ShortTags,
|
||||||
Menu_View_NoTags,
|
Menu_View_NoTags,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Subtitles_Join,
|
Menu_Subtitles_Join,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Subtitles_Recombine,
|
Menu_Subtitles_Recombine,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Subtitles_Insert,
|
Menu_Subtitles_Insert,
|
||||||
|
|
||||||
Menu_Subtitles_Sort_Start,
|
Menu_Subtitles_Sort_Start,
|
||||||
Menu_Subtitles_Sort_End,
|
Menu_Subtitles_Sort_End,
|
||||||
Menu_Subtitles_Sort_Style,
|
Menu_Subtitles_Sort_Style,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Properties,
|
Menu_Tools_Properties,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Styles_Manager,
|
Menu_Tools_Styles_Manager,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Attachments,
|
Menu_Tools_Attachments,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Translation,
|
Menu_Tools_Translation,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_SpellCheck,
|
Menu_Tools_SpellCheck,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Fonts_Collector,
|
Menu_Tools_Fonts_Collector,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Automation,
|
Menu_Tools_Automation,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Styling,
|
Menu_Tools_Styling,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Resample,
|
Menu_Tools_Resample,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Timing_Processor,
|
Menu_Tools_Timing_Processor,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Kanji_Timer,
|
Menu_Tools_Kanji_Timer,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_Options,
|
Menu_Tools_Options,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Tools_ASSDraw,
|
Menu_Tools_ASSDraw,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Help_Contents,
|
Menu_Help_Contents,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Help_Files,
|
Menu_Help_Files,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Help_IRCChannel,
|
Menu_Help_IRCChannel,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Help_Website,
|
Menu_Help_Website,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Help_Forums,
|
Menu_Help_Forums,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Help_BugTracker,
|
Menu_Help_BugTracker,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Help_Check_Updates,
|
Menu_Help_Check_Updates,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Help_About,
|
Menu_Help_About,
|
||||||
|
|
||||||
Menu_Help_Log,
|
Menu_Help_Log,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Subs_Snap_Start_To_Video,
|
Menu_Subs_Snap_Start_To_Video,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Subs_Snap_End_To_Video,
|
Menu_Subs_Snap_End_To_Video,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Subs_Snap_Video_To_Start,
|
Menu_Subs_Snap_Video_To_Start,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Subs_Snap_Video_To_End,
|
Menu_Subs_Snap_Video_To_End,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Snap_To_Scene,
|
Menu_Video_Snap_To_Scene,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Shift_To_Frame,
|
Menu_Video_Shift_To_Frame,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
AutoSave_Timer,
|
AutoSave_Timer,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
StatusClear_Timer,
|
StatusClear_Timer,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Video_Next_Frame,
|
Video_Next_Frame,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Video_Prev_Frame,
|
Video_Prev_Frame,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Video_Focus_Seek,
|
Video_Focus_Seek,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Grid_Next_Line,
|
Grid_Next_Line,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Grid_Prev_Line,
|
Grid_Prev_Line,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Grid_Toggle_Tags,
|
Grid_Toggle_Tags,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Edit_Box_Commit,
|
Edit_Box_Commit,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Video_Frame_Play,
|
Video_Frame_Play,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Play,
|
Medusa_Play,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Stop,
|
Medusa_Stop,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Shift_Start_Forward,
|
Medusa_Shift_Start_Forward,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Shift_Start_Back,
|
Medusa_Shift_Start_Back,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Shift_End_Forward,
|
Medusa_Shift_End_Forward,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Shift_End_Back,
|
Medusa_Shift_End_Back,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Play_Before,
|
Medusa_Play_Before,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Play_After,
|
Medusa_Play_After,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Next,
|
Medusa_Next,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Prev,
|
Medusa_Prev,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Medusa_Enter,
|
Medusa_Enter,
|
||||||
|
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_File_Recent = 2000,
|
Menu_File_Recent = 2000,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Video_Recent = 2200,
|
Menu_Video_Recent = 2200,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Audio_Recent = 2400,
|
Menu_Audio_Recent = 2400,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Timecodes_Recent = 2500,
|
Menu_Timecodes_Recent = 2500,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Keyframes_Recent = 2600,
|
Menu_Keyframes_Recent = 2600,
|
||||||
|
|
||||||
/// DOCME
|
|
||||||
Menu_Automation_Macro = 2700
|
Menu_Automation_Macro = 2700
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue