protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Dialog.PlayEditor this.Name = "LongoMatch.Gui.Dialog.PlayEditor"; this.Title = global::Mono.Unix.Catalog.GetString("Edit event details"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Menu); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child LongoMatch.Gui.Dialog.PlayEditor.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild global::Gtk.Viewport w2 = new global::Gtk.Viewport(); w2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.HeightRequest = 80; this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.nameframe = new global::Gtk.Frame(); this.nameframe.WidthRequest = 200; this.nameframe.Name = "nameframe"; this.nameframe.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child nameframe.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.nameentry = new global::Gtk.Entry(); this.nameentry.CanFocus = true; this.nameentry.Name = "nameentry"; this.nameentry.IsEditable = true; this.nameentry.InvisibleChar = '•'; this.hbox3.Add(this.nameentry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.nameentry])); w3.Position = 0; w3.Expand = false; w3.Fill = false; this.GtkAlignment3.Add(this.hbox3); this.nameframe.Add(this.GtkAlignment3); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Name</b>"); this.GtkLabel3.UseMarkup = true; this.nameframe.LabelWidget = this.GtkLabel3; this.hbox4.Add(this.nameframe); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.nameframe])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.notesframe = new global::Gtk.Frame(); this.notesframe.Name = "notesframe"; this.notesframe.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child notesframe.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.notes = new global::LongoMatch.Gui.Component.NotesWidget(); this.notes.HeightRequest = 100; this.notes.Events = ((global::Gdk.EventMask)(256)); this.notes.Name = "notes"; this.GtkAlignment.Add(this.notes); this.notesframe.Add(this.GtkAlignment); this.GtkLabel = new global::Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Notes</b>"); this.GtkLabel.UseMarkup = true; this.notesframe.LabelWidget = this.GtkLabel; this.hbox4.Add(this.notesframe); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.notesframe])); w9.Position = 1; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.tagsvbox = new global::Gtk.VBox(); this.tagsvbox.Name = "tagsvbox"; this.tagsvbox.Spacing = 6; this.vbox3.Add(this.tagsvbox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tagsvbox])); w11.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.tagger = new global::LongoMatch.Gui.Component.PlaysCoordinatesTagger(); this.tagger.HeightRequest = 200; this.tagger.Events = ((global::Gdk.EventMask)(256)); this.tagger.Name = "tagger"; this.vbox3.Add(this.tagger); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tagger])); w12.Position = 2; // Container child vbox3.Gtk.Box+BoxChild this.drawingarea3 = new global::Gtk.DrawingArea(); this.drawingarea3.HeightRequest = 200; this.drawingarea3.Name = "drawingarea3"; this.vbox3.Add(this.drawingarea3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.drawingarea3])); w13.Position = 3; w2.Add(this.vbox3); this.scrolledwindow2.Add(w2); w1.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.scrolledwindow2])); w16.Position = 0; // Internal child LongoMatch.Gui.Dialog.PlayEditor.ActionArea global::Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.BorderWidth = ((uint)(5)); w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonOk])); w18.Expand = false; w18.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1021; this.DefaultHeight = 671; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.Dialog.PlayEditor this.Name = "LongoMatch.Gui.Dialog.PlayEditor"; this.Title = global::Mono.Unix.Catalog.GetString ("Edit event details"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", global::Gtk.IconSize.Menu); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child LongoMatch.Gui.Dialog.PlayEditor.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow (); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild global::Gtk.Viewport w2 = new global::Gtk.Viewport (); w2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.HeightRequest = 80; this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.nameframe = new global::Gtk.Frame (); this.nameframe.WidthRequest = 200; this.nameframe.Name = "nameframe"; this.nameframe.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child nameframe.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.nameentry = new global::Gtk.Entry (); this.nameentry.CanFocus = true; this.nameentry.Name = "nameentry"; this.nameentry.IsEditable = true; this.nameentry.InvisibleChar = '•'; this.hbox3.Add (this.nameentry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.nameentry])); w3.Position = 0; w3.Expand = false; w3.Fill = false; this.GtkAlignment3.Add (this.hbox3); this.nameframe.Add (this.GtkAlignment3); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Name</b>"); this.GtkLabel3.UseMarkup = true; this.nameframe.LabelWidget = this.GtkLabel3; this.hbox4.Add (this.nameframe); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.nameframe])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.notesframe = new global::Gtk.Frame (); this.notesframe.Name = "notesframe"; this.notesframe.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child notesframe.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.notes = new global::LongoMatch.Gui.Component.NotesWidget (); this.notes.HeightRequest = 100; this.notes.Events = ((global::Gdk.EventMask)(256)); this.notes.Name = "notes"; this.GtkAlignment.Add (this.notes); this.notesframe.Add (this.GtkAlignment); this.GtkLabel = new global::Gtk.Label (); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Notes</b>"); this.GtkLabel.UseMarkup = true; this.notesframe.LabelWidget = this.GtkLabel; this.hbox4.Add (this.notesframe); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.notesframe])); w9.Position = 1; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.tagsvbox = new global::Gtk.VBox (); this.tagsvbox.Name = "tagsvbox"; this.tagsvbox.Spacing = 6; this.vbox3.Add (this.tagsvbox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tagsvbox])); w11.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.tagger = new global::LongoMatch.Gui.Component.PlaysCoordinatesTagger (); this.tagger.HeightRequest = 200; this.tagger.Events = ((global::Gdk.EventMask)(256)); this.tagger.Name = "tagger"; this.vbox3.Add (this.tagger); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tagger])); w12.Position = 2; // Container child vbox3.Gtk.Box+BoxChild this.drawingarea3 = new global::Gtk.DrawingArea (); this.drawingarea3.HeightRequest = 200; this.drawingarea3.Name = "drawingarea3"; this.vbox3.Add (this.drawingarea3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.drawingarea3])); w13.Position = 3; w2.Add (this.vbox3); this.scrolledwindow2.Add (w2); w1.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.scrolledwindow2])); w16.Position = 0; // Internal child LongoMatch.Gui.Dialog.PlayEditor.ActionArea global::Gtk.HButtonBox w17 = this.ActionArea; w17.Name = "dialog1_ActionArea"; w17.Spacing = 10; w17.BorderWidth = ((uint)(5)); w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonOk])); w18.Expand = false; w18.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1021; this.DefaultHeight = 671; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.NewPojectAction = new global::Gtk.Action("NewPojectAction", global::Mono.Unix.Catalog.GetString("_New Project"), null, "gtk-new"); this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New Project"); w1.Add(this.NewPojectAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open Project"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Project"); w1.Add(this.openAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, null); this.CloseProjectAction = new global::Gtk.Action("CloseProjectAction", global::Mono.Unix.Catalog.GetString("_Close Project"), null, "gtk-close"); this.CloseProjectAction.Sensitive = false; this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close Project"); w1.Add(this.CloseProjectAction, null); this.ToolsAction = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools"); w1.Add(this.ToolsAction, null); this.ProjectsManagerAction = new global::Gtk.Action("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString("Projects Manager"), null, null); this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Database Manager"); w1.Add(this.ProjectsManagerAction, null); this.CategoriesTemplatesManagerAction = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Categories Templates Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Templates Manager"); w1.Add(this.CategoriesTemplatesManagerAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.ViewAction, "<Control>t"); this.FullScreenAction = new global::Gtk.ToggleAction("FullScreenAction", global::Mono.Unix.Catalog.GetString("Full Screen"), null, "gtk-fullscreen"); this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Full Screen"); w1.Add(this.FullScreenAction, "<Control><Alt>f"); this.PlaylistAction = new global::Gtk.ToggleAction("PlaylistAction", global::Mono.Unix.Catalog.GetString("Playlist"), null, null); this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Playlist"); w1.Add(this.PlaylistAction, "<Control>p"); this.TaggingViewAction = new global::Gtk.RadioAction("TaggingViewAction", global::Mono.Unix.Catalog.GetString("Tagging view"), null, null, 0); this.TaggingViewAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.TaggingViewAction.Sensitive = false; this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture Mode"); w1.Add(this.TaggingViewAction, "<Control>c"); this.TimelineViewAction = new global::Gtk.RadioAction("TimelineViewAction", global::Mono.Unix.Catalog.GetString("Timeline view"), null, null, 0); this.TimelineViewAction.Group = this.TaggingViewAction.Group; this.TimelineViewAction.Sensitive = false; this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Analyze Mode"); w1.Add(this.TimelineViewAction, "<Control>a"); this.SaveProjectAction = new global::Gtk.Action("SaveProjectAction", global::Mono.Unix.Catalog.GetString("_Save Project"), null, "gtk-save"); this.SaveProjectAction.Sensitive = false; this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save Project"); w1.Add(this.SaveProjectAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.AboutAction, null); this.ExportProjectToCSVFileAction = new global::Gtk.Action("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString("Export Project To CSV File"), null, null); this.ExportProjectToCSVFileAction.Sensitive = false; this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project To CSV File"); this.ExportProjectToCSVFileAction.Visible = false; w1.Add(this.ExportProjectToCSVFileAction, null); this.TeamsTemplatesManagerAction = new global::Gtk.Action("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Teams Templates Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Teams Templates Manager"); w1.Add(this.TeamsTemplatesManagerAction, null); this.HideAllWidgetsAction = new global::Gtk.ToggleAction("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString("Hide All Widgets"), null, null); this.HideAllWidgetsAction.Sensitive = false; this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hide All Widgets"); w1.Add(this.HideAllWidgetsAction, null); this.HelpAction1 = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help"); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction1, null); this.DrawingToolAction = new global::Gtk.ToggleAction("DrawingToolAction", global::Mono.Unix.Catalog.GetString("_Drawing Tool"), null, null); this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drawing Tool"); w1.Add(this.DrawingToolAction, "<Control>d"); this.ImportProjectAction = new global::Gtk.Action("ImportProjectAction", global::Mono.Unix.Catalog.GetString("_Import Project"), null, "stock-import"); this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import Project"); w1.Add(this.ImportProjectAction, "<Control>i"); this.ManualTaggingViewAction = new global::Gtk.RadioAction("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString("Manual tagging view"), null, null, 0); this.ManualTaggingViewAction.Group = this.TimelineViewAction.Group; this.ManualTaggingViewAction.Sensitive = false; this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Free Capture Mode"); w1.Add(this.ManualTaggingViewAction, "<Control>f"); this.GameUnitsViewAction = new global::Gtk.RadioAction("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString("Game units view"), null, null, 0); this.GameUnitsViewAction.Group = this.TimelineViewAction.Group; this.GameUnitsViewAction.Sensitive = false; this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game units view"); w1.Add(this.GameUnitsViewAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "LongoMatch.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("LongoMatch"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child LongoMatch.Gui.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.menubox = new global::Gtk.VBox(); this.menubox.Name = "menubox"; this.menubox.Spacing = 6; // Container child menubox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='ExportProjectToCSVFileAction' action='ExportProjectToCSVFileAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.menubox.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.menubox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned = new global::Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 161; // Container child hpaned.Gtk.Paned+PanedChild this.leftbox = new global::Gtk.VBox(); this.leftbox.Name = "leftbox"; this.leftbox.Spacing = 6; // Container child leftbox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 3; this.notebook1.TabPos = ((global::Gtk.PositionType)(3)); // Container child notebook1.Gtk.Notebook+NotebookChild this.playsList = new global::LongoMatch.Gui.Component.PlaysListTreeWidget(); this.playsList.Events = ((global::Gdk.EventMask)(256)); this.playsList.Name = "playsList"; this.notebook1.Add(this.playsList); // Notebook tab this.playslabel = new global::Gtk.Label(); this.playslabel.Name = "playslabel"; this.playslabel.LabelProp = global::Mono.Unix.Catalog.GetString("Plays"); this.notebook1.SetTabLabel(this.playsList, this.playslabel); this.playslabel.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.localPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget(); this.localPlayersList.Events = ((global::Gdk.EventMask)(256)); this.localPlayersList.Name = "localPlayersList"; this.notebook1.Add(this.localPlayersList); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.localPlayersList])); w5.Position = 1; // Notebook tab this.localteamlabel = new global::Gtk.Label(); this.localteamlabel.Name = "localteamlabel"; this.localteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Local Team"); this.notebook1.SetTabLabel(this.localPlayersList, this.localteamlabel); this.localteamlabel.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.visitorPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget(); this.visitorPlayersList.Events = ((global::Gdk.EventMask)(256)); this.visitorPlayersList.Name = "visitorPlayersList"; this.notebook1.Add(this.visitorPlayersList); global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.visitorPlayersList])); w6.Position = 2; // Notebook tab this.visitorteamlabel = new global::Gtk.Label(); this.visitorteamlabel.Name = "visitorteamlabel"; this.visitorteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Visitor Team"); this.notebook1.SetTabLabel(this.visitorPlayersList, this.visitorteamlabel); this.visitorteamlabel.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.tagsList = new global::LongoMatch.Gui.Component.TagsTreeWidget(); this.tagsList.Sensitive = false; this.tagsList.Events = ((global::Gdk.EventMask)(256)); this.tagsList.Name = "tagsList"; this.notebook1.Add(this.tagsList); global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.tagsList])); w7.Position = 3; // Notebook tab this.tagslabel = new global::Gtk.Label(); this.tagslabel.Name = "tagslabel"; this.tagslabel.LabelProp = global::Mono.Unix.Catalog.GetString("Tags"); this.notebook1.SetTabLabel(this.tagsList, this.tagslabel); this.tagslabel.ShowAll(); this.leftbox.Add(this.notebook1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.notebook1])); w8.Position = 0; this.hpaned.Add(this.leftbox); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox])); w9.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 834; // Container child hpaned1.Gtk.Paned+PanedChild this.downbox = new global::Gtk.VBox(); this.downbox.Name = "downbox"; this.downbox.Spacing = 6; // Container child downbox.Gtk.Box+BoxChild this.videowidgetsbox = new global::Gtk.HBox(); this.videowidgetsbox.Name = "videowidgetsbox"; this.videowidgetsbox.Spacing = 6; // Container child videowidgetsbox.Gtk.Box+BoxChild this.drawingtoolbox1 = new global::LongoMatch.Gui.Component.DrawingToolBox(); this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256)); this.drawingtoolbox1.Name = "drawingtoolbox1"; this.videowidgetsbox.Add(this.drawingtoolbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child videowidgetsbox.Gtk.Box+BoxChild this.player = new global::LongoMatch.Gui.PlayerBin(); this.player.Events = ((global::Gdk.EventMask)(256)); this.player.Name = "player"; this.player.Rate = 1F; this.player.ExpandLogo = true; this.videowidgetsbox.Add(this.player); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.player])); w11.Position = 1; // Container child videowidgetsbox.Gtk.Box+BoxChild this.capturer = new global::LongoMatch.Gui.CapturerBin(); this.capturer.Events = ((global::Gdk.EventMask)(256)); this.capturer.Name = "capturer"; this.videowidgetsbox.Add(this.capturer); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.capturer])); w12.Position = 2; this.downbox.Add(this.videowidgetsbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox])); w13.Position = 0; // Container child downbox.Gtk.Box+BoxChild this.buttonswidget = new global::LongoMatch.Gui.Component.ButtonsWidget(); this.buttonswidget.Events = ((global::Gdk.EventMask)(256)); this.buttonswidget.Name = "buttonswidget"; this.downbox.Add(this.buttonswidget); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget])); w14.Position = 1; w14.Expand = false; // Container child downbox.Gtk.Box+BoxChild this.gameunitstaggerwidget1 = new global::LongoMatch.Gui.Component.GameUnitsTagger(); this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256)); this.gameunitstaggerwidget1.Name = "gameunitstaggerwidget1"; this.downbox.Add(this.gameunitstaggerwidget1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1])); w15.Position = 2; w15.Expand = false; this.hpaned1.Add(this.downbox); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox])); w16.Resize = false; w16.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.rightvbox = new global::Gtk.VBox(); this.rightvbox.WidthRequest = 100; this.rightvbox.Name = "rightvbox"; this.rightvbox.Spacing = 6; // Container child rightvbox.Gtk.Box+BoxChild this.notes = new global::LongoMatch.Gui.Component.NotesWidget(); this.notes.Events = ((global::Gdk.EventMask)(256)); this.notes.Name = "notes"; this.rightvbox.Add(this.notes); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.notes])); w17.Position = 0; // Container child rightvbox.Gtk.Box+BoxChild this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget(); this.playlist.WidthRequest = 100; this.playlist.Events = ((global::Gdk.EventMask)(256)); this.playlist.Name = "playlist"; this.rightvbox.Add(this.playlist); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.playlist])); w18.Position = 1; this.hpaned1.Add(this.rightvbox); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.rightvbox])); w19.Resize = false; w19.Shrink = false; this.hpaned.Add(this.hpaned1); global::Gtk.Paned.PanedChild w20 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1])); w20.Resize = false; w20.Shrink = false; this.vbox1.Add(this.hpaned); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned])); w21.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.renderingstatebar1 = new global::LongoMatch.Gui.Component.RenderingStateBar(); this.renderingstatebar1.Events = ((global::Gdk.EventMask)(256)); this.renderingstatebar1.Name = "renderingstatebar1"; this.renderingstatebar1.Fraction = 0; this.statusbar1.Add(this.renderingstatebar1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1224; this.DefaultHeight = 681; this.leftbox.Hide(); this.drawingtoolbox1.Hide(); this.buttonswidget.Hide(); this.notes.Hide(); this.playlist.Hide(); this.rightvbox.Hide(); this.renderingstatebar1.Hide(); this.Show(); this.NewPojectAction.Activated += new global::System.EventHandler(this.OnNewActivated); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActivated); this.FullScreenAction.Toggled += new global::System.EventHandler(this.OnFullScreenActionToggled); this.PlaylistAction.Toggled += new global::System.EventHandler(this.OnPlaylistActionToggled); this.TaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.TimelineViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.HideAllWidgetsAction.Toggled += new global::System.EventHandler(this.OnHideAllWidgetsActionToggled); this.HelpAction1.Activated += new global::System.EventHandler(this.OnHelpAction1Activated); this.DrawingToolAction.Toggled += new global::System.EventHandler(this.OnDrawingToolActionToggled); this.ManualTaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.GameUnitsViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.playsList.TimeNodeSelected += new global::LongoMatch.Handlers.PlaySelectedHandler(this.OnTimeNodeSelected); this.player.Error += new global::LongoMatch.Video.Common.ErrorHandler(this.OnPlayerbin1Error); this.player.SegmentClosedEvent += new global::LongoMatch.Video.Common.SegmentClosedHandler(this.OnSegmentClosedEvent); this.capturer.Error += new global::LongoMatch.Video.Common.ErrorHandler(this.OnCapturerBinError); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.NewPojectAction = new global::Gtk.Action ("NewPojectAction", global::Mono.Unix.Catalog.GetString ("_New Project"), null, "gtk-new"); this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_New Project"); w1.Add (this.NewPojectAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open Project"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open Project"); w1.Add (this.openAction, null); this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.QuitAction, null); this.CloseProjectAction = new global::Gtk.Action ("CloseProjectAction", global::Mono.Unix.Catalog.GetString ("_Close Project"), null, "gtk-close"); this.CloseProjectAction.Sensitive = false; this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Close Project"); w1.Add (this.CloseProjectAction, null); this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::Mono.Unix.Catalog.GetString ("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Tools"); w1.Add (this.ToolsAction, null); this.ProjectsManagerAction = new global::Gtk.Action ("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString ("Projects Manager"), null, null); this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Database Manager"); w1.Add (this.ProjectsManagerAction, null); this.CategoriesTemplatesManagerAction = new global::Gtk.Action ("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString ("Categories Templates Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Templates Manager"); w1.Add (this.CategoriesTemplatesManagerAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View"); w1.Add (this.ViewAction, "<Control>t"); this.FullScreenAction = new global::Gtk.ToggleAction ("FullScreenAction", global::Mono.Unix.Catalog.GetString ("Full Screen"), null, "gtk-fullscreen"); this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Full Screen"); w1.Add (this.FullScreenAction, "<Control><Alt>f"); this.PlaylistAction = new global::Gtk.ToggleAction ("PlaylistAction", global::Mono.Unix.Catalog.GetString ("Playlist"), null, null); this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Playlist"); w1.Add (this.PlaylistAction, "<Control>p"); this.TaggingViewAction = new global::Gtk.RadioAction ("TaggingViewAction", global::Mono.Unix.Catalog.GetString ("Tagging view"), null, null, 0); this.TaggingViewAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.TaggingViewAction.Sensitive = false; this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Capture Mode"); w1.Add (this.TaggingViewAction, "<Control>c"); this.TimelineViewAction = new global::Gtk.RadioAction ("TimelineViewAction", global::Mono.Unix.Catalog.GetString ("Timeline view"), null, null, 0); this.TimelineViewAction.Group = this.TaggingViewAction.Group; this.TimelineViewAction.Sensitive = false; this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Analyze Mode"); w1.Add (this.TimelineViewAction, "<Control>a"); this.SaveProjectAction = new global::Gtk.Action ("SaveProjectAction", global::Mono.Unix.Catalog.GetString ("_Save Project"), null, "gtk-save"); this.SaveProjectAction.Sensitive = false; this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save Project"); w1.Add (this.SaveProjectAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.AboutAction, null); this.ExportProjectToCSVFileAction = new global::Gtk.Action ("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString ("Export Project To CSV File"), null, null); this.ExportProjectToCSVFileAction.Sensitive = false; this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project To CSV File"); this.ExportProjectToCSVFileAction.Visible = false; w1.Add (this.ExportProjectToCSVFileAction, null); this.TeamsTemplatesManagerAction = new global::Gtk.Action ("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString ("Teams Templates Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Teams Templates Manager"); w1.Add (this.TeamsTemplatesManagerAction, null); this.HideAllWidgetsAction = new global::Gtk.ToggleAction ("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString ("Hide All Widgets"), null, null); this.HideAllWidgetsAction.Sensitive = false; this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hide All Widgets"); w1.Add (this.HideAllWidgetsAction, null); this.HelpAction1 = new global::Gtk.Action ("HelpAction1", global::Mono.Unix.Catalog.GetString ("_Help"), null, "gtk-help"); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction1, null); this.DrawingToolAction = new global::Gtk.ToggleAction ("DrawingToolAction", global::Mono.Unix.Catalog.GetString ("_Drawing Tool"), null, null); this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Drawing Tool"); w1.Add (this.DrawingToolAction, "<Control>d"); this.ImportProjectAction = new global::Gtk.Action ("ImportProjectAction", global::Mono.Unix.Catalog.GetString ("_Import Project"), null, "stock-import"); this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Import Project"); w1.Add (this.ImportProjectAction, "<Control>i"); this.ManualTaggingViewAction = new global::Gtk.RadioAction ("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString ("Manual tagging view"), null, null, 0); this.ManualTaggingViewAction.Group = this.TimelineViewAction.Group; this.ManualTaggingViewAction.Sensitive = false; this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Free Capture Mode"); w1.Add (this.ManualTaggingViewAction, "<Control>f"); this.GameUnitsViewAction = new global::Gtk.RadioAction ("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString ("Game units view"), null, null, 0); this.GameUnitsViewAction.Group = this.TimelineViewAction.Group; this.GameUnitsViewAction.Sensitive = false; this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Game units view"); w1.Add (this.GameUnitsViewAction, null); this.ExportProjectAction = new global::Gtk.Action ("ExportProjectAction", global::Mono.Unix.Catalog.GetString ("Export Project"), null, null); this.ExportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project"); w1.Add (this.ExportProjectAction, null); this.ExportProjectAction1 = new global::Gtk.Action ("ExportProjectAction1", global::Mono.Unix.Catalog.GetString ("Export Project"), null, null); this.ExportProjectAction1.Sensitive = false; this.ExportProjectAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project"); w1.Add (this.ExportProjectAction1, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.ExportToProjectFileAction = new global::Gtk.Action ("ExportToProjectFileAction", global::Mono.Unix.Catalog.GetString ("Export to project file"), null, null); this.ExportToProjectFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export to project file"); w1.Add (this.ExportToProjectFileAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "LongoMatch.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("LongoMatch"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child LongoMatch.Gui.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.menubox = new global::Gtk.VBox (); this.menubox.Name = "menubox"; this.menubox.Spacing = 6; // Container child menubox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menu name='ExportProjectAction1' action='ExportProjectAction1'><menuitem name='ExportToProjectFileAction' action='ExportToProjectFileAction'/></menu></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.menubox.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add (this.menubox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned = new global::Gtk.HPaned (); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 161; // Container child hpaned.Gtk.Paned+PanedChild this.leftbox = new global::Gtk.VBox (); this.leftbox.Name = "leftbox"; this.leftbox.Spacing = 6; // Container child leftbox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 3; this.notebook1.TabPos = ((global::Gtk.PositionType)(3)); // Container child notebook1.Gtk.Notebook+NotebookChild this.playsList = new global::LongoMatch.Gui.Component.PlaysListTreeWidget (); this.playsList.Events = ((global::Gdk.EventMask)(256)); this.playsList.Name = "playsList"; this.notebook1.Add (this.playsList); // Notebook tab this.playslabel = new global::Gtk.Label (); this.playslabel.Name = "playslabel"; this.playslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Plays"); this.notebook1.SetTabLabel (this.playsList, this.playslabel); this.playslabel.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.localPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget (); this.localPlayersList.Events = ((global::Gdk.EventMask)(256)); this.localPlayersList.Name = "localPlayersList"; this.notebook1.Add (this.localPlayersList); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.localPlayersList])); w5.Position = 1; // Notebook tab this.localteamlabel = new global::Gtk.Label (); this.localteamlabel.Name = "localteamlabel"; this.localteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Local Team"); this.notebook1.SetTabLabel (this.localPlayersList, this.localteamlabel); this.localteamlabel.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.visitorPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget (); this.visitorPlayersList.Events = ((global::Gdk.EventMask)(256)); this.visitorPlayersList.Name = "visitorPlayersList"; this.notebook1.Add (this.visitorPlayersList); global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.visitorPlayersList])); w6.Position = 2; // Notebook tab this.visitorteamlabel = new global::Gtk.Label (); this.visitorteamlabel.Name = "visitorteamlabel"; this.visitorteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Visitor Team"); this.notebook1.SetTabLabel (this.visitorPlayersList, this.visitorteamlabel); this.visitorteamlabel.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.tagsList = new global::LongoMatch.Gui.Component.TagsTreeWidget (); this.tagsList.Sensitive = false; this.tagsList.Events = ((global::Gdk.EventMask)(256)); this.tagsList.Name = "tagsList"; this.notebook1.Add (this.tagsList); global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.tagsList])); w7.Position = 3; // Notebook tab this.tagslabel = new global::Gtk.Label (); this.tagslabel.Name = "tagslabel"; this.tagslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Tags"); this.notebook1.SetTabLabel (this.tagsList, this.tagslabel); this.tagslabel.ShowAll (); this.leftbox.Add (this.notebook1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.notebook1])); w8.Position = 0; this.hpaned.Add (this.leftbox); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox])); w9.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 952; // Container child hpaned1.Gtk.Paned+PanedChild this.downbox = new global::Gtk.VBox (); this.downbox.Name = "downbox"; this.downbox.Spacing = 6; // Container child downbox.Gtk.Box+BoxChild this.videowidgetsbox = new global::Gtk.HBox (); this.videowidgetsbox.Name = "videowidgetsbox"; this.videowidgetsbox.Spacing = 6; // Container child videowidgetsbox.Gtk.Box+BoxChild this.drawingtoolbox1 = new global::LongoMatch.Gui.Component.DrawingToolBox (); this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256)); this.drawingtoolbox1.Name = "drawingtoolbox1"; this.videowidgetsbox.Add (this.drawingtoolbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child videowidgetsbox.Gtk.Box+BoxChild this.player = new global::LongoMatch.Gui.PlayerBin (); this.player.Events = ((global::Gdk.EventMask)(256)); this.player.Name = "player"; this.player.Rate = 1F; this.player.ExpandLogo = true; this.videowidgetsbox.Add (this.player); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.player])); w11.Position = 1; // Container child videowidgetsbox.Gtk.Box+BoxChild this.capturer = new global::LongoMatch.Gui.CapturerBin (); this.capturer.Events = ((global::Gdk.EventMask)(256)); this.capturer.Name = "capturer"; this.videowidgetsbox.Add (this.capturer); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.capturer])); w12.Position = 2; this.downbox.Add (this.videowidgetsbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox])); w13.Position = 0; // Container child downbox.Gtk.Box+BoxChild this.buttonswidget = new global::LongoMatch.Gui.Component.ButtonsWidget (); this.buttonswidget.Events = ((global::Gdk.EventMask)(256)); this.buttonswidget.Name = "buttonswidget"; this.downbox.Add (this.buttonswidget); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget])); w14.Position = 1; w14.Expand = false; // Container child downbox.Gtk.Box+BoxChild this.gameunitstaggerwidget1 = new global::LongoMatch.Gui.Component.GameUnitsTagger (); this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256)); this.gameunitstaggerwidget1.Name = "gameunitstaggerwidget1"; this.downbox.Add (this.gameunitstaggerwidget1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1])); w15.Position = 2; w15.Expand = false; this.hpaned1.Add (this.downbox); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox])); w16.Resize = false; w16.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.rightvbox = new global::Gtk.VBox (); this.rightvbox.WidthRequest = 100; this.rightvbox.Name = "rightvbox"; this.rightvbox.Spacing = 6; // Container child rightvbox.Gtk.Box+BoxChild this.notes = new global::LongoMatch.Gui.Component.NotesWidget (); this.notes.Events = ((global::Gdk.EventMask)(256)); this.notes.Name = "notes"; this.rightvbox.Add (this.notes); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.notes])); w17.Position = 0; // Container child rightvbox.Gtk.Box+BoxChild this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget (); this.playlist.WidthRequest = 100; this.playlist.Events = ((global::Gdk.EventMask)(256)); this.playlist.Name = "playlist"; this.rightvbox.Add (this.playlist); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.playlist])); w18.Position = 1; this.hpaned1.Add (this.rightvbox); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.rightvbox])); w19.Resize = false; w19.Shrink = false; this.hpaned.Add (this.hpaned1); global::Gtk.Paned.PanedChild w20 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1])); w20.Resize = false; w20.Shrink = false; this.vbox1.Add (this.hpaned); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned])); w21.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.renderingstatebar1 = new global::LongoMatch.Gui.Component.RenderingStateBar (); this.renderingstatebar1.Events = ((global::Gdk.EventMask)(256)); this.renderingstatebar1.Name = "renderingstatebar1"; this.renderingstatebar1.Fraction = 0; this.statusbar1.Add (this.renderingstatebar1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1342; this.DefaultHeight = 686; this.leftbox.Hide (); this.drawingtoolbox1.Hide (); this.buttonswidget.Hide (); this.notes.Hide (); this.playlist.Hide (); this.rightvbox.Hide (); this.renderingstatebar1.Hide (); this.Show (); this.NewPojectAction.Activated += new global::System.EventHandler (this.OnNewActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActivated); this.FullScreenAction.Toggled += new global::System.EventHandler (this.OnFullScreenActionToggled); this.PlaylistAction.Toggled += new global::System.EventHandler (this.OnPlaylistActionToggled); this.TaggingViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled); this.TimelineViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.HideAllWidgetsAction.Toggled += new global::System.EventHandler (this.OnHideAllWidgetsActionToggled); this.HelpAction1.Activated += new global::System.EventHandler (this.OnHelpAction1Activated); this.DrawingToolAction.Toggled += new global::System.EventHandler (this.OnDrawingToolActionToggled); this.ManualTaggingViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled); this.GameUnitsViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled); this.playsList.TimeNodeSelected += new global::LongoMatch.Handlers.PlaySelectedHandler (this.OnTimeNodeSelected); this.player.Error += new global::LongoMatch.Handlers.ErrorHandler (this.OnPlayerbin1Error); this.player.SegmentClosedEvent += new global::LongoMatch.Handlers.SegmentClosedHandler (this.OnSegmentClosedEvent); this.capturer.Error += new global::LongoMatch.Handlers.ErrorHandler (this.OnCapturerBinError); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.NewPojectAction = new global::Gtk.Action("NewPojectAction", global::Mono.Unix.Catalog.GetString("_New Project"), null, "gtk-new"); this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New Project"); w1.Add(this.NewPojectAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open Project"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Project"); w1.Add(this.openAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, null); this.CloseProjectAction = new global::Gtk.Action("CloseProjectAction", global::Mono.Unix.Catalog.GetString("_Close Project"), null, "gtk-close"); this.CloseProjectAction.Sensitive = false; this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close Project"); w1.Add(this.CloseProjectAction, null); this.ToolsAction = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools"); w1.Add(this.ToolsAction, null); this.ProjectsManagerAction = new global::Gtk.Action("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString("Projects Manager"), null, null); this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Database Manager"); w1.Add(this.ProjectsManagerAction, null); this.CategoriesTemplatesManagerAction = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Categories Templates Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Templates Manager"); w1.Add(this.CategoriesTemplatesManagerAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.ViewAction, "<Control>t"); this.FullScreenAction = new global::Gtk.ToggleAction("FullScreenAction", global::Mono.Unix.Catalog.GetString("Full Screen"), null, "gtk-fullscreen"); this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Full Screen"); w1.Add(this.FullScreenAction, "<Control><Alt>f"); this.PlaylistAction = new global::Gtk.ToggleAction("PlaylistAction", global::Mono.Unix.Catalog.GetString("Playlist"), null, null); this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Playlist"); w1.Add(this.PlaylistAction, "<Control>p"); this.TaggingViewAction = new global::Gtk.RadioAction("TaggingViewAction", global::Mono.Unix.Catalog.GetString("Tagging view"), null, null, 0); this.TaggingViewAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.TaggingViewAction.Sensitive = false; this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture Mode"); w1.Add(this.TaggingViewAction, "<Control>c"); this.TimelineViewAction = new global::Gtk.RadioAction("TimelineViewAction", global::Mono.Unix.Catalog.GetString("Timeline view"), null, null, 0); this.TimelineViewAction.Group = this.TaggingViewAction.Group; this.TimelineViewAction.Sensitive = false; this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Analyze Mode"); w1.Add(this.TimelineViewAction, "<Control>a"); this.SaveProjectAction = new global::Gtk.Action("SaveProjectAction", global::Mono.Unix.Catalog.GetString("_Save Project"), null, "gtk-save"); this.SaveProjectAction.Sensitive = false; this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save Project"); w1.Add(this.SaveProjectAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.AboutAction, null); this.ExportProjectToCSVFileAction = new global::Gtk.Action("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString("Export Project To CSV File"), null, null); this.ExportProjectToCSVFileAction.Sensitive = false; this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project To CSV File"); this.ExportProjectToCSVFileAction.Visible = false; w1.Add(this.ExportProjectToCSVFileAction, null); this.TeamsTemplatesManagerAction = new global::Gtk.Action("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Teams Templates Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Teams Templates Manager"); w1.Add(this.TeamsTemplatesManagerAction, null); this.HideAllWidgetsAction = new global::Gtk.ToggleAction("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString("Hide All Widgets"), null, null); this.HideAllWidgetsAction.Sensitive = false; this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hide All Widgets"); w1.Add(this.HideAllWidgetsAction, null); this.HelpAction1 = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help"); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction1, null); this.DrawingToolAction = new global::Gtk.ToggleAction("DrawingToolAction", global::Mono.Unix.Catalog.GetString("_Drawing Tool"), null, null); this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drawing Tool"); w1.Add(this.DrawingToolAction, "<Control>d"); this.ImportProjectAction = new global::Gtk.Action("ImportProjectAction", global::Mono.Unix.Catalog.GetString("_Import Project"), null, "stock-import"); this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import Project"); w1.Add(this.ImportProjectAction, "<Control>i"); this.ManualTaggingViewAction = new global::Gtk.RadioAction("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString("Manual tagging view"), null, null, 0); this.ManualTaggingViewAction.Group = this.TaggingViewAction.Group; this.ManualTaggingViewAction.Sensitive = false; this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Free Capture Mode"); w1.Add(this.ManualTaggingViewAction, "<Control>f"); this.GameUnitsViewAction = new global::Gtk.RadioAction("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString("Game units view"), null, null, 0); this.GameUnitsViewAction.Group = this.TaggingViewAction.Group; this.GameUnitsViewAction.Sensitive = false; this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game units view"); w1.Add(this.GameUnitsViewAction, null); this.ExportProjectAction = new global::Gtk.Action("ExportProjectAction", global::Mono.Unix.Catalog.GetString("Export Project"), null, null); this.ExportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project"); w1.Add(this.ExportProjectAction, null); this.ExportProjectAction1 = new global::Gtk.Action("ExportProjectAction1", global::Mono.Unix.Catalog.GetString("Export Project"), null, null); this.ExportProjectAction1.Sensitive = false; this.ExportProjectAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project"); w1.Add(this.ExportProjectAction1, null); this.Action = new global::Gtk.Action("Action", null, null, null); w1.Add(this.Action, null); this.ExportToProjectFileAction = new global::Gtk.Action("ExportToProjectFileAction", global::Mono.Unix.Catalog.GetString("Export to project file"), null, null); this.ExportToProjectFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export to project file"); w1.Add(this.ExportToProjectFileAction, null); this.dialogInfoAction = new global::Gtk.Action("dialogInfoAction", global::Mono.Unix.Catalog.GetString("Shortcuts"), null, "gtk-dialog-info"); this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Shortcuts"); w1.Add(this.dialogInfoAction, null); this.ImportFromFileAction = new global::Gtk.Action("ImportFromFileAction", global::Mono.Unix.Catalog.GetString("Import from file"), null, null); this.ImportFromFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Import from file"); w1.Add(this.ImportFromFileAction, null); this.TagSubcategoriesAction = new global::Gtk.ToggleAction("TagSubcategoriesAction", global::Mono.Unix.Catalog.GetString("Tag subcategories"), null, null); this.TagSubcategoriesAction.Active = true; this.TagSubcategoriesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tag subcategories"); w1.Add(this.TagSubcategoriesAction, null); this.VideoConverterToolAction = new global::Gtk.Action("VideoConverterToolAction", global::Mono.Unix.Catalog.GetString("Video Converter Tool"), null, null); this.VideoConverterToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Video Converter Tool"); w1.Add(this.VideoConverterToolAction, null); this.DatabasesManagerAction = new global::Gtk.Action("DatabasesManagerAction", global::Mono.Unix.Catalog.GetString("Databases Manager"), null, null); this.DatabasesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Databases Manager"); w1.Add(this.DatabasesManagerAction, null); this.PreferencesAction = new global::Gtk.Action("PreferencesAction", global::Mono.Unix.Catalog.GetString("Preferences"), null, null); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Preferences"); w1.Add(this.PreferencesAction, null); this.ShowProjectStatsAction = new global::Gtk.Action("ShowProjectStatsAction", global::Mono.Unix.Catalog.GetString("Show project stats"), null, null); this.ShowProjectStatsAction.Sensitive = false; this.ShowProjectStatsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show project stats"); w1.Add(this.ShowProjectStatsAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "LongoMatch.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("LongoMatch"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child LongoMatch.Gui.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.menubox = new global::Gtk.VBox(); this.menubox.Name = "menubox"; this.menubox.Spacing = 6; // Container child menubox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menu name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='DatabasesManagerAction' action='DatabasesManagerAction'/><separator/><menuitem name='ShowProjectStatsAction' action='ShowProjectStatsAction'/><menu name='ExportProjectAction1' action='ExportProjectAction1'><menuitem name='ExportToProjectFileAction' action='ExportToProjectFileAction'/></menu><separator/><menuitem name='VideoConverterToolAction' action='VideoConverterToolAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TagSubcategoriesAction' action='TagSubcategoriesAction'/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/><menuitem name='dialogInfoAction' action='dialogInfoAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.menubox.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.menubox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned = new global::Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 243; // Container child hpaned.Gtk.Paned+PanedChild this.leftbox = new global::Gtk.VBox(); this.leftbox.Name = "leftbox"; this.leftbox.Spacing = 6; // Container child leftbox.Gtk.Box+BoxChild this.playsSelection = new global::LongoMatch.Gui.Component.PlaysSelectionWidget(); this.playsSelection.Events = ((global::Gdk.EventMask)(256)); this.playsSelection.Name = "playsSelection"; this.leftbox.Add(this.playsSelection); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.playsSelection])); w4.Position = 0; this.hpaned.Add(this.leftbox); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox])); w5.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 952; // Container child hpaned1.Gtk.Paned+PanedChild this.downbox = new global::Gtk.VBox(); this.downbox.Name = "downbox"; this.downbox.Spacing = 6; // Container child downbox.Gtk.Box+BoxChild this.videowidgetsbox = new global::Gtk.HBox(); this.videowidgetsbox.Name = "videowidgetsbox"; this.videowidgetsbox.Spacing = 6; // Container child videowidgetsbox.Gtk.Box+BoxChild this.drawingtoolbox1 = new global::LongoMatch.Gui.Component.DrawingToolBox(); this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256)); this.drawingtoolbox1.Name = "drawingtoolbox1"; this.videowidgetsbox.Add(this.drawingtoolbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child videowidgetsbox.Gtk.Box+BoxChild this.playercapturer = new global::LongoMatch.Gui.PlayerCapturerBin(); this.playercapturer.Events = ((global::Gdk.EventMask)(256)); this.playercapturer.Name = "playercapturer"; this.playercapturer.Detached = false; this.playercapturer.ExpandLogo = false; this.playercapturer.Rate = 0F; this.videowidgetsbox.Add(this.playercapturer); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.playercapturer])); w7.Position = 1; this.downbox.Add(this.videowidgetsbox); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox])); w8.Position = 0; // Container child downbox.Gtk.Box+BoxChild this.buttonswidget = new global::LongoMatch.Gui.Component.ButtonsWidget(); this.buttonswidget.Events = ((global::Gdk.EventMask)(256)); this.buttonswidget.Name = "buttonswidget"; this.downbox.Add(this.buttonswidget); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget])); w9.Position = 1; w9.Expand = false; // Container child downbox.Gtk.Box+BoxChild this.gameunitstaggerwidget1 = new global::LongoMatch.Gui.Component.GameUnitsTagger(); this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256)); this.gameunitstaggerwidget1.Name = "gameunitstaggerwidget1"; this.downbox.Add(this.gameunitstaggerwidget1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1])); w10.Position = 2; w10.Expand = false; this.hpaned1.Add(this.downbox); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox])); w11.Resize = false; w11.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.righthbox = new global::Gtk.HBox(); this.righthbox.WidthRequest = 100; this.righthbox.Name = "righthbox"; this.righthbox.Spacing = 6; // Container child righthbox.Gtk.Box+BoxChild this.tagsvbox = new global::Gtk.VBox(); this.tagsvbox.WidthRequest = 100; this.tagsvbox.Name = "tagsvbox"; this.tagsvbox.Spacing = 6; // Container child tagsvbox.Gtk.Box+BoxChild this.postagger = new global::LongoMatch.Gui.Component.PlaysCoordinatesTagger(); this.postagger.Events = ((global::Gdk.EventMask)(256)); this.postagger.Name = "postagger"; this.tagsvbox.Add(this.postagger); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.tagsvbox [this.postagger])); w12.Position = 0; // Container child tagsvbox.Gtk.Box+BoxChild this.notesframe = new global::Gtk.Frame(); this.notesframe.Name = "notesframe"; this.notesframe.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child notesframe.Gtk.Container+ContainerChild this.GtkAlignment22 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment22.Name = "GtkAlignment22"; this.GtkAlignment22.LeftPadding = ((uint)(12)); // Container child GtkAlignment22.Gtk.Container+ContainerChild this.notes = new global::LongoMatch.Gui.Component.NotesWidget(); this.notes.Events = ((global::Gdk.EventMask)(256)); this.notes.Name = "notes"; this.GtkAlignment22.Add(this.notes); this.notesframe.Add(this.GtkAlignment22); this.GtkLabel31 = new global::Gtk.Label(); this.GtkLabel31.Name = "GtkLabel31"; this.GtkLabel31.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Notes</b>"); this.GtkLabel31.UseMarkup = true; this.notesframe.LabelWidget = this.GtkLabel31; this.tagsvbox.Add(this.notesframe); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.tagsvbox [this.notesframe])); w15.Position = 1; this.righthbox.Add(this.tagsvbox); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.righthbox [this.tagsvbox])); w16.Position = 0; // Container child righthbox.Gtk.Box+BoxChild this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget(); this.playlist.WidthRequest = 100; this.playlist.Events = ((global::Gdk.EventMask)(256)); this.playlist.Name = "playlist"; this.righthbox.Add(this.playlist); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.righthbox [this.playlist])); w17.Position = 1; this.hpaned1.Add(this.righthbox); global::Gtk.Paned.PanedChild w18 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.righthbox])); w18.Resize = false; w18.Shrink = false; this.hpaned.Add(this.hpaned1); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1])); w19.Shrink = false; this.vbox1.Add(this.hpaned); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned])); w20.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.renderingstatebar1 = new global::LongoMatch.Gui.Component.RenderingStateBar(); this.renderingstatebar1.Events = ((global::Gdk.EventMask)(256)); this.renderingstatebar1.Name = "renderingstatebar1"; this.renderingstatebar1.Fraction = 0; this.statusbar1.Add(this.renderingstatebar1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1])); w21.Position = 2; w21.Expand = false; w21.Fill = false; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1503; this.DefaultHeight = 686; this.leftbox.Hide(); this.drawingtoolbox1.Hide(); this.buttonswidget.Hide(); this.tagsvbox.Hide(); this.playlist.Hide(); this.righthbox.Hide(); this.renderingstatebar1.Hide(); this.Show(); this.NewPojectAction.Activated += new global::System.EventHandler(this.OnNewActivated); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActivated); this.FullScreenAction.Toggled += new global::System.EventHandler(this.OnFullScreenActionToggled); this.PlaylistAction.Toggled += new global::System.EventHandler(this.OnPlaylistActionToggled); this.TaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.TimelineViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.HideAllWidgetsAction.Toggled += new global::System.EventHandler(this.OnHideAllWidgetsActionToggled); this.HelpAction1.Activated += new global::System.EventHandler(this.OnHelpAction1Activated); this.DrawingToolAction.Toggled += new global::System.EventHandler(this.OnDrawingToolActionToggled); this.ManualTaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.GameUnitsViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.dialogInfoAction.Activated += new global::System.EventHandler(this.OnDialogInfoActionActivated); this.TagSubcategoriesAction.Toggled += new global::System.EventHandler(this.OnTagSubcategoriesActionToggled); this.VideoConverterToolAction.Activated += new global::System.EventHandler(this.OnVideoConverterToolActionActivated); }