From: <nic...@us...> - 2013-11-07 20:26:06
|
Revision: 4671 http://sourceforge.net/p/mp-plugins/code/4671 Author: nicsergio Date: 2013-11-07 20:26:03 +0000 (Thu, 07 Nov 2013) Log Message: ----------- Modified Paths: -------------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-11-07 16:35:13 UTC (rev 4670) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-11-07 20:26:03 UTC (rev 4671) @@ -312,7 +312,7 @@ this.multiImageComboBox.FormattingEnabled = true; this.multiImageComboBox.Location = new System.Drawing.Point(98, 42); this.multiImageComboBox.Name = "multiImageComboBox"; - this.multiImageComboBox.Size = new System.Drawing.Size(220, 21); + this.multiImageComboBox.Size = new System.Drawing.Size(164, 21); this.multiImageComboBox.TabIndex = 10; this.multiImageComboBox.TextChanged += new System.EventHandler(this.multiImageComboBox_TextChanged); // @@ -374,7 +374,6 @@ this.multiImageBrowseButton.TabIndex = 11; this.multiImageBrowseButton.Text = "Browse"; this.multiImageBrowseButton.UseVisualStyleBackColor = true; - this.multiImageBrowseButton.Visible = false; this.multiImageBrowseButton.Click += new System.EventHandler(this.multiImageBrowseButton_Click); // // singleImageBrowseButton Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-11-07 16:35:13 UTC (rev 4670) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-11-07 20:26:03 UTC (rev 4671) @@ -17,7 +17,6 @@ { #region Dati private const string SkinName = "Xtreme"; //Nome della skin - private const string SkinMenuFile = "SkinSettings.xml"; //Nome del file delle impostazioni della skin private const int MenuItemsMinNum = 5; //Numero minimo elementi di menu private const int MenuItemsMaxNum = 10; //Numero massimo elementi di menu private const int SubMenuItemsMaxNum = 5; //Numero massimo elementi di sotto-menu @@ -240,7 +239,7 @@ singleImageComboBox.Enabled = singleImageRadioButton.Checked; singleImageBrowseButton.Enabled = singleImageRadioButton.Checked; multiImageComboBox.Enabled = multiImageRadioButton.Checked; - //multiImageBrowseButton.Enabled = multiImageRadioButton.Checked; //Problemi skin engine: disabilitata impostazione cartelle esterne per multi-image + multiImageBrowseButton.Enabled = multiImageRadioButton.Checked; fanartComboBox.Enabled = fanartRadioButton.Checked; } private void ShowBackgroundImage() //Visualizzazione immagine(i) di sfondo selezionata per l'elemento @@ -454,7 +453,7 @@ myMenu.EditorCreateBackup = createBackupCheckBox.Checked; myMenu.SaveMenu(myMediaPortal.SelectedSkin.CachePath, - myMediaPortal.SelectedSkin.SkinPath + SkinMenuFile); //--> salvataggio & creazione (con eventuale cancellazione cache) + myMediaPortal.SelectedSkin.SkinPath); //--> salvataggio & creazione (con eventuale cancellazione cache) } private void ShowInfo() //Visualizzazione informazioni versione { Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs 2013-11-07 16:35:13 UTC (rev 4670) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs 2013-11-07 20:26:03 UTC (rev 4671) @@ -196,8 +196,11 @@ userMenu.Close(); //--> eventuale chiusura oggetto FileStream } } - private bool SetMenu(string skinMenuFile) //Attivazione menu skin + private bool WriteSkinSettings(string skinPath) //Scrittura impostazioni skin { + const string SkinSettingsFile = "SkinSettings.xml"; //Nome del file delle impostazioni della skin [SkinEngine MediaPortal] + + string skinMenuFile = skinPath + SkinSettingsFile; if (!File.Exists(skinMenuFile)) { Tools.ErrorMessage("Skin settings file not found!", skinMenuFile); @@ -243,7 +246,7 @@ XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.BackgroundAnimated", Convert.ToInt16(_general.BackgroundAnimated).ToString()); XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.DefaultItemIndex", "1"); //(_general.DefaultItemIndex + 1).ToString()); - /* Problema nello skin engine: non si riesce a specifica l'elemento di default in maniera parametrica: viene quindi fissato il primo + /* Problema nello skin engine: non si riesce a specificare l'elemento di default in maniera parametrica: viene quindi fissato il primo e si shiftano tutti gli elementi fino a portare al primo posto quello selezionato */ int itemIndex = _general.DefaultItemIndex; XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.Items.Count", _items.Count.ToString()); @@ -289,6 +292,56 @@ skinSettings.Close(); //--> eventuale chiusura oggetto FileStream } } + private bool WriteSkinMultiImages(string skinPath) //Scrittura controlli multi-image skin + { + //Questa procedura si è resa necessaria per limitazioni dello skin engine: non si riesce ad assegnare un path parametrico ai controlli multi-image + + const string SkinMltImgAnimFile = "BasicHomeBackgrounds.MultiImages.animated.xml"; //Nome del file di definizione controlli multi-image animati della skin + const string SkinMltImgNormFile = "BasicHomeBackgrounds.MultiImages.normal.xml"; //Nome del file di definizione controlli multi-image normali della skin + + string skinMltImgFile = skinPath + (_general.BackgroundAnimated ? SkinMltImgAnimFile : SkinMltImgNormFile); + if (!File.Exists(skinMltImgFile)) + { + Tools.ErrorMessage("Skin multi-image file not found!", skinMltImgFile); + return false; //--> file di definizione controlli multi-image skin non trovato + } + + FileStream mltImg = null; + try + { + XmlDocument xmlMltImg = new XmlDocument(); + mltImg = new FileStream(skinMltImgFile, FileMode.Open, FileAccess.Read); + xmlMltImg.Load(mltImg); //--> lettura file di definizione controlli multi-image skin + mltImg.Close(); //--> chiusura file + + XmlNodeList controlsList = xmlMltImg.DocumentElement.SelectNodes("/window/controls/control"); + if (controlsList.Count != ItemsMaxNum) + { + Tools.ErrorMessage("Skin multi-image file not valid!", skinMltImgFile); + return false; //--> file di definizione controlli multi-image skin non valido + } + + /* Problema nello skin engine: non si riesce a specificare l'elemento di default in maniera parametrica: viene quindi fissato il primo + e si shiftano tutti gli elementi fino a portare al primo posto quello selezionato */ + for (int i = 0; i < controlsList.Count; i++) //Iterazione di modifica path controlli multi-image + controlsList[i].SelectSingleNode("imagepath").InnerText = ((i < _items.Count) ? _items[(i + _general.DefaultItemIndex) % _items.Count].BackgroundFolder : ""); + + mltImg = new FileStream(skinMltImgFile, FileMode.Truncate, FileAccess.Write, FileShare.ReadWrite); + xmlMltImg.Save(mltImg); //--> salvataggio file di definizione controlli multi-image skin manipolato + mltImg.Close(); //--> chiusura file + return true; //--> procedura terminata correttamente + } + catch (Exception e) + { + Tools.ErrorMessage("Error writing multi-image settings.", e.Message); + return false; //--> procedura terminata con errori + } + finally + { + if (mltImg != null) + mltImg.Close(); //--> eventuale chiusura oggetto FileStream + } + } private void XmlAddMenuSetting(ref XmlDocument xmlSkinSettings, string nodeName, int menuSectionIndex, string nameData, string valueData) { //Aggiunta scrittura impostazione di menu XmlElement menuSetting = xmlSkinSettings.CreateElement("entry"); @@ -301,7 +354,7 @@ #endregion #region Metodi Pubblici - public bool SaveMenu(string skinCachePath, string skinMenuFile) //Salvataggio impostazioni di menu (e successiva attivazione nella cartella della skin) + public bool SaveMenu(string skinCachePath, string skinPath) //Salvataggio impostazioni di menu (e successiva attivazione nella cartella della skin) { if (_items.Count < ItemsMinNum) //Controllo della validità del menu { @@ -383,7 +436,7 @@ if (menuSettings != null) menuSettings.Close(); //--> eventuale chiusura oggetto XmlWriter } - if (SetMenu(skinMenuFile)) //--> attivazione menu skin + if (WriteSkinSettings(skinPath) && WriteSkinMultiImages(skinPath)) //--> scrittura impostazioni e controlli multi-image skin { Tools.InfoMessage("Procedure completed successfully."); return true; //--> procedura terminata correttamente Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj 2013-11-07 16:35:13 UTC (rev 4670) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj 2013-11-07 20:26:03 UTC (rev 4671) @@ -6,7 +6,7 @@ <ProductVersion>8.0.30703</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{350D17A6-0F6B-43C4-898F-33CC68EBCD75}</ProjectGuid> - <OutputType>Library</OutputType> + <OutputType>WinExe</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>ProcessPlugins.XtremeMenuEditor</RootNamespace> <AssemblyName>XtremeMenuEditor</AssemblyName> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nic...@us...> - 2013-11-09 09:54:40
|
Revision: 4672 http://sourceforge.net/p/mp-plugins/code/4672 Author: nicsergio Date: 2013-11-09 09:54:37 +0000 (Sat, 09 Nov 2013) Log Message: ----------- Modified Paths: -------------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/AssemblyInfo.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.resx trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/XmlFiles/DefaultMenu.xml trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj Added Paths: ----------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/BackgroundError.png trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/IconError.png Removed Paths: ------------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/Error.png Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-11-07 20:26:03 UTC (rev 4671) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-11-09 09:54:37 UTC (rev 4672) @@ -39,6 +39,10 @@ this.singleImageOpenFileDialog = new System.Windows.Forms.OpenFileDialog(); this.propertiesPanel = new System.Windows.Forms.Panel(); this.propertiesGroupBox = new System.Windows.Forms.GroupBox(); + this.iconGroupBox = new System.Windows.Forms.GroupBox(); + this.iconPictureBox = new System.Windows.Forms.PictureBox(); + this.iconComboBox = new System.Windows.Forms.ComboBox(); + this.iconBrowseButton = new System.Windows.Forms.Button(); this.loadParameterTextBox = new System.Windows.Forms.TextBox(); this.windowIdShowLabel = new System.Windows.Forms.Label(); this.skinFileShowLabel = new System.Windows.Forms.Label(); @@ -69,6 +73,10 @@ this.clearCacheCheckBox = new System.Windows.Forms.CheckBox(); this.saveButton = new System.Windows.Forms.Button(); this.generalGroupBox = new System.Windows.Forms.GroupBox(); + this.multiImageTimeGroupBox = new System.Windows.Forms.GroupBox(); + this.multiImageTimeSecLabel = new System.Windows.Forms.Label(); + this.multiIMageTimeLabel = new System.Windows.Forms.Label(); + this.multiImageTimeTrackBar = new System.Windows.Forms.TrackBar(); this.defaultMenuItemGroupBox = new System.Windows.Forms.GroupBox(); this.defaultMenuItemComboBox = new System.Windows.Forms.ComboBox(); this.backgroundAnimatedCheckBox = new System.Windows.Forms.CheckBox(); @@ -93,11 +101,15 @@ this.menuRowEditButton = new System.Windows.Forms.Button(); this.subMenuRowEditButton = new System.Windows.Forms.Button(); this.arrowsPictureBox = new System.Windows.Forms.PictureBox(); + this.iconOpenFileDialog = new System.Windows.Forms.OpenFileDialog(); + this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.itemsTabControl.SuspendLayout(); this.linksTabPage.SuspendLayout(); this.skinTabPage.SuspendLayout(); this.propertiesPanel.SuspendLayout(); this.propertiesGroupBox.SuspendLayout(); + this.iconGroupBox.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).BeginInit(); this.backgroundGroupBox.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fanartHandlerPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).BeginInit(); @@ -105,6 +117,8 @@ this.menuPanel.SuspendLayout(); this.creationGroupBox.SuspendLayout(); this.generalGroupBox.SuspendLayout(); + this.multiImageTimeGroupBox.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.multiImageTimeTrackBar)).BeginInit(); this.defaultMenuItemGroupBox.SuspendLayout(); this.subMenuGroupBox.SuspendLayout(); this.menuGroupBox.SuspendLayout(); @@ -123,7 +137,7 @@ this.itemsTabControl.Location = new System.Drawing.Point(12, 12); this.itemsTabControl.Name = "itemsTabControl"; this.itemsTabControl.SelectedIndex = 0; - this.itemsTabControl.Size = new System.Drawing.Size(247, 468); + this.itemsTabControl.Size = new System.Drawing.Size(247, 573); this.itemsTabControl.TabIndex = 0; this.itemsTabControl.SelectedIndexChanged += new System.EventHandler(this.itemsTabControl_SelectedIndexChanged); this.itemsTabControl.Click += new System.EventHandler(this.itemsTabControl_Click); @@ -134,7 +148,7 @@ this.linksTabPage.Location = new System.Drawing.Point(4, 22); this.linksTabPage.Name = "linksTabPage"; this.linksTabPage.Padding = new System.Windows.Forms.Padding(3); - this.linksTabPage.Size = new System.Drawing.Size(239, 442); + this.linksTabPage.Size = new System.Drawing.Size(239, 547); this.linksTabPage.TabIndex = 0; this.linksTabPage.Text = "Default Links"; this.linksTabPage.UseVisualStyleBackColor = true; @@ -146,7 +160,7 @@ this.skinLinksTreeView.HideSelection = false; this.skinLinksTreeView.Location = new System.Drawing.Point(1, 5); this.skinLinksTreeView.Name = "skinLinksTreeView"; - this.skinLinksTreeView.Size = new System.Drawing.Size(235, 433); + this.skinLinksTreeView.Size = new System.Drawing.Size(235, 538); this.skinLinksTreeView.TabIndex = 1; this.skinLinksTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.skinLinksTreeView_AfterSelect); this.skinLinksTreeView.Enter += new System.EventHandler(this.skinLinksTreeView_Enter); @@ -157,7 +171,7 @@ this.skinTabPage.Location = new System.Drawing.Point(4, 22); this.skinTabPage.Name = "skinTabPage"; this.skinTabPage.Padding = new System.Windows.Forms.Padding(3); - this.skinTabPage.Size = new System.Drawing.Size(239, 442); + this.skinTabPage.Size = new System.Drawing.Size(239, 547); this.skinTabPage.TabIndex = 1; this.skinTabPage.Text = "Skin Files"; this.skinTabPage.UseVisualStyleBackColor = true; @@ -168,7 +182,7 @@ this.skinFilesListBox.FormattingEnabled = true; this.skinFilesListBox.Location = new System.Drawing.Point(1, 5); this.skinFilesListBox.Name = "skinFilesListBox"; - this.skinFilesListBox.Size = new System.Drawing.Size(235, 433); + this.skinFilesListBox.Size = new System.Drawing.Size(235, 537); this.skinFilesListBox.TabIndex = 0; this.skinFilesListBox.SelectedIndexChanged += new System.EventHandler(this.skinFilesListBox_SelectedIndexChanged); this.skinFilesListBox.Enter += new System.EventHandler(this.skinFilesListBox_Enter); @@ -190,12 +204,13 @@ this.propertiesPanel.Controls.Add(this.propertiesGroupBox); this.propertiesPanel.Location = new System.Drawing.Point(294, 12); this.propertiesPanel.Name = "propertiesPanel"; - this.propertiesPanel.Size = new System.Drawing.Size(342, 468); + this.propertiesPanel.Size = new System.Drawing.Size(342, 573); this.propertiesPanel.TabIndex = 21; // // propertiesGroupBox // this.propertiesGroupBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.propertiesGroupBox.Controls.Add(this.iconGroupBox); this.propertiesGroupBox.Controls.Add(this.loadParameterTextBox); this.propertiesGroupBox.Controls.Add(this.windowIdShowLabel); this.propertiesGroupBox.Controls.Add(this.skinFileShowLabel); @@ -211,11 +226,55 @@ this.propertiesGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.propertiesGroupBox.Location = new System.Drawing.Point(1, 3); this.propertiesGroupBox.Name = "propertiesGroupBox"; - this.propertiesGroupBox.Size = new System.Drawing.Size(336, 456); + this.propertiesGroupBox.Size = new System.Drawing.Size(336, 562); this.propertiesGroupBox.TabIndex = 2; this.propertiesGroupBox.TabStop = false; this.propertiesGroupBox.Text = "Item Properties"; // + // iconGroupBox + // + this.iconGroupBox.Controls.Add(this.iconPictureBox); + this.iconGroupBox.Controls.Add(this.iconComboBox); + this.iconGroupBox.Controls.Add(this.iconBrowseButton); + this.iconGroupBox.Location = new System.Drawing.Point(6, 394); + this.iconGroupBox.Name = "iconGroupBox"; + this.iconGroupBox.Size = new System.Drawing.Size(324, 94); + this.iconGroupBox.TabIndex = 15; + this.iconGroupBox.TabStop = false; + this.iconGroupBox.Text = "Icon"; + // + // iconPictureBox + // + this.iconPictureBox.BackColor = System.Drawing.Color.Transparent; + this.iconPictureBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.iconPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.IconError; + this.iconPictureBox.Location = new System.Drawing.Point(9, 22); + this.iconPictureBox.Name = "iconPictureBox"; + this.iconPictureBox.Size = new System.Drawing.Size(64, 64); + this.iconPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.iconPictureBox.TabIndex = 32; + this.iconPictureBox.TabStop = false; + this.iconPictureBox.Visible = false; + // + // iconComboBox + // + this.iconComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.iconComboBox.FormattingEnabled = true; + this.iconComboBox.Location = new System.Drawing.Point(97, 44); + this.iconComboBox.Name = "iconComboBox"; + this.iconComboBox.Size = new System.Drawing.Size(164, 21); + this.iconComboBox.TabIndex = 17; + // + // iconBrowseButton + // + this.iconBrowseButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.iconBrowseButton.Location = new System.Drawing.Point(267, 43); + this.iconBrowseButton.Name = "iconBrowseButton"; + this.iconBrowseButton.Size = new System.Drawing.Size(51, 23); + this.iconBrowseButton.TabIndex = 16; + this.iconBrowseButton.Text = "Browse"; + this.iconBrowseButton.UseVisualStyleBackColor = true; + // // loadParameterTextBox // this.loadParameterTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -287,7 +346,7 @@ // // backgroundPictureBox // - this.backgroundPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.Error; + this.backgroundPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.BackgroundError; this.backgroundPictureBox.Location = new System.Drawing.Point(42, 93); this.backgroundPictureBox.Name = "backgroundPictureBox"; this.backgroundPictureBox.Size = new System.Drawing.Size(240, 135); @@ -391,7 +450,7 @@ // this.overlayGroupBox.Controls.Add(this.overlayLabel); this.overlayGroupBox.Controls.Add(this.overlayComboBox); - this.overlayGroupBox.Location = new System.Drawing.Point(6, 390); + this.overlayGroupBox.Location = new System.Drawing.Point(6, 494); this.overlayGroupBox.Name = "overlayGroupBox"; this.overlayGroupBox.Size = new System.Drawing.Size(324, 60); this.overlayGroupBox.TabIndex = 14; @@ -494,7 +553,7 @@ this.menuPanel.Controls.Add(this.subMenuArrowPictureBox); this.menuPanel.Location = new System.Drawing.Point(676, 90); this.menuPanel.Name = "menuPanel"; - this.menuPanel.Size = new System.Drawing.Size(330, 390); + this.menuPanel.Size = new System.Drawing.Size(330, 495); this.menuPanel.TabIndex = 24; // // creationGroupBox @@ -503,9 +562,9 @@ this.creationGroupBox.Controls.Add(this.clearCacheCheckBox); this.creationGroupBox.Controls.Add(this.saveButton); this.creationGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.creationGroupBox.Location = new System.Drawing.Point(3, 315); + this.creationGroupBox.Location = new System.Drawing.Point(3, 419); this.creationGroupBox.Name = "creationGroupBox"; - this.creationGroupBox.Size = new System.Drawing.Size(322, 66); + this.creationGroupBox.Size = new System.Drawing.Size(322, 68); this.creationGroupBox.TabIndex = 25; this.creationGroupBox.TabStop = false; this.creationGroupBox.Text = "Custom Menu Creation"; @@ -546,22 +605,69 @@ // // generalGroupBox // + this.generalGroupBox.Controls.Add(this.multiImageTimeGroupBox); this.generalGroupBox.Controls.Add(this.defaultMenuItemGroupBox); this.generalGroupBox.Controls.Add(this.backgroundAnimatedCheckBox); this.generalGroupBox.Controls.Add(this.showRssCheckBox); this.generalGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.generalGroupBox.Location = new System.Drawing.Point(3, 230); this.generalGroupBox.Name = "generalGroupBox"; - this.generalGroupBox.Size = new System.Drawing.Size(322, 83); + this.generalGroupBox.Size = new System.Drawing.Size(322, 183); this.generalGroupBox.TabIndex = 24; this.generalGroupBox.TabStop = false; this.generalGroupBox.Text = "General Properties"; // + // multiImageTimeGroupBox + // + this.multiImageTimeGroupBox.Controls.Add(this.multiIMageTimeLabel); + this.multiImageTimeGroupBox.Controls.Add(this.multiImageTimeSecLabel); + this.multiImageTimeGroupBox.Controls.Add(this.multiImageTimeTrackBar); + this.multiImageTimeGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.multiImageTimeGroupBox.Location = new System.Drawing.Point(6, 109); + this.multiImageTimeGroupBox.Name = "multiImageTimeGroupBox"; + this.multiImageTimeGroupBox.Size = new System.Drawing.Size(310, 66); + this.multiImageTimeGroupBox.TabIndex = 5; + this.multiImageTimeGroupBox.TabStop = false; + this.multiImageTimeGroupBox.Text = "Multi-Image time interval"; + // + // multiImageTimeSecLabel + // + this.multiImageTimeSecLabel.AutoSize = true; + this.multiImageTimeSecLabel.Font = new System.Drawing.Font("LCDMono2", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.multiImageTimeSecLabel.Location = new System.Drawing.Point(283, 27); + this.multiImageTimeSecLabel.Name = "multiImageTimeSecLabel"; + this.multiImageTimeSecLabel.Size = new System.Drawing.Size(18, 17); + this.multiImageTimeSecLabel.TabIndex = 2; + this.multiImageTimeSecLabel.Text = "\""; + this.multiImageTimeSecLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // multiIMageTimeLabel + // + this.multiIMageTimeLabel.Font = new System.Drawing.Font("LCDMono2", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.multiIMageTimeLabel.Location = new System.Drawing.Point(245, 26); + this.multiIMageTimeLabel.Name = "multiIMageTimeLabel"; + this.multiIMageTimeLabel.Size = new System.Drawing.Size(44, 19); + this.multiIMageTimeLabel.TabIndex = 1; + this.multiIMageTimeLabel.Text = "0"; + this.multiIMageTimeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // multiImageTimeTrackBar + // + this.multiImageTimeTrackBar.Location = new System.Drawing.Point(6, 19); + this.multiImageTimeTrackBar.Maximum = 60; + this.multiImageTimeTrackBar.Minimum = 5; + this.multiImageTimeTrackBar.Name = "multiImageTimeTrackBar"; + this.multiImageTimeTrackBar.Size = new System.Drawing.Size(244, 45); + this.multiImageTimeTrackBar.TabIndex = 0; + this.multiImageTimeTrackBar.TickFrequency = 5; + this.multiImageTimeTrackBar.Value = 5; + this.multiImageTimeTrackBar.ValueChanged += new System.EventHandler(this.multiImageTimeTrackBar_ValueChanged); + // // defaultMenuItemGroupBox // this.defaultMenuItemGroupBox.Controls.Add(this.defaultMenuItemComboBox); this.defaultMenuItemGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.defaultMenuItemGroupBox.Location = new System.Drawing.Point(6, 20); + this.defaultMenuItemGroupBox.Location = new System.Drawing.Point(6, 31); this.defaultMenuItemGroupBox.Name = "defaultMenuItemGroupBox"; this.defaultMenuItemGroupBox.Size = new System.Drawing.Size(144, 52); this.defaultMenuItemGroupBox.TabIndex = 4; @@ -582,7 +688,7 @@ // this.backgroundAnimatedCheckBox.AutoSize = true; this.backgroundAnimatedCheckBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.backgroundAnimatedCheckBox.Location = new System.Drawing.Point(178, 55); + this.backgroundAnimatedCheckBox.Location = new System.Drawing.Point(178, 66); this.backgroundAnimatedCheckBox.Name = "backgroundAnimatedCheckBox"; this.backgroundAnimatedCheckBox.Size = new System.Drawing.Size(130, 17); this.backgroundAnimatedCheckBox.TabIndex = 2; @@ -593,7 +699,7 @@ // this.showRssCheckBox.AutoSize = true; this.showRssCheckBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.showRssCheckBox.Location = new System.Drawing.Point(178, 32); + this.showRssCheckBox.Location = new System.Drawing.Point(178, 43); this.showRssCheckBox.Name = "showRssCheckBox"; this.showRssCheckBox.Size = new System.Drawing.Size(78, 17); this.showRssCheckBox.TabIndex = 1; @@ -609,7 +715,7 @@ this.subMenuGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.subMenuGroupBox.Location = new System.Drawing.Point(175, 3); this.subMenuGroupBox.Name = "subMenuGroupBox"; - this.subMenuGroupBox.Size = new System.Drawing.Size(150, 209); + this.subMenuGroupBox.Size = new System.Drawing.Size(150, 221); this.subMenuGroupBox.TabIndex = 23; this.subMenuGroupBox.TabStop = false; this.subMenuGroupBox.Text = "Sub Menu"; @@ -619,7 +725,7 @@ this.subMenuRowRemoveButton.AutoSize = true; this.subMenuRowRemoveButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.subMenuRowRemoveButton.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.SubRowRemove; - this.subMenuRowRemoveButton.Location = new System.Drawing.Point(106, 165); + this.subMenuRowRemoveButton.Location = new System.Drawing.Point(106, 171); this.subMenuRowRemoveButton.Name = "subMenuRowRemoveButton"; this.subMenuRowRemoveButton.Size = new System.Drawing.Size(38, 38); this.subMenuRowRemoveButton.TabIndex = 25; @@ -631,7 +737,7 @@ this.subMenuRowDownButton.AutoSize = true; this.subMenuRowDownButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.subMenuRowDownButton.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.SubRowDown; - this.subMenuRowDownButton.Location = new System.Drawing.Point(56, 165); + this.subMenuRowDownButton.Location = new System.Drawing.Point(56, 171); this.subMenuRowDownButton.Name = "subMenuRowDownButton"; this.subMenuRowDownButton.Size = new System.Drawing.Size(38, 38); this.subMenuRowDownButton.TabIndex = 24; @@ -643,7 +749,7 @@ this.subMenuRowUpButton.AutoSize = true; this.subMenuRowUpButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.subMenuRowUpButton.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.SubRowUp; - this.subMenuRowUpButton.Location = new System.Drawing.Point(6, 165); + this.subMenuRowUpButton.Location = new System.Drawing.Point(6, 171); this.subMenuRowUpButton.Name = "subMenuRowUpButton"; this.subMenuRowUpButton.Size = new System.Drawing.Size(38, 38); this.subMenuRowUpButton.TabIndex = 23; @@ -671,7 +777,7 @@ this.menuGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.menuGroupBox.Location = new System.Drawing.Point(3, 3); this.menuGroupBox.Name = "menuGroupBox"; - this.menuGroupBox.Size = new System.Drawing.Size(150, 209); + this.menuGroupBox.Size = new System.Drawing.Size(150, 221); this.menuGroupBox.TabIndex = 21; this.menuGroupBox.TabStop = false; this.menuGroupBox.Text = "Menu"; @@ -681,7 +787,7 @@ this.menuRowRemoveButton.AutoSize = true; this.menuRowRemoveButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.menuRowRemoveButton.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.RowRemove; - this.menuRowRemoveButton.Location = new System.Drawing.Point(106, 165); + this.menuRowRemoveButton.Location = new System.Drawing.Point(106, 171); this.menuRowRemoveButton.Name = "menuRowRemoveButton"; this.menuRowRemoveButton.Size = new System.Drawing.Size(38, 38); this.menuRowRemoveButton.TabIndex = 21; @@ -693,7 +799,7 @@ this.menuRowDownButton.AutoSize = true; this.menuRowDownButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.menuRowDownButton.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.RowDown; - this.menuRowDownButton.Location = new System.Drawing.Point(56, 165); + this.menuRowDownButton.Location = new System.Drawing.Point(56, 171); this.menuRowDownButton.Name = "menuRowDownButton"; this.menuRowDownButton.Size = new System.Drawing.Size(38, 38); this.menuRowDownButton.TabIndex = 20; @@ -705,7 +811,7 @@ this.menuRowUpButton.AutoSize = true; this.menuRowUpButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.menuRowUpButton.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.RowUp; - this.menuRowUpButton.Location = new System.Drawing.Point(6, 165); + this.menuRowUpButton.Location = new System.Drawing.Point(6, 171); this.menuRowUpButton.Name = "menuRowUpButton"; this.menuRowUpButton.Size = new System.Drawing.Size(38, 38); this.menuRowUpButton.TabIndex = 19; @@ -778,7 +884,7 @@ // this.propLeftPictureBox.Enabled = false; this.propLeftPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.ArrowRight; - this.propLeftPictureBox.Location = new System.Drawing.Point(245, 172); + this.propLeftPictureBox.Location = new System.Drawing.Point(245, 200); this.propLeftPictureBox.Name = "propLeftPictureBox"; this.propLeftPictureBox.Size = new System.Drawing.Size(56, 131); this.propLeftPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -790,7 +896,7 @@ // this.propRightPictureBox.Enabled = false; this.propRightPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.ArrowLeft; - this.propRightPictureBox.Location = new System.Drawing.Point(627, 172); + this.propRightPictureBox.Location = new System.Drawing.Point(627, 200); this.propRightPictureBox.Name = "propRightPictureBox"; this.propRightPictureBox.Size = new System.Drawing.Size(56, 131); this.propRightPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -833,12 +939,20 @@ this.arrowsPictureBox.TabIndex = 26; this.arrowsPictureBox.TabStop = false; // + // iconOpenFileDialog + // + this.iconOpenFileDialog.Filter = "Image Files |*.png;*.jpg;*.bmp;*.gif"; + // + // toolTip + // + this.toolTip.ShowAlways = true; + // // BHEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.Control; - this.ClientSize = new System.Drawing.Size(1019, 493); + this.ClientSize = new System.Drawing.Size(1019, 592); this.Controls.Add(this.menuPanel); this.Controls.Add(this.propertiesPanel); this.Controls.Add(this.infoPictureBox); @@ -864,6 +978,8 @@ this.propertiesPanel.ResumeLayout(false); this.propertiesGroupBox.ResumeLayout(false); this.propertiesGroupBox.PerformLayout(); + this.iconGroupBox.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).EndInit(); this.backgroundGroupBox.ResumeLayout(false); this.backgroundGroupBox.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.fanartHandlerPictureBox)).EndInit(); @@ -875,6 +991,9 @@ this.creationGroupBox.PerformLayout(); this.generalGroupBox.ResumeLayout(false); this.generalGroupBox.PerformLayout(); + this.multiImageTimeGroupBox.ResumeLayout(false); + this.multiImageTimeGroupBox.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.multiImageTimeTrackBar)).EndInit(); this.defaultMenuItemGroupBox.ResumeLayout(false); this.subMenuGroupBox.ResumeLayout(false); this.subMenuGroupBox.PerformLayout(); @@ -955,6 +1074,16 @@ private System.Windows.Forms.Timer backgroundImageTimer; private System.Windows.Forms.PictureBox fanartHandlerPictureBox; private System.Windows.Forms.TreeView skinLinksTreeView; + private System.Windows.Forms.GroupBox iconGroupBox; + private System.Windows.Forms.PictureBox iconPictureBox; + private System.Windows.Forms.ComboBox iconComboBox; + private System.Windows.Forms.Button iconBrowseButton; + private System.Windows.Forms.OpenFileDialog iconOpenFileDialog; + private System.Windows.Forms.GroupBox multiImageTimeGroupBox; + private System.Windows.Forms.Label multiImageTimeSecLabel; + private System.Windows.Forms.Label multiIMageTimeLabel; + private System.Windows.Forms.TrackBar multiImageTimeTrackBar; + private System.Windows.Forms.ToolTip toolTip; } } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs =============... [truncated message content] |
From: <nic...@us...> - 2013-11-11 18:20:09
|
Revision: 4674 http://sourceforge.net/p/mp-plugins/code/4674 Author: nicsergio Date: 2013-11-11 18:20:05 +0000 (Mon, 11 Nov 2013) Log Message: ----------- Modified Paths: -------------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.resx trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/XmlFiles/DefaultMenu.xml trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj Added Paths: ----------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/UpdateNotify.png Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-11-09 19:35:41 UTC (rev 4673) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-11-11 18:20:05 UTC (rev 4674) @@ -40,7 +40,6 @@ this.propertiesPanel = new System.Windows.Forms.Panel(); this.propertiesGroupBox = new System.Windows.Forms.GroupBox(); this.iconGroupBox = new System.Windows.Forms.GroupBox(); - this.iconPictureBox = new System.Windows.Forms.PictureBox(); this.iconComboBox = new System.Windows.Forms.ComboBox(); this.iconBrowseButton = new System.Windows.Forms.Button(); this.loadParameterTextBox = new System.Windows.Forms.TextBox(); @@ -48,8 +47,6 @@ this.skinFileShowLabel = new System.Windows.Forms.Label(); this.captionTextBox = new System.Windows.Forms.TextBox(); this.backgroundGroupBox = new System.Windows.Forms.GroupBox(); - this.fanartHandlerPictureBox = new System.Windows.Forms.PictureBox(); - this.backgroundPictureBox = new System.Windows.Forms.PictureBox(); this.fanartComboBox = new System.Windows.Forms.ComboBox(); this.multiImageComboBox = new System.Windows.Forms.ComboBox(); this.fanartRadioButton = new System.Windows.Forms.RadioButton(); @@ -82,17 +79,22 @@ this.backgroundAnimatedCheckBox = new System.Windows.Forms.CheckBox(); this.showRssCheckBox = new System.Windows.Forms.CheckBox(); this.subMenuGroupBox = new System.Windows.Forms.GroupBox(); + this.subMenuListBox = new System.Windows.Forms.ListBox(); + this.menuGroupBox = new System.Windows.Forms.GroupBox(); + this.menuListBox = new System.Windows.Forms.ListBox(); + this.backgroundImageTimer = new System.Windows.Forms.Timer(this.components); + this.iconOpenFileDialog = new System.Windows.Forms.OpenFileDialog(); + this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.subMenuRowRemoveButton = new System.Windows.Forms.Button(); this.subMenuRowDownButton = new System.Windows.Forms.Button(); this.subMenuRowUpButton = new System.Windows.Forms.Button(); - this.subMenuListBox = new System.Windows.Forms.ListBox(); - this.menuGroupBox = new System.Windows.Forms.GroupBox(); this.menuRowRemoveButton = new System.Windows.Forms.Button(); this.menuRowDownButton = new System.Windows.Forms.Button(); this.menuRowUpButton = new System.Windows.Forms.Button(); - this.menuListBox = new System.Windows.Forms.ListBox(); this.subMenuArrowPictureBox = new System.Windows.Forms.PictureBox(); - this.backgroundImageTimer = new System.Windows.Forms.Timer(this.components); + this.iconPictureBox = new System.Windows.Forms.PictureBox(); + this.fanartHandlerPictureBox = new System.Windows.Forms.PictureBox(); + this.backgroundPictureBox = new System.Windows.Forms.PictureBox(); this.infoPictureBox = new System.Windows.Forms.PictureBox(); this.subMenuRowAddButton = new System.Windows.Forms.Button(); this.menuRowAddButton = new System.Windows.Forms.Button(); @@ -100,19 +102,17 @@ this.propRightPictureBox = new System.Windows.Forms.PictureBox(); this.menuRowEditButton = new System.Windows.Forms.Button(); this.subMenuRowEditButton = new System.Windows.Forms.Button(); + this.updateNotifyMenuPictureBox = new System.Windows.Forms.PictureBox(); this.arrowsPictureBox = new System.Windows.Forms.PictureBox(); - this.iconOpenFileDialog = new System.Windows.Forms.OpenFileDialog(); - this.toolTip = new System.Windows.Forms.ToolTip(this.components); + this.updateNotifySubMenuPictureBox = new System.Windows.Forms.PictureBox(); + this.updateNotifyTimer = new System.Windows.Forms.Timer(this.components); this.itemsTabControl.SuspendLayout(); this.linksTabPage.SuspendLayout(); this.skinTabPage.SuspendLayout(); this.propertiesPanel.SuspendLayout(); this.propertiesGroupBox.SuspendLayout(); this.iconGroupBox.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).BeginInit(); this.backgroundGroupBox.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.fanartHandlerPictureBox)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).BeginInit(); this.overlayGroupBox.SuspendLayout(); this.menuPanel.SuspendLayout(); this.creationGroupBox.SuspendLayout(); @@ -123,10 +123,15 @@ this.subMenuGroupBox.SuspendLayout(); this.menuGroupBox.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.subMenuArrowPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.fanartHandlerPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.infoPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.propLeftPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.propRightPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.updateNotifyMenuPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arrowsPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.updateNotifySubMenuPictureBox)).BeginInit(); this.SuspendLayout(); // // itemsTabControl @@ -243,17 +248,6 @@ this.iconGroupBox.TabStop = false; this.iconGroupBox.Text = "Icon"; // - // iconPictureBox - // - this.iconPictureBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); - this.iconPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.IconError; - this.iconPictureBox.Location = new System.Drawing.Point(21, 22); - this.iconPictureBox.Name = "iconPictureBox"; - this.iconPictureBox.Size = new System.Drawing.Size(64, 64); - this.iconPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.iconPictureBox.TabIndex = 32; - this.iconPictureBox.TabStop = false; - // // iconComboBox // this.iconComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -331,29 +325,6 @@ this.backgroundGroupBox.TabStop = false; this.backgroundGroupBox.Text = "Background image(s)"; // - // fanartHandlerPictureBox - // - this.fanartHandlerPictureBox.BackColor = System.Drawing.Color.Transparent; - this.fanartHandlerPictureBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.fanartHandlerPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.FanartHandler; - this.fanartHandlerPictureBox.Location = new System.Drawing.Point(234, 93); - this.fanartHandlerPictureBox.Name = "fanartHandlerPictureBox"; - this.fanartHandlerPictureBox.Size = new System.Drawing.Size(48, 48); - this.fanartHandlerPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; - this.fanartHandlerPictureBox.TabIndex = 31; - this.fanartHandlerPictureBox.TabStop = false; - this.fanartHandlerPictureBox.Visible = false; - // - // backgroundPictureBox - // - this.backgroundPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.BackgroundError; - this.backgroundPictureBox.Location = new System.Drawing.Point(42, 93); - this.backgroundPictureBox.Name = "backgroundPictureBox"; - this.backgroundPictureBox.Size = new System.Drawing.Size(240, 135); - this.backgroundPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.backgroundPictureBox.TabIndex = 14; - this.backgroundPictureBox.TabStop = false; - // // fanartComboBox // this.fanartComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; @@ -579,6 +550,7 @@ this.createBackupCheckBox.TabIndex = 19; this.createBackupCheckBox.Text = "Back-up settings (.bak)"; this.createBackupCheckBox.UseVisualStyleBackColor = true; + this.createBackupCheckBox.CheckedChanged += new System.EventHandler(this.createBackupCheckBox_CheckedChanged); // // clearCacheCheckBox // @@ -590,6 +562,7 @@ this.clearCacheCheckBox.TabIndex = 18; this.clearCacheCheckBox.Text = "Clear cache"; this.clearCacheCheckBox.UseVisualStyleBackColor = true; + this.clearCacheCheckBox.CheckedChanged += new System.EventHandler(this.clearCacheCheckBox_CheckedChanged); // // saveButton // @@ -683,6 +656,7 @@ this.defaultMenuItemComboBox.Name = "defaultMenuItemComboBox"; this.defaultMenuItemComboBox.Size = new System.Drawing.Size(132, 21); this.defaultMenuItemComboBox.TabIndex = 0; + this.defaultMenuItemComboBox.SelectedIndexChanged += new System.EventHandler(this.defaultMenuItemComboBox_SelectedIndexChanged); // // backgroundAnimatedCheckBox // @@ -694,6 +668,7 @@ this.backgroundAnimatedCheckBox.TabIndex = 2; this.backgroundAnimatedCheckBox.Text = "Background animated"; this.backgroundAnimatedCheckBox.UseVisualStyleBackColor = true; + this.backgroundAnimatedCheckBox.CheckedChanged += new System.EventHandler(this.backgroundAnimatedCheckBox_CheckedChanged); // // showRssCheckBox // @@ -705,6 +680,7 @@ this.showRssCheckBox.TabIndex = 1; this.showRssCheckBox.Text = "Show RSS"; this.showRssCheckBox.UseVisualStyleBackColor = true; + this.showRssCheckBox.CheckedChanged += new System.EventHandler(this.showRssCheckBox_CheckedChanged); // // subMenuGroupBox // @@ -720,6 +696,57 @@ this.subMenuGroupBox.TabStop = false; this.subMenuGroupBox.Text = "Sub Menu"; // + // subMenuListBox + // + this.subMenuListBox.BackColor = System.Drawing.Color.White; + this.subMenuListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.subMenuListBox.FormattingEnabled = true; + this.subMenuListBox.Location = new System.Drawing.Point(6, 25); + this.subMenuListBox.Name = "subMenuListBox"; + this.subMenuListBox.Size = new System.Drawing.Size(138, 134); + this.subMenuListBox.TabIndex = 22; + this.subMenuListBox.SelectedIndexChanged += new System.EventHandler(this.subMenuListBox_SelectedIndexChanged); + this.subMenuListBox.Enter += new System.EventHandler(this.subMenuListBox_Enter); + // + // menuGroupBox + // + this.menuGroupBox.Controls.Add(this.menuRowRemoveButton); + this.menuGroupBox.Controls.Add(this.menuRowDownButton); + this.menuGroupBox.Controls.Add(this.menuRowUpButton); + this.menuGroupBox.Controls.Add(this.menuListBox); + this.menuGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.menuGroupBox.Location = new System.Drawing.Point(3, 3); + this.menuGroupBox.Name = "menuGroupBox"; + this.menuGroupBox.Size = new System.Drawing.Size(150, 221); + this.menuGroupBox.TabIndex = 21; + this.menuGroupBox.TabStop = false; + this.menuGroupBox.Text = "Menu"; + // + // menuListBox + // + this.menuListBox.BackColor = System.Drawing.Color.White; + this.menuListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.menuListBox.FormattingEnabled = true; + this.menuListBox.Location = new System.Drawing.Point(6, 25); + this.menuListBox.Name = "menuListBox"; + this.menuListBox.Size = new System.Drawing.Size(138, 134); + this.menuListBox.TabIndex = 18; + this.menuListBox.SelectedIndexChanged += new System.EventHandler(this.menuListBox_SelectedIndexChanged); + this.menuListBox.Enter += new System.EventHandler(this.menuListBox_Enter); + // + // backgroundImageTimer + // + this.backgroundImageTimer.Interval = 2500; + this.backgroundImageTimer.Tick += new System.EventHandler(this.backgroundImageTimer_Tick); + // + // iconOpenFileDialog + // + this.iconOpenFileDialog.Filter = "Image Files |*.png;*.jpg;*.bmp;*.gif"; + // + // toolTip + // + this.toolTip.ShowAlways = true; + // // subMenuRowRemoveButton // this.subMenuRowRemoveButton.AutoSize = true; @@ -756,32 +783,6 @@ this.subMenuRowUpButton.UseVisualStyleBackColor = true; this.subMenuRowUpButton.Click += new System.EventHandler(this.subMenuRowUpButton_Click); // - // subMenuListBox - // - this.subMenuListBox.BackColor = System.Drawing.Color.White; - this.subMenuListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.subMenuListBox.FormattingEnabled = true; - this.subMenuListBox.Location = new System.Drawing.Point(6, 25); - this.subMenuListBox.Name = "subMenuListBox"; - this.subMenuListBox.Size = new System.Drawing.Size(138, 134); - this.subMenuListBox.TabIndex = 22; - this.subMenuListBox.SelectedIndexChanged += new System.EventHandler(this.subMenuListBox_SelectedIndexChanged); - this.subMenuListBox.Enter += new System.EventHandler(this.subMenuListBox_Enter); - // - // menuGroupBox - // - this.menuGroupBox.Controls.Add(this.menuRowRemoveButton); - this.menuGroupBox.Controls.Add(this.menuRowDownButton); - this.menuGroupBox.Controls.Add(this.menuRowUpButton); - this.menuGroupBox.Controls.Add(this.menuListBox); - this.menuGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.menuGroupBox.Location = new System.Drawing.Point(3, 3); - this.menuGroupBox.Name = "menuGroupBox"; - this.menuGroupBox.Size = new System.Drawing.Size(150, 221); - this.menuGroupBox.TabIndex = 21; - this.menuGroupBox.TabStop = false; - this.menuGroupBox.Text = "Menu"; - // // menuRowRemoveButton // this.menuRowRemoveButton.AutoSize = true; @@ -818,18 +819,6 @@ this.menuRowUpButton.UseVisualStyleBackColor = true; this.menuRowUpButton.Click += new System.EventHandler(this.menuRowUpButton_Click); // - // menuListBox - // - this.menuListBox.BackColor = System.Drawing.Color.White; - this.menuListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.menuListBox.FormattingEnabled = true; - this.menuListBox.Location = new System.Drawing.Point(6, 25); - this.menuListBox.Name = "menuListBox"; - this.menuListBox.Size = new System.Drawing.Size(138, 134); - this.menuListBox.TabIndex = 18; - this.menuListBox.SelectedIndexChanged += new System.EventHandler(this.menuListBox_SelectedIndexChanged); - this.menuListBox.Enter += new System.EventHandler(this.menuListBox_Enter); - // // subMenuArrowPictureBox // this.subMenuArrowPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.MiniArrowRight; @@ -840,11 +829,40 @@ this.subMenuArrowPictureBox.TabIndex = 26; this.subMenuArrowPictureBox.TabStop = false; // - // backgroundImageTimer + // iconPictureBox // - this.backgroundImageTimer.Interval = 2500; - this.backgroundImageTimer.Tick += new System.EventHandler(this.backgroundImageTimer_Tick); + this.iconPictureBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.iconPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.IconError; + this.iconPictureBox.Location = new System.Drawing.Point(21, 22); + this.iconPictureBox.Name = "iconPictureBox"; + this.iconPictureBox.Size = new System.Drawing.Size(64, 64); + this.iconPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.iconPictureBox.TabIndex = 32; + this.iconPictureBox.TabStop = false; // + // fanartHandlerPictureBox + // + this.fanartHandlerPictureBox.BackColor = System.Drawing.Color.Transparent; + this.fanartHandlerPictureBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.fanartHandlerPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.FanartHandler; + this.fanartHandlerPictureBox.Location = new System.Drawing.Point(234, 93); + this.fanartHandlerPictureBox.Name = "fanartHandlerPictureBox"; + this.fanartHandlerPictureBox.Size = new System.Drawing.Size(48, 48); + this.fanartHandlerPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.fanartHandlerPictureBox.TabIndex = 31; + this.fanartHandlerPictureBox.TabStop = false; + this.fanartHandlerPictureBox.Visible = false; + // + // backgroundPictureBox + // + this.backgroundPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.BackgroundError; + this.backgroundPictureBox.Location = new System.Drawing.Point(42, 93); + this.backgroundPictureBox.Name = "backgroundPictureBox"; + this.backgroundPictureBox.Size = new System.Drawing.Size(240, 135); + this.backgroundPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.backgroundPictureBox.TabIndex = 14; + this.backgroundPictureBox.TabStop = false; + // // infoPictureBox // this.infoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("infoPictureBox.Image"))); @@ -928,6 +946,17 @@ this.subMenuRowEditButton.UseVisualStyleBackColor = true; this.subMenuRowEditButton.Click += new System.EventHandler(this.subMenuRowEditButton_Click); // + // updateNotifyMenuPictureBox + // + this.updateNotifyMenuPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.UpdateNotify; + this.updateNotifyMenuPictureBox.Location = new System.Drawing.Point(773, 28); + this.updateNotifyMenuPictureBox.Name = "updateNotifyMenuPictureBox"; + this.updateNotifyMenuPictureBox.Size = new System.Drawing.Size(40, 70); + this.updateNotifyMenuPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.updateNotifyMenuPictureBox.TabIndex = 30; + this.updateNotifyMenuPictureBox.TabStop = false; + this.updateNotifyMenuPictureBox.Visible = false; + // // arrowsPictureBox // this.arrowsPictureBox.ErrorImage = null; @@ -939,13 +968,21 @@ this.arrowsPictureBox.TabIndex = 26; this.arrowsPictureBox.TabStop = false; // - // iconOpenFileDialog + // updateNotifySubMenuPictureBox // - this.iconOpenFileDialog.Filter = "Image Files |*.png;*.jpg;*.bmp;*.gif"; + this.updateNotifySubMenuPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.UpdateNotify; + this.updateNotifySubMenuPictureBox.Location = new System.Drawing.Point(943, 28); + this.updateNotifySubMenuPictureBox.Name = "updateNotifySubMenuPictureBox"; + this.updateNotifySubMenuPictureBox.Size = new System.Drawing.Size(40, 70); + this.updateNotifySubMenuPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.updateNotifySubMenuPictureBox.TabIndex = 31; + this.updateNotifySubMenuPictureBox.TabStop = false; + this.updateNotifySubMenuPictureBox.Visible = false; // - // toolTip + // updateNotifyTimer // - this.toolTip.ShowAlways = true; + this.updateNotifyTimer.Interval = 1500; + this.updateNotifyTimer.Tick += new System.EventHandler(this.updateNotifyTimer_Tick); // // BHEditorForm // @@ -963,6 +1000,8 @@ this.Controls.Add(this.propRightPictureBox); this.Controls.Add(this.menuRowEditButton); this.Controls.Add(this.subMenuRowEditButton); + this.Controls.Add(this.updateNotifyMenuPictureBox); + this.Controls.Add(this.updateNotifySubMenuPictureBox); this.Controls.Add(this.arrowsPictureBox); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); @@ -970,6 +1009,7 @@ this.Name = "BHEditorForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Xtreme Custom Menu Editor"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.BHEditorForm_FormClosing); this.Load += new System.EventHandler(this.BHEditorForm_Load); this.Shown += new System.EventHandler(this.BHEditorForm_Shown); this.itemsTabControl.ResumeLayout(false); @@ -979,11 +1019,8 @@ this.propertiesGroupBox.ResumeLayout(false); this.propertiesGroupBox.PerformLayout(); this.iconGroupBox.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).EndInit(); this.backgroundGroupBox.ResumeLayout(false); this.backgroundGroupBox.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.fanartHandlerPictureBox)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).EndInit(); this.overlayGroupBox.ResumeLayout(false); this.overlayGroupBox.PerformLayout(); this.menuPanel.ResumeLayout(false); @@ -1000,10 +1037,15 @@ this.menuGroupBox.ResumeLayout(false); this.menuGroupBox.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.subMenuArrowPictureBox)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.fanartHandlerPictureBox)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.infoPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.propLeftPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.propRightPictureBox)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.updateNotifyMenuPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arrowsPictureBox)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.updateNotifySubMenuPictureBox)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -1084,6 +1126,9 @@ private System.Windows.Forms.Label multiIMageTimeLabel; private System.Windows.Forms.TrackBar multiImageTimeTrackBar; private System.Windows.Forms.ToolTip toolTip; + private System.Windows.Forms.PictureBox updateNotifyMenuPictureBox; + private System.Windows.Forms.PictureBox updateNotifySubMenuPictureBox; + private System.Windows.Forms.Timer updateNotifyTimer; } } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-11-09 19:35:41 UTC (rev 4673) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-11-11 18:20:05 UTC (rev 4674) @@ -22,9 +22,10 @@ private const int SubMenuItemsMaxNum = 5; //Numero massimo elementi di sotto-menu private MediaPortal myMediaPortal; //Istanza classe Mediaportal (dati relativi all'installazione ed alla skin) private MenuItems myMenu; //Istanza classe MenuItems (dati relativi al menu per BasicHome) - private bool falseRemMenuItem = false; //Rimozione virtuale elemento di menu (usata per editazione e spostamento) - private bool falseAddMenuItem = false; //Aggiunta virtuale elemento di menu (usata per editazione) - private bool showingProperties = false; //Visualizzazione proprietà elemento in corso + private bool unsavedChanges; //Presenza modifiche da salvare + private bool falseRemMenuItem; //Rimozione virtuale elemento di menu (usata per editazione e spostamento) + private bool falseAddMenuItem; //Aggiunta virtuale elemento di menu (usata per editazione) + private bool showingProperties; //Visualizzazione proprietà elemento in corso private string[] bgImages = new string[50]; //Array immagini di background da visualizzare (multi-immagine) private int bgImageIndex = 0; //Indice immagine di background visualizzata (multi-immagine) #endregion @@ -61,7 +62,9 @@ myMediaPortal.SelectedSkin.FillTreeViewSkinLinks(skinLinksTreeView); skinLinksTreeView.ExpandAll(); skinLinksTreeView.SelectedNode = skinLinksTreeView.Nodes[0]; - + + unsavedChanges = false; //--> necessario a fine aggiornamento controlli grafici + fanartHandlerPictureBox.Parent = backgroundPictureBox; fanartHandlerPictureBox.Location = new Point(fanartHandlerPictureBox.Location.X - backgroundPictureBox.Location.X, ... [truncated message content] |
From: <nic...@us...> - 2013-11-14 20:14:44
|
Revision: 4679 http://sourceforge.net/p/mp-plugins/code/4679 Author: nicsergio Date: 2013-11-14 20:14:41 +0000 (Thu, 14 Nov 2013) Log Message: ----------- Modified Paths: -------------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/Editor.ico trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/Editor.png trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/Editor.ico =================================================================== (Binary files differ) Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/Editor.png =================================================================== (Binary files differ) Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj 2013-11-14 19:01:37 UTC (rev 4678) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj 2013-11-14 20:14:41 UTC (rev 4679) @@ -6,7 +6,7 @@ <ProductVersion>8.0.30703</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{350D17A6-0F6B-43C4-898F-33CC68EBCD75}</ProjectGuid> - <OutputType>Library</OutputType> + <OutputType>WinExe</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>ProcessPlugins.XtremeMenuEditor</RootNamespace> <AssemblyName>XtremeMenuEditor</AssemblyName> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nic...@us...> - 2013-12-03 20:05:42
|
Revision: 4696 http://sourceforge.net/p/mp-plugins/code/4696 Author: nicsergio Date: 2013-12-03 20:05:38 +0000 (Tue, 03 Dec 2013) Log Message: ----------- Modified Paths: -------------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/XmlFiles/DefaultMenu.xml Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-12-03 15:44:57 UTC (rev 4695) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-12-03 20:05:38 UTC (rev 4696) @@ -74,7 +74,7 @@ this.saveButton = new System.Windows.Forms.Button(); this.generalGroupBox = new System.Windows.Forms.GroupBox(); this.showContextLabelCheckBox = new System.Windows.Forms.CheckBox(); - this.showSubMenuBackgroundCheckBox = new System.Windows.Forms.CheckBox(); + this.showSubItemBackgroundCheckBox = new System.Windows.Forms.CheckBox(); this.multiImageTimeGroupBox = new System.Windows.Forms.GroupBox(); this.multiIMageTimeLabel = new System.Windows.Forms.Label(); this.multiImageTimeSecLabel = new System.Windows.Forms.Label(); @@ -622,7 +622,7 @@ // generalGroupBox // this.generalGroupBox.Controls.Add(this.showContextLabelCheckBox); - this.generalGroupBox.Controls.Add(this.showSubMenuBackgroundCheckBox); + this.generalGroupBox.Controls.Add(this.showSubItemBackgroundCheckBox); this.generalGroupBox.Controls.Add(this.multiImageTimeGroupBox); this.generalGroupBox.Controls.Add(this.defaultMenuItemGroupBox); this.generalGroupBox.Controls.Add(this.backgroundAnimatedCheckBox); @@ -639,7 +639,7 @@ // this.showContextLabelCheckBox.AutoSize = true; this.showContextLabelCheckBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.showContextLabelCheckBox.Location = new System.Drawing.Point(178, 42); + this.showContextLabelCheckBox.Location = new System.Drawing.Point(178, 41); this.showContextLabelCheckBox.Name = "showContextLabelCheckBox"; this.showContextLabelCheckBox.Size = new System.Drawing.Size(116, 17); this.showContextLabelCheckBox.TabIndex = 7; @@ -647,17 +647,17 @@ this.showContextLabelCheckBox.UseVisualStyleBackColor = true; this.showContextLabelCheckBox.CheckedChanged += new System.EventHandler(this.showContextLabelCheckBox_CheckedChanged); // - // showSubMenuBackgroundCheckBox + // showSubItemBackgroundCheckBox // - this.showSubMenuBackgroundCheckBox.AutoSize = true; - this.showSubMenuBackgroundCheckBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.showSubMenuBackgroundCheckBox.Location = new System.Drawing.Point(12, 85); - this.showSubMenuBackgroundCheckBox.Name = "showSubMenuBackgroundCheckBox"; - this.showSubMenuBackgroundCheckBox.Size = new System.Drawing.Size(250, 17); - this.showSubMenuBackgroundCheckBox.TabIndex = 6; - this.showSubMenuBackgroundCheckBox.Text = "Show sub menu background (fast systems only)"; - this.showSubMenuBackgroundCheckBox.UseVisualStyleBackColor = true; - this.showSubMenuBackgroundCheckBox.CheckedChanged += new System.EventHandler(this.showSubMenuBackgroundCheckBox_CheckedChanged); + this.showSubItemBackgroundCheckBox.AutoSize = true; + this.showSubItemBackgroundCheckBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.showSubItemBackgroundCheckBox.Location = new System.Drawing.Point(12, 85); + this.showSubItemBackgroundCheckBox.Name = "showSubItemBackgroundCheckBox"; + this.showSubItemBackgroundCheckBox.Size = new System.Drawing.Size(250, 17); + this.showSubItemBackgroundCheckBox.TabIndex = 6; + this.showSubItemBackgroundCheckBox.Text = "Show sub menu background (fast systems only)"; + this.showSubItemBackgroundCheckBox.UseVisualStyleBackColor = true; + this.showSubItemBackgroundCheckBox.CheckedChanged += new System.EventHandler(this.showSubItemBackgroundCheckBox_CheckedChanged); // // multiImageTimeGroupBox // @@ -1193,7 +1193,7 @@ private System.Windows.Forms.Panel defaultItemLeftPanel; private System.Windows.Forms.Panel defaultItemRightPanel; private System.Windows.Forms.CheckBox showContextLabelCheckBox; - private System.Windows.Forms.CheckBox showSubMenuBackgroundCheckBox; + private System.Windows.Forms.CheckBox showSubItemBackgroundCheckBox; } } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-12-03 15:44:57 UTC (rev 4695) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-12-03 20:05:38 UTC (rev 4696) @@ -52,9 +52,9 @@ DefaultMenuItemRefresh(); defaultMenuItemComboBox.SelectedIndex = myMenu.GeneralDefaultItemIndex; showRssCheckBox.Checked = myMenu.GeneralShowRSS; - showContextLabelCheckBox.Checked = false; + showContextLabelCheckBox.Checked = myMenu.GeneralShowContextLabel; backgroundAnimatedCheckBox.Checked = myMenu.GeneralBackgroundAnimated; - showSubMenuBackgroundCheckBox.Checked = false; + showSubItemBackgroundCheckBox.Checked = myMenu.GeneralShowSubItemBackground; int multiImageTime = myMenu.GeneralMultiImageTime / 1000; multiImageTimeTrackBar.Value = ((multiImageTime >= multiImageTimeTrackBar.Minimum & multiImageTime <= multiImageTimeTrackBar.Maximum) ? multiImageTime : multiImageTimeTrackBar.Maximum); multiIMageTimeLabel.Text = multiImageTimeTrackBar.Value.ToString(); @@ -489,12 +489,14 @@ } private void SaveMenu() //Salvataggio impostazioni e creazione menu { - myMenu.GeneralDefaultItemIndex = defaultMenuItemComboBox.SelectedIndex; - myMenu.GeneralShowRSS = showRssCheckBox.Checked; - myMenu.GeneralBackgroundAnimated = backgroundAnimatedCheckBox.Checked; - myMenu.GeneralMultiImageTime = multiImageTimeTrackBar.Value * 1000; - myMenu.EditorClearCache = clearCacheCheckBox.Checked; - myMenu.EditorCreateBackup = createBackupCheckBox.Checked; + myMenu.GeneralDefaultItemIndex = defaultMenuItemComboBox.SelectedIndex; + myMenu.GeneralShowRSS = showRssCheckBox.Checked; + myMenu.GeneralShowContextLabel = showContextLabelCheckBox.Checked; + myMenu.GeneralBackgroundAnimated = backgroundAnimatedCheckBox.Checked; + myMenu.GeneralShowSubItemBackground = showSubItemBackgroundCheckBox.Checked; + myMenu.GeneralMultiImageTime = multiImageTimeTrackBar.Value * 1000; + myMenu.EditorClearCache = clearCacheCheckBox.Checked; + myMenu.EditorCreateBackup = createBackupCheckBox.Checked; if (myMenu.SaveMenu(myMediaPortal.SelectedSkin.CachePath, myMediaPortal.SelectedSkin.SkinPath)) //--> salvataggio & creazione (con eventuale cancellazione cache) @@ -782,7 +784,7 @@ { unsavedChanges = true; } - private void showSubMenuBackgroundCheckBox_CheckedChanged(object sender, EventArgs e) + private void showSubItemBackgroundCheckBox_CheckedChanged(object sender, EventArgs e) { unsavedChanges = true; } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx 2013-12-03 15:44:57 UTC (rev 4695) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx 2013-12-03 20:05:38 UTC (rev 4696) @@ -249,7 +249,7 @@ <metadata name="showContextLabelCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> - <metadata name="showSubMenuBackgroundCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <metadata name="showSubItemBackgroundCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> <metadata name="multiImageTimeGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs 2013-12-03 15:44:57 UTC (rev 4695) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs 2013-12-03 20:05:38 UTC (rev 4696) @@ -45,7 +45,9 @@ private struct GeneralSettings //Struttura impostazioni generali di menu { public bool ShowRSS; //Attivazione visualizzazione notizie RSS + public bool ShowContextLabel; //Attivazione visualizzazione del testo aggiuntivo ("guarda"-"ascolta"-ecc.) degli elementi di menu public bool BackgroundAnimated; //Attivazione animazione immagini di background + public bool ShowSubItemBackground; //Attivazione visualizzazione immagini di background specifiche per gli elementi di sotto-menu public int DefaultItemIndex; //Indice elemento di menu predefinito (selezionato all'entrata) public int MultiImageTime; //Tempo di commutazione immagini per controlli multi-image [ms] } @@ -101,9 +103,15 @@ innerNode = generalNode.SelectSingleNode("ShowRSS"); if (innerNode != null) _general.ShowRSS = Convert.ToBoolean(Convert.ToInt16(innerNode.InnerText)); + innerNode = generalNode.SelectSingleNode("ShowContextLabel"); + if (innerNode != null) + _general.ShowContextLabel = Convert.ToBoolean(Convert.ToInt16(innerNode.InnerText)); innerNode = generalNode.SelectSingleNode("BackgroundAnimated"); if (innerNode != null) _general.BackgroundAnimated = Convert.ToBoolean(Convert.ToInt16(innerNode.InnerText)); + innerNode = generalNode.SelectSingleNode("ShowSubItemBackground"); + if (innerNode != null) + _general.ShowSubItemBackground = Convert.ToBoolean(Convert.ToInt16(innerNode.InnerText)); innerNode = generalNode.SelectSingleNode("DefaultItemIndex"); if (innerNode != null) _general.DefaultItemIndex = Convert.ToInt32(innerNode.InnerText); @@ -247,10 +255,12 @@ const string NodeName = @"/profile"; - XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.ShowRSS", Convert.ToInt16(_general.ShowRSS).ToString()); - XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.BackgroundAnimated", Convert.ToInt16(_general.BackgroundAnimated).ToString()); - XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.DefaultItemIndex", "1"); //(_general.DefaultItemIndex + 1).ToString()); - XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.MultiImageTime", _general.MultiImageTime.ToString()); + XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.ShowRSS", Convert.ToInt16(_general.ShowRSS).ToString()); + XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.ShowContextLabel", Convert.ToInt16(_general.ShowContextLabel).ToString()); + XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.BackgroundAnimated", Convert.ToInt16(_general.BackgroundAnimated).ToString()); + XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.ShowSubItemBackground", Convert.ToInt16(_general.ShowSubItemBackground).ToString()); + XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.DefaultItemIndex", "1"); //(_general.DefaultItemIndex + 1).ToString()); + XmlAddMenuSetting(ref xmlSkinSettings, NodeName, menuSectionIndex, "#skin.CustomMenu.General.MultiImageTime", _general.MultiImageTime.ToString()); /* Problema nello skin engine: non si riesce a specificare l'elemento di default in maniera parametrica: viene quindi fissato il primo e si shiftano tutti gli elementi fino a portare al primo posto quello selezionato */ @@ -392,10 +402,12 @@ menuSettings.WriteElementString("CreateBackup", Convert.ToInt16(_editor.CreateBackup).ToString()); menuSettings.WriteEndElement(); menuSettings.WriteStartElement("General"); //--> salvataggio impostazioni generali di menu - menuSettings.WriteElementString("ShowRSS", Convert.ToInt16(_general.ShowRSS).ToString()); - menuSettings.WriteElementString("BackgroundAnimated", Convert.ToInt16(_general.BackgroundAnimated).ToString()); - menuSettings.WriteElementString("DefaultItemIndex", _general.DefaultItemIndex.ToString()); - menuSettings.WriteElementString("MultiImageTime", _general.MultiImageTime.ToString()); + menuSettings.WriteElementString("ShowRSS", Convert.ToInt16(_general.ShowRSS).ToString()); + menuSettings.WriteElementString("ShowContextLabel", Convert.ToInt16(_general.ShowContextLabel).ToString()); + menuSettings.WriteElementString("BackgroundAnimated", Convert.ToInt16(_general.BackgroundAnimated).ToString()); + menuSettings.WriteElementString("ShowSubItemBackground", Convert.ToInt16(_general.ShowSubItemBackground).ToString()); + menuSettings.WriteElementString("DefaultItemIndex", _general.DefaultItemIndex.ToString()); + menuSettings.WriteElementString("MultiImageTime", _general.MultiImageTime.ToString()); menuSettings.WriteEndElement(); menuSettings.WriteStartElement("Items"); foreach (MenuItem mItem in _items) //Iterazione per salvataggio elementi di menu @@ -456,17 +468,19 @@ #endregion #region Proprietà - public bool Initialized { get { return this._initialized; } } - public bool EditorClearCache { get { return this._editor.ClearCache; } set { this._editor.ClearCache = value; } } - public bool EditorCreateBackup { get { return this._editor.CreateBackup; } set { this._editor.CreateBackup = value; } } - public bool GeneralShowRSS { get { return this._general.ShowRSS; } set { this._general.ShowRSS = value; } } - public bool GeneralBackgroundAnimated { get { return this._general.BackgroundAnimated; } set { this._general.BackgroundAnimated = value; } } - public int GeneralDefaultItemIndex { get { return this._general.DefaultItemIndex; } set { this._general.DefaultItemIndex = value; } } - public int GeneralMultiImageTime { get { return this._general.MultiImageTime; } set { this._general.MultiImageTime = value; } } - public BindingList<MenuItem> Items { get { return this._items; } } - public int MenuItemsMinNum { get { return this.ItemsMinNum; } } - public int MenuItemsMaxNum { get { return this.ItemsMaxNum; } } - public int SubMenuItemsMaxNum { get { return this.SubItemsMaxNum; } } + public bool Initialized { get { return this._initialized; } } + public bool EditorClearCache { get { return this._editor.ClearCache; } set { this._editor.ClearCache = value; } } + public bool EditorCreateBackup { get { return this._editor.CreateBackup; } set { this._editor.CreateBackup = value; } } + public bool GeneralShowRSS { get { return this._general.ShowRSS; } set { this._general.ShowRSS = value; } } + public bool GeneralShowContextLabel { get { return this._general.ShowContextLabel; } set { this._general.ShowContextLabel = value; } } + public bool GeneralBackgroundAnimated { get { return this._general.BackgroundAnimated; } set { this._general.BackgroundAnimated = value; } } + public bool GeneralShowSubItemBackground { get { return this._general.ShowSubItemBackground; } set { this._general.ShowSubItemBackground = value; } } + public int GeneralDefaultItemIndex { get { return this._general.DefaultItemIndex; } set { this._general.DefaultItemIndex = value; } } + public int GeneralMultiImageTime { get { return this._general.MultiImageTime; } set { this._general.MultiImageTime = value; } } + public BindingList<MenuItem> Items { get { return this._items; } } + public int MenuItemsMinNum { get { return this.ItemsMinNum; } } + public int MenuItemsMaxNum { get { return this.ItemsMaxNum; } } + public int SubMenuItemsMaxNum { get { return this.SubItemsMaxNum; } } #endregion } } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/XmlFiles/DefaultMenu.xml =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/XmlFiles/DefaultMenu.xml 2013-12-03 15:44:57 UTC (rev 4695) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/XmlFiles/DefaultMenu.xml 2013-12-03 20:05:38 UTC (rev 4696) @@ -6,7 +6,9 @@ </Editor> <General> <ShowRSS>1</ShowRSS> + <ShowContextLabel>1</ShowContextLabel> <BackgroundAnimated>1</BackgroundAnimated> + <ShowSubItemBackground>0</ShowSubItemBackground> <DefaultItemIndex>2</DefaultItemIndex> <MultiImageTime>15000</MultiImageTime> </General> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nic...@us...> - 2014-03-03 17:19:17
|
Revision: 4770 http://sourceforge.net/p/mp-plugins/code/4770 Author: nicsergio Date: 2014-03-03 17:19:13 +0000 (Mon, 03 Mar 2014) Log Message: ----------- Modified Paths: -------------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Program.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/XtremeMenuEditor.csproj Added Paths: ----------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditor.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditor.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditor.resx Removed Paths: ------------- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx Added: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditor.Designer.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditor.Designer.cs (rev 0) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditor.Designer.cs 2014-03-03 17:19:13 UTC (rev 4770) @@ -0,0 +1,1139 @@ +namespace ProcessPlugins.XtremeMenuEditor +{ + partial class BHEditor + { + /// <summary> + /// Variabile di progettazione necessaria. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Liberare le risorse in uso. + /// </summary> + /// <param name="disposing">ha valore true se le risorse gestite devono essere eliminate, false in caso contrario.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Codice generato da Progettazione Windows Form + + /// <summary> + /// Metodo necessario per il supporto della finestra di progettazione. Non modificare + /// il contenuto del metodo con l'editor di codice. + /// </summary> + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BHEditor)); + this.multiImageFolderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog(); + this.singleImageOpenFileDialog = new System.Windows.Forms.OpenFileDialog(); + this.propertiesPanel = new System.Windows.Forms.Panel(); + this.propertiesGroupBox = new System.Windows.Forms.GroupBox(); + this.iconGroupBox = new System.Windows.Forms.GroupBox(); + this.iconPictureBox = new System.Windows.Forms.PictureBox(); + this.iconComboBox = new System.Windows.Forms.ComboBox(); + this.iconBrowseButton = new System.Windows.Forms.Button(); + this.loadParameterTextBox = new System.Windows.Forms.TextBox(); + this.windowIdShowLabel = new System.Windows.Forms.Label(); + this.skinFileShowLabel = new System.Windows.Forms.Label(); + this.captionTextBox = new System.Windows.Forms.TextBox(); + this.backgroundGroupBox = new System.Windows.Forms.GroupBox(); + this.fanartHandlerPictureBox = new System.Windows.Forms.PictureBox(); + this.backgroundPictureBox = new System.Windows.Forms.PictureBox(); + this.fanartComboBox = new System.Windows.Forms.ComboBox(); + this.multiImageComboBox = new System.Windows.Forms.ComboBox(); + this.fanartRadioButton = new System.Windows.Forms.RadioButton(); + this.singleImageComboBox = new System.Windows.Forms.ComboBox(); + this.multiImageBrowseButton = new System.Windows.Forms.Button(); + this.singleImageBrowseButton = new System.Windows.Forms.Button(); + this.singleImageRadioButton = new System.Windows.Forms.RadioButton(); + this.multiImageRadioButton = new System.Windows.Forms.RadioButton(); + this.overlayGroupBox = new System.Windows.Forms.GroupBox(); + this.overlayLabel = new System.Windows.Forms.Label(); + this.overlayComboBox = new System.Windows.Forms.ComboBox(); + this.contextTextBox = new System.Windows.Forms.TextBox(); + this.loadParameterLabel = new System.Windows.Forms.Label(); + this.windowIdLabel = new System.Windows.Forms.Label(); + this.skinFileLabel = new System.Windows.Forms.Label(); + this.captionLabel = new System.Windows.Forms.Label(); + this.contextLabel = new System.Windows.Forms.Label(); + this.menuPanel = new System.Windows.Forms.Panel(); + this.creationGroupBox = new System.Windows.Forms.GroupBox(); + this.createBackupCheckBox = new System.Windows.Forms.CheckBox(); + this.clearCacheCheckBox = new System.Windows.Forms.CheckBox(); + this.saveButton = new System.Windows.Forms.Button(); + this.generalGroupBox = new System.Windows.Forms.GroupBox(); + this.showContextLabelCheckBox = new System.Windows.Forms.CheckBox(); + this.showSubItemBackgroundCheckBox = new System.Windows.Forms.CheckBox(); + this.multiImageTimeGroupBox = new System.Windows.Forms.GroupBox(); + this.multiIMageTimeLabel = new System.Windows.Forms.Label(); + this.multiImageTimeSecLabel = new System.Windows.Forms.Label(); + this.multiImageTimeTrackBar = new System.Windows.Forms.TrackBar(); + this.defaultMenuItemGroupBox = new System.Windows.Forms.GroupBox(); + this.defaultMenuItemComboBox = new System.Windows.Forms.ComboBox(); + this.backgroundAnimatedCheckBox = new System.Windows.Forms.CheckBox(); + this.showRssCheckBox = new System.Windows.Forms.CheckBox(); + this.subMenuGroupBox = new System.Windows.Forms.GroupBox(); + this.subMenuRowRemoveButton = new System.Windows.Forms.Button(); + this.subMenuRowDownButton = new System.Windows.Forms.Button(); + this.subMenuRowUpButton = new System.Windows.Forms.Button(); + this.subMenuListBox = new System.Windows.Forms.ListBox(); + this.menuGroupBox = new System.Windows.Forms.GroupBox(); + this.defaultItemRightPanel = new System.Windows.Forms.Panel(); + this.defaultItemLeftPanel = new System.Windows.Forms.Panel(); + this.menuRowRemoveButton = new System.Windows.Forms.Button(); + this.menuRowDownButton = new System.Windows.Forms.Button(); + this.menuRowUpButton = new System.Windows.Forms.Button(); + this.menuListBox = new System.Windows.Forms.ListBox(); + this.subMenuArrowPictureBox = new System.Windows.Forms.PictureBox(); + this.backgroundImageTimer = new System.Windows.Forms.Timer(this.components); + this.iconOpenFileDialog = new System.Windows.Forms.OpenFileDialog(); + this.toolTip = new System.Windows.Forms.ToolTip(this.components); + this.updateNotifyTimer = new System.Windows.Forms.Timer(this.components); + this.infoPictureBox = new System.Windows.Forms.PictureBox(); + this.subMenuRowAddButton = new System.Windows.Forms.Button(); + this.menuRowAddButton = new System.Windows.Forms.Button(); + this.propLeftPictureBox = new System.Windows.Forms.PictureBox(); + this.propRightPictureBox = new System.Windows.Forms.PictureBox(); + this.menuRowEditButton = new System.Windows.Forms.Button(); + this.subMenuRowEditButton = new System.Windows.Forms.Button(); + this.updateNotifyMenuPictureBox = new System.Windows.Forms.PictureBox(); + this.updateNotifySubMenuPictureBox = new System.Windows.Forms.PictureBox(); + this.arrowsPictureBox = new System.Windows.Forms.PictureBox(); + this.skinItems = new My.Common.SkinItems(); + this.propertiesPanel.SuspendLayout(); + this.propertiesGroupBox.SuspendLayout(); + this.iconGroupBox.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).BeginInit(); + this.backgroundGroupBox.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.fanartHandlerPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.backgroundPictureBox)).BeginInit(); + this.overlayGroupBox.SuspendLayout(); + this.menuPanel.SuspendLayout(); + this.creationGroupBox.SuspendLayout(); + this.generalGroupBox.SuspendLayout(); + this.multiImageTimeGroupBox.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.multiImageTimeTrackBar)).BeginInit(); + this.defaultMenuItemGroupBox.SuspendLayout(); + this.subMenuGroupBox.SuspendLayout(); + this.menuGroupBox.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.subMenuArrowPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.infoPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.propLeftPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.propRightPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.updateNotifyMenuPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.updateNotifySubMenuPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.arrowsPictureBox)).BeginInit(); + this.SuspendLayout(); + // + // multiImageFolderBrowserDialog + // + this.multiImageFolderBrowserDialog.Description = "Select multi-image folder for this menu item"; + this.multiImageFolderBrowserDialog.RootFolder = System.Environment.SpecialFolder.MyComputer; + this.multiImageFolderBrowserDialog.ShowNewFolderButton = false; + // + // singleImageOpenFileDialog + // + this.singleImageOpenFileDialog.Filter = "Image Files |*.png;*.jpg;*.bmp;*.gif"; + // + // propertiesPanel + // + this.propertiesPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.propertiesPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.propertiesPanel.Controls.Add(this.propertiesGroupBox); + this.propertiesPanel.Location = new System.Drawing.Point(294, 12); + this.propertiesPanel.Name = "propertiesPanel"; + this.propertiesPanel.Size = new System.Drawing.Size(342, 573); + this.propertiesPanel.TabIndex = 21; + // + // propertiesGroupBox + // + this.propertiesGroupBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.propertiesGroupBox.Controls.Add(this.iconGroupBox); + this.propertiesGroupBox.Controls.Add(this.loadParameterTextBox); + this.propertiesGroupBox.Controls.Add(this.windowIdShowLabel); + this.propertiesGroupBox.Controls.Add(this.skinFileShowLabel); + this.propertiesGroupBox.Controls.Add(this.captionTextBox); + this.propertiesGroupBox.Controls.Add(this.backgroundGroupBox); + this.propertiesGroupBox.Controls.Add(this.overlayGroupBox); + this.propertiesGroupBox.Controls.Add(this.contextTextBox); + this.propertiesGroupBox.Controls.Add(this.loadParameterLabel); + this.propertiesGroupBox.Controls.Add(this.windowIdLabel); + this.propertiesGroupBox.Controls.Add(this.skinFileLabel); + this.propertiesGroupBox.Controls.Add(this.captionLabel); + this.propertiesGroupBox.Controls.Add(this.contextLabel); + this.propertiesGroupBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.propertiesGroupBox.Location = new System.Drawing.Point(1, 3); + this.propertiesGroupBox.Name = "propertiesGroupBox"; + this.propertiesGroupBox.Size = new System.Drawing.Size(336, 562); + this.propertiesGroupBox.TabIndex = 2; + this.propertiesGroupBox.TabStop = false; + this.propertiesGroupBox.Text = "Item Properties"; + // + // iconGroupBox + // + this.iconGroupBox.Controls.Add(this.iconPictureBox); + this.iconGroupBox.Controls.Add(this.iconComboBox); + this.iconGroupBox.Controls.Add(this.iconBrowseButton); + this.iconGroupBox.Location = new System.Drawing.Point(6, 394); + this.iconGroupBox.Name = "iconGroupBox"; + this.iconGroupBox.Size = new System.Drawing.Size(324, 94); + this.iconGroupBox.TabIndex = 14; + this.iconGroupBox.TabStop = false; + this.iconGroupBox.Text = "Icon (Horus Theme)"; + // + // iconPictureBox + // + this.iconPictureBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.iconPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.IconError; + this.iconPictureBox.Location = new System.Drawing.Point(21, 22); + this.iconPictureBox.Name = "iconPictureBox"; + this.iconPictureBox.Size = new System.Drawing.Size(64, 64); + this.iconPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.iconPictureBox.TabIndex = 32; + this.iconPictureBox.TabStop = false; + // + // iconComboBox + // + this.iconComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.iconComboBox.FormattingEnabled = true; + this.iconComboBox.Location = new System.Drawing.Point(97, 44); + this.iconComboBox.Name = "iconComboBox"; + this.iconComboBox.Size = new System.Drawing.Size(164, 21); + this.iconComboBox.TabIndex = 16; + this.iconComboBox.TextChanged += new System.EventHandler(this.iconComboBox_TextChanged); + // + // iconBrowseButton + // + this.iconBrowseButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.iconBrowseButton.Location = new System.Drawing.Point(267, 43); + this.iconBrowseButton.Name = "iconBrowseButton"; + this.iconBrowseButton.Size = new System.Drawing.Size(51, 23); + this.iconBrowseButton.TabIndex = 17; + this.iconBrowseButton.Text = "Browse"; + this.iconBrowseButton.UseVisualStyleBackColor = true; + this.iconBrowseButton.Click += new System.EventHandler(this.iconBrowseButton_Click); + // + // loadParameterTextBox + // + this.loadParameterTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.loadParameterTextBox.Location = new System.Drawing.Point(110, 130); + this.loadParameterTextBox.Name = "loadParameterTextBox"; + this.loadParameterTextBox.Size = new System.Drawing.Size(214, 20); + this.loadParameterTextBox.TabIndex = 4; + this.loadParameterTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.loadParameterTextBox.TextChanged += new System.EventHandler(this.loadParameterTextBox_TextChanged); + // + // windowIdShowLabel + // + this.windowIdShowLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.windowIdShowLabel.Location = new System.Drawing.Point(114, 108); + this.windowIdShowLabel.Name = "windowIdShowLabel"; + this.windowIdShowLabel.Size = new System.Drawing.Size(150, 13); + this.windowIdShowLabel.TabIndex = 10; + this.windowIdShowLabel.Text = "-"; + this.windowIdShowLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // skinFileShowLabel + // + this.skinFileShowLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.skinFileShowLabel.Location = new System.Drawing.Point(114, 82); + this.skinFileShowLabel.Name = "skinFileShowLabel"; + this.skinFileShowLabel.Size = new System.Drawing.Size(150, 13); + this.skinFileShowLabel.TabIndex = 9; + this.skinFileShowLabel.Text = "-"; + this.skinFileShowLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // captionTextBox + // + this.captionTextBox.Location = new System.Drawing.Point(110, 52); + this.captionTextBox.Name = "captionTextBox"; + this.captionTextBox.Size = new System.Drawing.Size(158, 21); + this.captionTextBox.TabIndex = 3; + this.captionTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.captionTextBox.TextChanged += new System.EventHandler(this.captionTextBox_TextChanged); + // + // backgroundGroupBox + // + this.backgroundGroupBox.Controls.Add(this.fanartHandlerPictureBox); + this.backgroundGroupBox.Controls.Add(this.backgroundPictureBox); + this.backgroundGroupBox.Controls.Add(this.fanartComboBox); + this.backgroundGroupBox.Controls.Add(this.multiImageComboBox); + this.backgroundGroupBox.Controls.Add(this.fanartRadioButton); + this.backgroundGroupBox.Controls.Add(this.singleImageComboBox); + this.backgroundGroupBox.Controls.Add(this.multiImageBrowseButton); + this.backgroundGroupBox.Controls.Add(this.singleImageBrowseButton); + this.backgroundGroupBox.Controls.Add(this.singleImageRadioButton); + this.backgroundGroupBox.Controls.Add(this.multiImageRadioButton); + this.backgroundGroupBox.Location = new System.Drawing.Point(6, 156); + this.backgroundGroupBox.Name = "backgroundGroupBox"; + this.backgroundGroupBox.Size = new System.Drawing.Size(324, 232); + this.backgroundGroupBox.TabIndex = 5; + this.backgroundGroupBox.TabStop = false; + this.backgroundGroupBox.Text = "Background image(s)"; + // + // fanartHandlerPictureBox + // + this.fanartHandlerPictureBox.BackColor = System.Drawing.Color.Transparent; + this.fanartHandlerPictureBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.fanartHandlerPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.FanartHandler; + this.fanartHandlerPictureBox.Location = new System.Drawing.Point(234, 93); + this.fanartHandlerPictureBox.Name = "fanartHandlerPictureBox"; + this.fanartHandlerPictureBox.Size = new System.Drawing.Size(48, 48); + this.fanartHandlerPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.fanartHandlerPictureBox.TabIndex = 31; + this.fanartHandlerPictureBox.TabStop = false; + this.fanartHandlerPictureBox.Visible = false; + // + // backgroundPictureBox + // + this.backgroundPictureBox.ErrorImage = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.BackgroundError; + this.backgroundPictureBox.Location = new System.Drawing.Point(42, 93); + this.backgroundPictureBox.Name = "backgroundPictureBox"; + this.backgroundPictureBox.Size = new System.Drawing.Size(240, 135); + this.backgroundPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.backgroundPictureBox.TabIndex = 14; + this.backgroundPictureBox.TabStop = false; + // + // fanartComboBox + // + this.fanartComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.fanartComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.fanartComboBox.FormattingEnabled = true; + this.fanartComboBox.Location = new System.Drawing.Point(98, 66); + this.fanartComboBox.Name = "fanartComboBox"; + this.fanartComboBox.Size = new System.Drawing.Size(220, 21); + this.fanartComboBox.TabIndex = 13; + this.fanartComboBox.TextChanged += new System.EventHandler(this.fanartComboBox_TextChanged); + // + // multiImageComboBox + // + this.multiImageComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.multiImageComboBox.FormattingEnabled = true; + this.multiImageComboBox.Location = new System.Drawing.Point(98, 42); + this.multiImageComboBox.Name = "multiImageComboBox"; + this.multiImageComboBox.Size = new System.Drawing.Size(164, 21); + this.multiImageComboBox.TabIndex = 10; + this.multiImageComboBox.TextChanged += new System.EventHandler(this.multiImageComboBox_TextChanged); + // + // fanartRadioButton + // + this.fanartRadioButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.fanartRadioButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.fanartRadioButton.Location = new System.Drawing.Point(6, 65); + this.fanartRadioButton.Name = "fanartRadioButton"; + this.fanartRadioButton.Size = new System.Drawing.Size(314, 23); + this.fanartRadioButton.TabIndex = 12; + this.fanartRadioButton.TabStop = true; + this.fanartRadioButton.Text = "Fanart Handler"; + this.fanartRadioButton.UseVisualStyleBackColor = false; + this.fanartRadioButton.CheckedChanged += new System.EventHandler(this.fanartRadioButton_CheckedChanged); + // + // singleImageComboBox + // + this.singleImageComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.singleImageComboBox.FormattingEnabled = true; + this.singleImageComboBox.Location = new System.Drawing.Point(98, 18); + this.singleImageComboBox.Name = "singleImageComboBox"; + this.singleImageComboBox.Size = new System.Drawing.Size(163, 21); + this.singleImageComboBox.TabIndex = 7; + this.singleImageComboBox.TextChanged += new System.EventHandler(this.singleImageComboBox_TextChanged); + // + // multiImageBrowseButton + // + this.multiImageBrowseButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.multiImageBrowseButton.Location = new System.Drawing.Point(268, 42); + this.multiImageBrowseButton.Name = "multiImageBrowseButton"; + this.multiImageBrowseButton.Size = new System.Drawing.Size(51, 21); + this.multiImageBrowseButton.TabIndex = 11; + this.multiImageBrowseButton.Text = "Browse"; + this.multiImageBrowseButton.UseVisualStyleBackColor = true; + this.multiImageBrowseButton.Click += new System.EventHandler(this.multiImageBrowseButton_Click); + // + // singleImageBrowseButton + // + this.singleImageBrowseButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.singleImageBrowseButton.Location = new System.Drawing.Point(268, 18); + this.singleImageBrowseButton.Name = "singleImageBrowseButton"; + this.singleImageBrowseButton.Size = new System.Drawing.Size(51, 21); + this.singleImageBrowseButton.TabIndex = 8; + this.singleImageBrowseButton.Text = "Browse"; + this.singleImageBrowseButton.UseVisualStyleBackColor = true; + this.singleImageBrowseButton.Click += new System.EventHandler(this.singleImageBrowseButton_Click); + // + // singleImageRadioButton + // + this.singleImageRadioButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.singleImageRadioButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.singleImageRadioButton.ForeColor = System.Drawing.SystemColors.ControlText; + this.singleImageRadioButton.Location = new System.Drawing.Point(6, 17); + this.singleImageRadioButton.Name = "singleImageRadioButton"; + this.singleImageRadioButton.Size = new System.Drawing.Size(314, 23); + this.singleImageRadioButton.TabIndex = 6; + this.singleImageRadioButton.TabStop = true; + this.singleImageRadioButton.Text = "Single Image"; + this.singleImageRadioButton.UseVisualStyleBackColor = false; + this.singleImageRadioButton.CheckedChanged += new System.EventHandler(this.singleImageRadioButton_CheckedChanged); + // + // multiImageRadioButton + // + this.multiImageRadioButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.multiImageRadioButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.multiImageRadioButton.Location = new System.Drawing.Point(6, 41); + this.multiImageRadioButton.Name = "multiImageRadioButton"; + this.multiImageRadioButton.Size = new System.Drawing.Size(314, 23); + this.multiImageRadioButton.TabIndex = 9; + this.multiImageRadioButton.TabStop = true; + this.multiImageRadioButton.Text = "Multi Image"; + this.multiImageRadioButton.UseVisualStyleBackColor = false; + this.multiImageRadioButton.CheckedChanged += new System.EventHandler(this.multiImageRadioButton_CheckedChanged); + // + // overlayGroupBox + // + this.overlayGroupBox.Controls.Add(this.overlayLabel); + this.overlayGroupBox.Controls.Add(this.overlayComboBox); + this.overlayGroupBox.Location = new System.Drawing.Point(6, 494); + this.overlayGroupBox.Name = "overlayGroupBox"; + this.overlayGroupBox.Size = new System.Drawing.Size(324, 60); + this.overlayGroupBox.TabIndex = 15; + this.overlayGroupBox.TabStop = false; + this.overlayGroupBox.Text = "Overlay"; + // + // overlayLabel + // + this.overlayLabel.AutoSize = true; + this.overlayLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.overlayLabel.Location = new System.Drawing.Point(6, 34); + this.overlayLabel.Name = "overlayLabel"; + this.overlayLabel.Size = new System.Drawing.Size(70, 13); + this.overlayLabel.TabIndex = 1; + this.overlayLabel.Text = "Overlay Type"; + // + // overlayComboBox + // + this.overlayComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.overlayComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.overlayComboBox.FormattingEnabled = true; + this.overlayComboBox.Location = new System.Drawing.Point(98, 30); + this.overlayComboBox.Name = "overlayComboBox"; + this.overlayComboBox.Size = new System.Drawing.Size(220, 21); + this.overlayComboBox.TabIndex = 18; + this.overlayComboBox.TextChanged += new System.EventHandler(this.overlayComboBox_TextChanged); + // + // contextTextBox + // + this.contextTextBox.BackColor = System.Drawing.SystemColors.Window; + this.contextTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.contextText... [truncated message content] |