2006-01-16 22:02:54 +01:00
|
|
|
// Copyright (c) 2005, Rodrigo Braz Monteiro
|
|
|
|
// All rights reserved.
|
|
|
|
//
|
|
|
|
// Redistribution and use in source and binary forms, with or without
|
|
|
|
// modification, are permitted provided that the following conditions are met:
|
|
|
|
//
|
|
|
|
// * Redistributions of source code must retain the above copyright notice,
|
|
|
|
// this list of conditions and the following disclaimer.
|
|
|
|
// * Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
// this list of conditions and the following disclaimer in the documentation
|
|
|
|
// and/or other materials provided with the distribution.
|
|
|
|
// * Neither the name of the Aegisub Group nor the names of its contributors
|
|
|
|
// may be used to endorse or promote products derived from this software
|
|
|
|
// without specific prior written permission.
|
|
|
|
//
|
|
|
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
|
|
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
// POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
//
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// AEGISUB
|
|
|
|
//
|
|
|
|
// Website: http://aegisub.cellosoft.com
|
|
|
|
// Contact: mailto:zeratul@cellosoft.com
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef FRAME_MAIN_H
|
|
|
|
#define FRAME_MAIN_H
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////
|
|
|
|
// Include headers
|
|
|
|
#include <wx/wxprec.h>
|
2007-09-12 01:22:26 +02:00
|
|
|
#include <wx/frame.h>
|
|
|
|
#include <wx/menu.h>
|
|
|
|
#include <wx/log.h>
|
|
|
|
#include <wx/timer.h>
|
|
|
|
#include <wx/combobox.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/panel.h>
|
2006-12-28 23:31:33 +01:00
|
|
|
#include <vector>
|
2008-01-16 19:29:29 +01:00
|
|
|
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
////////////////////
|
|
|
|
// Class prototypes
|
|
|
|
class VideoDisplay;
|
|
|
|
class VideoSlider;
|
|
|
|
class VideoZoomSlider;
|
|
|
|
class SubtitlesGrid;
|
|
|
|
class SubsEditBox;
|
|
|
|
class AudioBox;
|
|
|
|
class VideoBox;
|
2007-01-23 05:42:08 +01:00
|
|
|
class DialogDetachedVideo;
|
2009-05-14 09:02:01 +02:00
|
|
|
class DialogStyling;
|
2006-01-16 22:02:54 +01:00
|
|
|
class AegisubFileDropTarget;
|
2006-12-28 23:31:33 +01:00
|
|
|
namespace Automation4 { class FeatureMacro; class ScriptManager; };
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
////////////////////
|
|
|
|
// Main Frame class
|
|
|
|
class FrameMain: public wxFrame {
|
|
|
|
friend class AegisubFileDropTarget;
|
|
|
|
friend class AegisubApp;
|
2006-12-01 00:27:59 +01:00
|
|
|
friend class SubtitlesGrid;
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
private:
|
2007-01-23 05:42:08 +01:00
|
|
|
bool showVideo,showAudio;
|
2006-01-16 22:02:54 +01:00
|
|
|
bool HasSelection;
|
|
|
|
bool menuCreated;
|
|
|
|
wxTimer AutoSave;
|
|
|
|
wxTimer StatusClear;
|
|
|
|
|
|
|
|
bool blockAudioLoad;
|
|
|
|
bool blockVideoLoad;
|
|
|
|
|
|
|
|
wxPanel *Panel;
|
|
|
|
|
|
|
|
wxMenuBar *MenuBar;
|
|
|
|
wxMenu *fileMenu;
|
|
|
|
wxMenu *editMenu;
|
|
|
|
wxMenu *videoMenu;
|
2006-12-27 02:56:34 +01:00
|
|
|
wxMenu *timingMenu;
|
|
|
|
wxMenu *subtitlesMenu;
|
2006-01-16 22:02:54 +01:00
|
|
|
wxMenu *helpMenu;
|
|
|
|
wxMenu *audioMenu;
|
|
|
|
wxMenu *viewMenu;
|
2006-12-27 02:56:34 +01:00
|
|
|
wxMenu *automationMenu;
|
2007-01-13 03:22:28 +01:00
|
|
|
wxMenu *kanjiTimingMenu;
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
wxMenu *RecentSubs;
|
|
|
|
wxMenu *RecentVids;
|
|
|
|
wxMenu *RecentAuds;
|
2006-07-01 07:34:39 +02:00
|
|
|
wxMenu *RecentTimecodes;
|
2006-12-18 18:18:14 +01:00
|
|
|
wxMenu *RecentKeyframes;
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
wxToolBar *Toolbar;
|
|
|
|
wxComboBox *ZoomBox;
|
|
|
|
|
|
|
|
wxWindow *PreviousFocus;
|
2007-04-07 07:27:32 +02:00
|
|
|
wxLogWindow *LogWindow;
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2007-12-31 07:46:22 +01:00
|
|
|
#ifdef WITH_AUTOMATION
|
2006-12-28 23:31:33 +01:00
|
|
|
Automation4::ScriptManager *local_scripts;
|
2007-12-31 07:46:22 +01:00
|
|
|
#endif
|
2006-12-28 23:31:33 +01:00
|
|
|
|
|
|
|
std::vector<Automation4::FeatureMacro*> activeMacroItems;
|
2007-01-05 20:52:39 +01:00
|
|
|
int AddMacroMenuItems(wxMenu *menu, const std::vector<Automation4::FeatureMacro*> ¯os);
|
2006-12-28 23:31:33 +01:00
|
|
|
|
2006-01-16 22:02:54 +01:00
|
|
|
void InitToolbar();
|
|
|
|
void InitContents();
|
2006-02-03 01:22:16 +01:00
|
|
|
void DeInitContents();
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
void OnAutoSave(wxTimerEvent &event);
|
|
|
|
void OnStatusClear(wxTimerEvent &event);
|
|
|
|
|
|
|
|
void OnVideoPlay(wxCommandEvent &event);
|
|
|
|
void OnKeyDown(wxKeyEvent &event);
|
|
|
|
|
|
|
|
void OnOpenRecentSubs (wxCommandEvent &event);
|
|
|
|
void OnOpenRecentVideo (wxCommandEvent &event);
|
|
|
|
void OnOpenRecentAudio (wxCommandEvent &event);
|
2006-07-01 07:34:39 +02:00
|
|
|
void OnOpenRecentTimecodes (wxCommandEvent &event);
|
2006-12-18 18:18:14 +01:00
|
|
|
void OnOpenRecentKeyframes (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2007-07-27 09:30:33 +02:00
|
|
|
void OnNewWindow (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnCloseWindow (wxCloseEvent &event);
|
|
|
|
void OnMenuOpen (wxMenuEvent &event);
|
|
|
|
void OnExit(wxCommandEvent &WXUNUSED(event));
|
|
|
|
void OnAbout (wxCommandEvent &event);
|
2007-01-07 23:54:04 +01:00
|
|
|
void OnCheckUpdates (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnContents (wxCommandEvent &event);
|
|
|
|
void OnWebsite (wxCommandEvent &event);
|
2006-02-23 20:26:14 +01:00
|
|
|
void OnForums (wxCommandEvent &event);
|
|
|
|
void OnBugTracker (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnIRCChannel (wxCommandEvent &event);
|
|
|
|
|
|
|
|
void OnNewSubtitles (wxCommandEvent &event);
|
|
|
|
void OnOpenSubtitles (wxCommandEvent &event);
|
|
|
|
void OnOpenSubtitlesCharset (wxCommandEvent &event);
|
|
|
|
void OnSaveSubtitles (wxCommandEvent &event);
|
|
|
|
void OnSaveSubtitlesAs (wxCommandEvent &event);
|
|
|
|
void OnSaveSubtitlesCharset (wxCommandEvent &event);
|
|
|
|
void OnExportSubtitles (wxCommandEvent &event);
|
|
|
|
void OnOpenVideo (wxCommandEvent &event);
|
|
|
|
void OnCloseVideo (wxCommandEvent &event);
|
|
|
|
void OnOpenVFR (wxCommandEvent &event);
|
2008-01-16 03:31:37 +01:00
|
|
|
void OnSaveVFR (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnCloseVFR (wxCommandEvent &event);
|
2006-12-18 03:44:38 +01:00
|
|
|
void OnOpenKeyframes (wxCommandEvent &event);
|
|
|
|
void OnCloseKeyframes (wxCommandEvent &event);
|
|
|
|
void OnSaveKeyframes (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
void OnZoomIn (wxCommandEvent &event);
|
|
|
|
void OnZoomOut (wxCommandEvent &event);
|
|
|
|
void OnSetZoom50 (wxCommandEvent &event);
|
|
|
|
void OnSetZoom100 (wxCommandEvent &event);
|
|
|
|
void OnSetZoom200 (wxCommandEvent &event);
|
|
|
|
void OnSetZoom (wxCommandEvent &event);
|
|
|
|
void OnSetARDefault (wxCommandEvent &event);
|
|
|
|
void OnSetARWide (wxCommandEvent &event);
|
|
|
|
void OnSetARFull (wxCommandEvent &event);
|
2006-05-16 01:44:53 +02:00
|
|
|
void OnSetAR235 (wxCommandEvent &event);
|
|
|
|
void OnSetARCustom (wxCommandEvent &event);
|
2007-01-23 05:42:08 +01:00
|
|
|
void OnDetachVideo (wxCommandEvent &event);
|
2007-04-02 20:28:09 +02:00
|
|
|
void OnDummyVideo (wxCommandEvent &event);
|
2007-06-28 23:35:37 +02:00
|
|
|
void OnOverscan (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
void OnOpenAudio (wxCommandEvent &event);
|
|
|
|
void OnOpenAudioFromVideo (wxCommandEvent &event);
|
|
|
|
void OnCloseAudio (wxCommandEvent &event);
|
2007-07-23 17:19:48 +02:00
|
|
|
#ifdef _DEBUG
|
|
|
|
void OnOpenDummyAudio(wxCommandEvent &event);
|
|
|
|
void OnOpenDummyNoiseAudio(wxCommandEvent &event);
|
|
|
|
#endif
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
void OnChooseLanguage (wxCommandEvent &event);
|
2007-06-19 06:04:46 +02:00
|
|
|
void OnPickAssociations (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnViewStandard (wxCommandEvent &event);
|
|
|
|
void OnViewVideo (wxCommandEvent &event);
|
|
|
|
void OnViewAudio (wxCommandEvent &event);
|
|
|
|
void OnViewSubs (wxCommandEvent &event);
|
|
|
|
|
|
|
|
void OnUndo (wxCommandEvent &event);
|
2006-02-20 22:32:58 +01:00
|
|
|
void OnRedo (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnCut (wxCommandEvent &event);
|
|
|
|
void OnCopy (wxCommandEvent &event);
|
|
|
|
void OnPaste (wxCommandEvent &event);
|
2006-12-17 19:30:19 +01:00
|
|
|
void OnPasteOver (wxCommandEvent &event);
|
2006-12-27 04:16:07 +01:00
|
|
|
void OnDelete (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnFind (wxCommandEvent &event);
|
|
|
|
void OnFindNext (wxCommandEvent &event);
|
|
|
|
void OnReplace (wxCommandEvent &event);
|
|
|
|
void OnJumpTo (wxCommandEvent &event);
|
|
|
|
void OnShift (wxCommandEvent &event);
|
2006-07-07 00:39:58 +02:00
|
|
|
void OnSort (wxCommandEvent &event);
|
2006-12-24 18:42:09 +01:00
|
|
|
void OnEditBoxCommit (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnOpenProperties (wxCommandEvent &event);
|
|
|
|
void OnOpenStylesManager (wxCommandEvent &event);
|
2006-07-01 04:27:37 +02:00
|
|
|
void OnOpenAttachments (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnOpenTranslation (wxCommandEvent &event);
|
|
|
|
void OnOpenSpellCheck (wxCommandEvent &event);
|
|
|
|
void OnOpenFontsCollector (wxCommandEvent &event);
|
|
|
|
void OnSnapSubsStartToVid (wxCommandEvent &event);
|
|
|
|
void OnSnapSubsEndToVid (wxCommandEvent &event);
|
|
|
|
void OnSnapVidToSubsStart (wxCommandEvent &event);
|
|
|
|
void OnSnapVidToSubsEnd (wxCommandEvent &event);
|
|
|
|
void OnSnapToScene (wxCommandEvent &event);
|
|
|
|
void OnShiftToFrame (wxCommandEvent &event);
|
|
|
|
void OnSelectVisible (wxCommandEvent &event);
|
|
|
|
void OnSelect (wxCommandEvent &event);
|
|
|
|
void OnOpenStylingAssistant (wxCommandEvent &event);
|
|
|
|
void OnOpenResample (wxCommandEvent &event);
|
|
|
|
void OnOpenTimingProcessor (wxCommandEvent &event);
|
2007-01-13 03:22:28 +01:00
|
|
|
void OnOpenKanjiTimer (wxCommandEvent &event);
|
2007-08-20 00:21:41 +02:00
|
|
|
void OnOpenVideoDetails (wxCommandEvent &event);
|
2008-01-20 18:34:35 +01:00
|
|
|
void OnOpenASSDraw (wxCommandEvent &event);
|
2007-08-20 00:21:41 +02:00
|
|
|
|
2006-06-19 04:51:06 +02:00
|
|
|
void OnOpenOptions (wxCommandEvent &event);
|
2007-04-07 07:27:32 +02:00
|
|
|
void OnOpenLog (wxCommandEvent &event);
|
2006-12-27 21:16:47 +01:00
|
|
|
void OnGridEvent (wxCommandEvent &event);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2006-12-28 23:31:33 +01:00
|
|
|
void OnOpenAutomation (wxCommandEvent &event);
|
|
|
|
void OnAutomationMacro(wxCommandEvent &event);
|
|
|
|
|
2006-01-16 22:02:54 +01:00
|
|
|
void OnNextFrame(wxCommandEvent &event);
|
|
|
|
void OnPrevFrame(wxCommandEvent &event);
|
|
|
|
void OnFocusSeek(wxCommandEvent &event);
|
|
|
|
void OnNextLine(wxCommandEvent &event);
|
|
|
|
void OnPrevLine(wxCommandEvent &event);
|
|
|
|
void OnToggleTags(wxCommandEvent &event);
|
|
|
|
|
2006-12-30 23:08:23 +01:00
|
|
|
void OnMedusaPlay(wxCommandEvent &event);
|
|
|
|
void OnMedusaStop(wxCommandEvent &event);
|
|
|
|
void OnMedusaShiftStartForward(wxCommandEvent &event);
|
|
|
|
void OnMedusaShiftStartBack(wxCommandEvent &event);
|
|
|
|
void OnMedusaShiftEndForward(wxCommandEvent &event);
|
|
|
|
void OnMedusaShiftEndBack(wxCommandEvent &event);
|
|
|
|
void OnMedusaPlayBefore(wxCommandEvent &event);
|
|
|
|
void OnMedusaPlayAfter(wxCommandEvent &event);
|
2007-07-27 10:24:49 +02:00
|
|
|
void OnMedusaEnter(wxCommandEvent &event);
|
|
|
|
void OnMedusaNext(wxCommandEvent &event);
|
|
|
|
void OnMedusaPrev(wxCommandEvent &event);
|
2006-05-05 20:52:09 +02:00
|
|
|
|
2006-01-16 22:02:54 +01:00
|
|
|
void LoadVideo(wxString filename,bool autoload=false);
|
|
|
|
void LoadAudio(wxString filename,bool FromVideo=false);
|
|
|
|
void LoadVFR(wxString filename);
|
2008-01-16 03:31:37 +01:00
|
|
|
void SaveVFR(wxString filename);
|
2006-01-16 22:02:54 +01:00
|
|
|
void LoadSubtitles(wxString filename,wxString charset=_T(""));
|
|
|
|
bool SaveSubtitles(bool saveas=false,bool withCharset=false);
|
|
|
|
int TryToCloseSubs(bool enableCancel=true);
|
|
|
|
|
2007-04-08 04:19:21 +02:00
|
|
|
void RebuildRecentList(wxString listName,wxMenu *menu,int startID);
|
2006-01-16 22:02:54 +01:00
|
|
|
void SynchronizeProject(bool FromSubs=false);
|
|
|
|
|
|
|
|
public:
|
2006-03-30 00:39:41 +02:00
|
|
|
SubtitlesGrid *SubsBox;
|
|
|
|
SubsEditBox *EditBox;
|
|
|
|
AudioBox *audioBox;
|
|
|
|
VideoBox *videoBox;
|
2007-01-23 05:42:08 +01:00
|
|
|
DialogDetachedVideo *detachedVideo;
|
2009-05-14 09:02:01 +02:00
|
|
|
DialogStyling *stylingAssistant;
|
2006-03-30 00:39:41 +02:00
|
|
|
|
2006-01-16 22:02:54 +01:00
|
|
|
wxBoxSizer *MainSizer;
|
|
|
|
wxBoxSizer *TopSizer;
|
|
|
|
wxBoxSizer *BottomSizer;
|
|
|
|
wxBoxSizer *ToolSizer;
|
|
|
|
|
|
|
|
FrameMain (wxArrayString args);
|
|
|
|
~FrameMain ();
|
|
|
|
|
|
|
|
bool LoadList(wxArrayString list);
|
|
|
|
static void OpenHelp(wxString page=_T(""));
|
|
|
|
void UpdateTitle();
|
2006-02-01 03:16:57 +01:00
|
|
|
void StatusTimeout(wxString text,int ms=10000);
|
2008-01-12 04:09:48 +01:00
|
|
|
void DetachVideo(bool detach=true);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
void SetAccelerators();
|
|
|
|
void InitMenu();
|
2006-02-19 02:16:15 +01:00
|
|
|
void UpdateToolbar();
|
2007-01-23 05:42:08 +01:00
|
|
|
void SetDisplayMode(int showVid,int showAudio);
|
2007-01-26 01:47:42 +01:00
|
|
|
|
|
|
|
void SetUndoRedoDesc();
|
2008-01-20 18:34:35 +01:00
|
|
|
bool HasASSDraw();
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2006-01-19 11:33:56 +01:00
|
|
|
DECLARE_EVENT_TABLE()
|
2006-01-16 22:02:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
////////////////
|
|
|
|
// Menu Entries
|
|
|
|
enum {
|
|
|
|
Menu_File_New = 200,
|
|
|
|
Menu_File_Open,
|
|
|
|
Menu_File_Save,
|
|
|
|
Menu_File_SaveAs,
|
|
|
|
Menu_File_Close,
|
|
|
|
Menu_File_Open_Video,
|
|
|
|
Menu_File_Close_Video,
|
|
|
|
Menu_File_Open_Subtitles,
|
|
|
|
Menu_File_Open_Subtitles_Charset,
|
|
|
|
Menu_File_New_Subtitles,
|
|
|
|
Menu_File_Save_Subtitles,
|
|
|
|
Menu_File_Save_Subtitles_As,
|
|
|
|
Menu_File_Save_Subtitles_With_Charset,
|
|
|
|
Menu_File_Export_Subtitles,
|
|
|
|
Menu_File_Open_VFR,
|
2008-01-16 03:31:37 +01:00
|
|
|
Menu_File_Save_VFR,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_File_Close_VFR,
|
2007-07-27 09:30:33 +02:00
|
|
|
Menu_File_New_Window,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_File_Exit,
|
|
|
|
|
|
|
|
Menu_File_Recent_Subs_Parent,
|
|
|
|
Menu_File_Recent_Vids_Parent,
|
|
|
|
Menu_File_Recent_Auds_Parent,
|
2006-07-01 07:34:39 +02:00
|
|
|
Menu_File_Recent_Timecodes_Parent,
|
2006-12-18 18:18:14 +01:00
|
|
|
Menu_File_Recent_Keyframes_Parent,
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
Menu_Video_JumpTo,
|
2006-12-28 21:59:39 +01:00
|
|
|
Menu_View_Zoom,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_View_Zoom_50,
|
|
|
|
Menu_View_Zoom_100,
|
|
|
|
Menu_View_Zoom_200,
|
|
|
|
Menu_Video_Zoom_In,
|
|
|
|
Menu_Video_Zoom_Out,
|
2006-12-18 03:44:38 +01:00
|
|
|
Menu_Video_Load_Keyframes,
|
|
|
|
Menu_Video_Save_Keyframes,
|
|
|
|
Menu_Video_Close_Keyframes,
|
2006-01-16 22:02:54 +01:00
|
|
|
Toolbar_Zoom_Dropdown,
|
2006-12-28 21:59:39 +01:00
|
|
|
Menu_Video_AR,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_Video_AR_Default,
|
|
|
|
Menu_Video_AR_Full,
|
|
|
|
Menu_Video_AR_Wide,
|
2006-05-16 01:44:53 +02:00
|
|
|
Menu_Video_AR_235,
|
|
|
|
Menu_Video_AR_Custom,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_Video_Select_Visible,
|
2006-12-17 21:46:01 +01:00
|
|
|
Menu_Video_Play,
|
2007-01-23 05:42:08 +01:00
|
|
|
Menu_Video_Detach,
|
2007-04-02 20:28:09 +02:00
|
|
|
Menu_Video_Dummy,
|
2007-06-28 23:35:37 +02:00
|
|
|
Menu_Video_Overscan,
|
2007-08-20 00:21:41 +02:00
|
|
|
Menu_Video_Details,
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
Menu_Audio_Open_File,
|
|
|
|
Menu_Audio_Open_From_Video,
|
|
|
|
Menu_Audio_Close,
|
2007-07-23 17:19:48 +02:00
|
|
|
#ifdef _DEBUG
|
|
|
|
Menu_Audio_Open_Dummy,
|
|
|
|
Menu_Audio_Open_Dummy_Noise,
|
|
|
|
#endif
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
Menu_Edit_Select,
|
|
|
|
Menu_Edit_Undo,
|
2006-02-20 22:32:58 +01:00
|
|
|
Menu_Edit_Redo,
|
2006-07-07 00:39:58 +02:00
|
|
|
Menu_Edit_Sort,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_Edit_Find,
|
|
|
|
Menu_Edit_Find_Next,
|
|
|
|
Menu_Edit_Replace,
|
|
|
|
Menu_Edit_Shift,
|
|
|
|
Menu_Edit_Cut,
|
|
|
|
Menu_Edit_Copy,
|
|
|
|
Menu_Edit_Paste,
|
2006-12-17 19:30:19 +01:00
|
|
|
Menu_Edit_Paste_Over,
|
2006-12-27 04:16:07 +01:00
|
|
|
Menu_Edit_Delete,
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
Menu_View_Language,
|
2007-06-19 06:04:46 +02:00
|
|
|
Menu_View_Associations,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_View_Standard,
|
|
|
|
Menu_View_Audio,
|
|
|
|
Menu_View_Video,
|
|
|
|
Menu_View_Subs,
|
|
|
|
|
2006-12-27 21:35:50 +01:00
|
|
|
Menu_Subtitles_Join,
|
|
|
|
Menu_Subtitles_Recombine,
|
|
|
|
Menu_Subtitles_Insert,
|
|
|
|
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_Tools_Properties,
|
|
|
|
Menu_Tools_Styles_Manager,
|
2006-07-01 04:27:37 +02:00
|
|
|
Menu_Tools_Attachments,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_Tools_Translation,
|
|
|
|
Menu_Tools_SpellCheck,
|
|
|
|
Menu_Tools_Fonts_Collector,
|
|
|
|
Menu_Tools_Automation,
|
|
|
|
Menu_Tools_Styling,
|
|
|
|
Menu_Tools_Resample,
|
|
|
|
Menu_Tools_Timing_Processor,
|
2007-01-13 03:22:28 +01:00
|
|
|
Menu_Tools_Kanji_Timer,
|
2006-06-19 04:51:06 +02:00
|
|
|
Menu_Tools_Options,
|
2007-04-07 07:27:32 +02:00
|
|
|
Menu_Tools_Log,
|
2008-01-20 18:34:35 +01:00
|
|
|
Menu_Tools_ASSDraw,
|
2006-01-16 22:02:54 +01:00
|
|
|
|
|
|
|
Menu_Help_Contents,
|
|
|
|
Menu_Help_IRCChannel,
|
|
|
|
Menu_Help_Website,
|
2006-02-23 20:26:14 +01:00
|
|
|
Menu_Help_Forums,
|
|
|
|
Menu_Help_BugTracker,
|
|
|
|
Menu_Help_Check_Updates,
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_Help_About,
|
|
|
|
|
|
|
|
Menu_Subs_Snap_Start_To_Video,
|
|
|
|
Menu_Subs_Snap_End_To_Video,
|
|
|
|
Menu_Subs_Snap_Video_To_Start,
|
|
|
|
Menu_Subs_Snap_Video_To_End,
|
|
|
|
Menu_Video_Snap_To_Scene,
|
|
|
|
Menu_Video_Shift_To_Frame,
|
|
|
|
|
|
|
|
AutoSave_Timer,
|
|
|
|
StatusClear_Timer,
|
|
|
|
|
|
|
|
Video_Next_Frame,
|
|
|
|
Video_Prev_Frame,
|
|
|
|
Video_Focus_Seek,
|
|
|
|
Grid_Next_Line,
|
|
|
|
Grid_Prev_Line,
|
|
|
|
Grid_Toggle_Tags,
|
2006-12-24 18:42:09 +01:00
|
|
|
Edit_Box_Commit,
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2007-01-11 06:33:36 +01:00
|
|
|
Video_Frame_Play,
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2006-12-30 23:08:23 +01:00
|
|
|
Medusa_Play,
|
|
|
|
Medusa_Stop,
|
|
|
|
Medusa_Shift_Start_Forward,
|
|
|
|
Medusa_Shift_Start_Back,
|
|
|
|
Medusa_Shift_End_Forward,
|
|
|
|
Medusa_Shift_End_Back,
|
|
|
|
Medusa_Play_Before,
|
|
|
|
Medusa_Play_After,
|
|
|
|
Medusa_Next,
|
|
|
|
Medusa_Prev,
|
2007-07-27 10:24:49 +02:00
|
|
|
Medusa_Enter,
|
2006-05-05 20:52:09 +02:00
|
|
|
|
2006-01-16 22:02:54 +01:00
|
|
|
Menu_File_Recent = 2000,
|
|
|
|
Menu_Video_Recent = 2200,
|
2006-07-01 07:34:39 +02:00
|
|
|
Menu_Audio_Recent = 2400,
|
2006-12-18 18:18:14 +01:00
|
|
|
Menu_Timecodes_Recent = 2500,
|
|
|
|
Menu_Keyframes_Recent = 2600,
|
2007-01-11 06:33:36 +01:00
|
|
|
Menu_Automation_Macro = 2700
|
2006-01-16 22:02:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|