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 =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-11-07 20:26:03 UTC (rev 4671) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-11-09 09:54:37 UTC (rev 4672) @@ -50,6 +50,9 @@ defaultMenuItemComboBox.SelectedIndex = myMenu.GeneralDefaultItemIndex; showRssCheckBox.Checked = myMenu.GeneralShowRSS; backgroundAnimatedCheckBox.Checked = myMenu.GeneralBackgroundAnimated; + int multiImageTime = myMenu.GeneralMultiImageTime / 1000; + multiImageTimeTrackBar.Value = ((multiImageTime >= multiImageTimeTrackBar.Minimum & multiImageTime <= multiImageTimeTrackBar.Maximum) ? multiImageTime : multiImageTimeTrackBar.Maximum); + multiIMageTimeLabel.Text = multiImageTimeTrackBar.Value.ToString(); clearCacheCheckBox.Checked = myMenu.EditorClearCache; createBackupCheckBox.Checked = myMenu.EditorCreateBackup; skinFilesListBox.DataSource = myMediaPortal.SelectedSkin.SkinFiles; @@ -62,6 +65,19 @@ fanartHandlerPictureBox.Location = new Point(fanartHandlerPictureBox.Location.X - backgroundPictureBox.Location.X, fanartHandlerPictureBox.Location.Y - backgroundPictureBox.Location.Y); RoundEdgesPictureBox(backgroundPictureBox, 45); + + toolTip.SetToolTip(menuRowAddButton, "Add menu item to list"); + toolTip.SetToolTip(menuRowRemoveButton, "Remove selected menu item from list"); + toolTip.SetToolTip(menuRowEditButton, "Update menu item properties"); + toolTip.SetToolTip(menuRowUpButton, "Move up menu item in list"); + toolTip.SetToolTip(menuRowDownButton, "Move down menu item in list"); + toolTip.SetToolTip(subMenuRowAddButton, "Add menu sub-item to list"); + toolTip.SetToolTip(subMenuRowRemoveButton, "Remove selected sub-menu item from list"); + toolTip.SetToolTip(subMenuRowEditButton, "Update sub-menu item properties"); + toolTip.SetToolTip(subMenuRowUpButton, "Move up sub-menu item in list"); + toolTip.SetToolTip(subMenuRowDownButton, "Move down sub-menu item in list"); + toolTip.SetToolTip(defaultMenuItemComboBox, "Select the menu item displayed when BasicHome starts"); + toolTip.SetToolTip(saveButton, "Save settings and create custom menu"); } private void ShowItemProperties(object listControl) //Visualizzazione proprietà elemento di menu/sotto-menu { @@ -293,7 +309,7 @@ } else //--> altrimenti nessuna immagine valida { - backgroundPictureBox.Image = ProcessPlugins.XtremeMenuEditor.Properties.Resources.Error; + backgroundPictureBox.Image = ProcessPlugins.XtremeMenuEditor.Properties.Resources.BackgroundError; fanartHandlerPictureBox.Visible = false; } } @@ -449,6 +465,7 @@ 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; @@ -749,5 +766,12 @@ return false; } #endregion + + private void multiImageTimeTrackBar_ValueChanged(object sender, EventArgs e) + { + multiIMageTimeLabel.Text = multiImageTimeTrackBar.Value.ToString(); + } + + } } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx 2013-11-07 20:26:03 UTC (rev 4671) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx 2013-11-09 09:54:37 UTC (rev 4672) @@ -117,174 +117,15 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <metadata name="itemsTabControl.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="linksTabPage.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="skinLinksTreeView.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="skinTabPage.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="skinFilesListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> <metadata name="multiImageFolderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>183, 2</value> </metadata> <metadata name="singleImageOpenFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>5, 1</value> </metadata> - <metadata name="propertiesPanel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="propertiesGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="loadParameterTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="windowIdShowLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="skinFileShowLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="captionTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="backgroundGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="fanartHandlerPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="backgroundPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="fanartComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="multiImageComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="fanartRadioButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="multiImageRadioButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="singleImageRadioButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="singleImageComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="multiImageBrowseButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="singleImageBrowseButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="overlayGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="overlayLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="overlayComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="labelTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="loadParameterLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="windowIdLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="skinFileLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="captionLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="labelLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="menuPanel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="creationGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="createBackupCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="clearCacheCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="saveButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="generalGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="defaultMenuItemGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="defaultMenuItemComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="backgroundAnimatedCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="showRssCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="subMenuGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="subMenuRowRemoveButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="subMenuRowDownButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="subMenuRowUpButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="subMenuListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="menuGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="menuRowRemoveButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="menuRowDownButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="menuRowUpButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="menuListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="subMenuArrowPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> <metadata name="backgroundImageTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>390, 2</value> </metadata> - <metadata name="infoPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <data name="infoPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> @@ -335,27 +176,6 @@ AElFTkSuQmCC </value> </data> - <metadata name="subMenuRowAddButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="menuRowAddButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="propLeftPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="propRightPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="menuRowEditButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="subMenuRowEditButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="arrowsPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> <data name="arrowsPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAAoAAAACACAYAAACbUtgKAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1 @@ -486,9 +306,12 @@ AAAASUVORK5CYII= </value> </data> - <metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> + <metadata name="iconOpenFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>555, 2</value> </metadata> + <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>703, 1</value> + </metadata> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>25</value> </metadata> Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs 2013-11-07 20:26:03 UTC (rev 4671) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs 2013-11-09 09:54:37 UTC (rev 4672) @@ -46,6 +46,7 @@ public bool ShowRSS; //Attivazione visualizzazione notizie RSS public bool BackgroundAnimated; //Attivazione animazione immagini di background public int DefaultItemIndex; //Indice elemento di menu predefinito (selezionato all'entrata) + public int MultiImageTime; //Tempo di commutazione immagini per controlli multi-image [ms] } private EditorSettings _editor = new EditorSettings(); //Impostazioni relative all'editor private GeneralSettings _general = new GeneralSettings(); //Impostazioni generali di menu @@ -105,6 +106,9 @@ innerNode = generalNode.SelectSingleNode("DefaultItemIndex"); if (innerNode != null) _general.DefaultItemIndex = Convert.ToInt32(innerNode.InnerText); + innerNode = generalNode.SelectSingleNode("MultiImageTime"); + if (innerNode != null) + _general.MultiImageTime = Convert.ToInt32(innerNode.InnerText); XmlNodeList nodeList = xmlFile.DocumentElement.SelectNodes("/CustomMenu/Items/Item"); foreach (XmlNode node in nodeList) //Iterazione per memorizzazione elementi di menu { @@ -245,6 +249,7 @@ 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()); /* 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 */ @@ -324,8 +329,11 @@ /* 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 : ""); - + { + controlsList[i].SelectSingleNode("imagepath").InnerText = ((i < _items.Count) ? _items[(i + _general.DefaultItemIndex) % _items.Count].BackgroundFolder : ""); + controlsList[i].SelectSingleNode("timeperimage").InnerText = _general.MultiImageTime.ToString(); + } + 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 @@ -387,6 +395,7 @@ 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.WriteEndElement(); menuSettings.WriteStartElement("Items"); foreach (MenuItem mItem in _items) //Iterazione per salvataggio elementi di menu @@ -453,6 +462,7 @@ 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; } } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/AssemblyInfo.cs 2013-11-07 20:26:03 UTC (rev 4671) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/AssemblyInfo.cs 2013-11-09 09:54:37 UTC (rev 4672) @@ -33,8 +33,8 @@ // È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build // utilizzando l'asterisco (*) come descritto di seguito: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.3.0.0")] -[assembly: AssemblyFileVersion("0.3.0.0")] +[assembly: AssemblyVersion("0.4.0.0")] +[assembly: AssemblyFileVersion("0.4.0.0")] //Importante per la compatibilità con MediaPortal (se usato come PlugIn - dll) [assembly: CompatibleVersion("1.1.6.27644")] \ No newline at end of file Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.Designer.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.Designer.cs 2013-11-07 20:26:03 UTC (rev 4671) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.Designer.cs 2013-11-09 09:54:37 UTC (rev 4672) @@ -93,9 +93,9 @@ /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap. /// </summary> - internal static System.Drawing.Bitmap Error { + internal static System.Drawing.Bitmap BackgroundError { get { - object obj = ResourceManager.GetObject("Error", resourceCulture); + object obj = ResourceManager.GetObject("BackgroundError", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -113,6 +113,16 @@ /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap. /// </summary> + internal static System.Drawing.Bitmap IconError { + get { + object obj = ResourceManager.GetObject("IconError", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> internal static System.Drawing.Bitmap Info { get { object obj = ResourceManager.GetObject("Info", resourceCulture); Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.resx =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.resx 2013-11-07 20:26:03 UTC (rev 4671) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Properties/Resources.resx 2013-11-09 09:54:37 UTC (rev 4672) @@ -117,7 +117,7 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <data name="ArrowDoubleDown" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\resources\images\arrowdoubledown.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> @@ -127,9 +127,6 @@ <data name="ArrowRight" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\..\common\resources\images\arrowright.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="Error" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\resources\images\error.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> - </data> <data name="FanartHandler" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\resources\images\fanarthandler.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> @@ -175,4 +172,11 @@ <data name="SubRowUp" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\resources\images\subrowup.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <data name="BackgroundError" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\Images\BackgroundError.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="IconError" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\Images\IconError.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> </root> \ No newline at end of file Added: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/BackgroundError.png =================================================================== (Binary files differ) Index: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/BackgroundError.png =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/BackgroundError.png 2013-11-07 20:26:03 UTC (rev 4671) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/BackgroundError.png 2013-11-09 09:54:37 UTC (rev 4672) Property changes on: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/BackgroundError.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Deleted: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Resources/Images/E... [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, fanartHandlerPictureBox.Location.Y - backgroundPictureBox.Location.Y); @@ -110,8 +113,11 @@ skinFileShowLabel.Text = myMediaPortal.SelectedSkin.SkinFiles[selectedIndex].Name; windowIdShowLabel.Text = myMediaPortal.SelectedSkin.SkinFiles[selectedIndex].Id.ToString(); loadParameterTextBox.Text = ""; + multiImageRadioButton.Enabled = true; + fanartRadioButton.Enabled = true; singleImageRadioButton.Checked = true; singleImageComboBox.Text = "hover_extensions.png"; + multiImageComboBox.SelectedIndex = 0; fanartComboBox.SelectedIndex = 0; iconComboBox.Text = ""; overlayGroupBox.Enabled = true; @@ -132,6 +138,8 @@ skinFileShowLabel.Text = myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].XmlFile; windowIdShowLabel.Text = myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].WindowID.ToString(); loadParameterTextBox.Text = myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].LoadParameter; + multiImageRadioButton.Enabled = true; + fanartRadioButton.Enabled = true; if (myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].BackgroundImage.Length > 0) { singleImageRadioButton.Checked = true; @@ -173,6 +181,8 @@ skinFileShowLabel.Text = myMenu.Items[selectedIndex].XmlFile; windowIdShowLabel.Text = myMenu.Items[selectedIndex].Hyperlink.ToString(); loadParameterTextBox.Text = myMenu.Items[selectedIndex].HyperlinkParameter; + multiImageRadioButton.Enabled = true; + fanartRadioButton.Enabled = true; if (myMenu.Items[selectedIndex].BackgroundImage.Length > 0) { singleImageRadioButton.Checked = true; @@ -216,28 +226,12 @@ skinFileShowLabel.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].XmlFile; windowIdShowLabel.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].Hyperlink.ToString(); loadParameterTextBox.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].HyperlinkParameter; - if (myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].BackgroundImage.Length > 0) - { - singleImageRadioButton.Checked = true; - singleImageComboBox.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].BackgroundImage; - } - else - { - if (myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].BackgroundFolder.Length > 0) - { - multiImageRadioButton.Checked = true; - multiImageComboBox.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].BackgroundFolder; - } - else - { - if (myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].FanartHandler.Length > 0) - { - fanartRadioButton.Checked = true; - fanartComboBox.SelectedIndex = fanartComboBox.FindStringExact(myMediaPortal.GetFanartDescription(myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].FanartHandler)); - } - - } - } + singleImageRadioButton.Checked = true; + singleImageComboBox.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].BackgroundImage; + multiImageComboBox.SelectedIndex = 0; + multiImageRadioButton.Enabled = false; + fanartComboBox.SelectedIndex = 0; + fanartRadioButton.Enabled = false; iconComboBox.Text = myMediaPortal.SelectedSkin.GetMenuIconFile(myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].Icon); overlayGroupBox.Enabled = false; overlayComboBox.SelectedIndex = 0; @@ -345,6 +339,7 @@ } private void MoveSubMenuItemList(bool dirUp) //Spostamento elemento di sotto-menu { + unsavedChanges = true; int index = subMenuListBox.SelectedIndex; SubMenuItem smItem = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[index]; myMenu.Items[menuListBox.SelectedIndex].SubMenuItems.RemoveAt(index); @@ -425,19 +420,20 @@ Tools.InfoMessage("A caption is requested."); return; } + + if (labelTextBox.Text.Length > 0 || multiImageRadioButton.Checked || fanartRadioButton.Checked || overlayComboBox.SelectedIndex > 0) + Tools.InfoMessage("Sub-menu items limitations:\n" + + " - only support single background image (no multi-image, no fanart)\n" + + " - do not support overlay\n" + + " - do not display context labels" ); + + unsavedChanges = true; SubMenuItem smItem = new SubMenuItem(); smItem.Caption = captionTextBox.Text; smItem.XmlFile = skinFileShowLabel.Text; smItem.Hyperlink = Convert.ToInt32(windowIdShowLabel.Text); smItem.HyperlinkParameter = loadParameterTextBox.Text; - if (singleImageRadioButton.Checked) - smItem.BackgroundImage = singleImageComboBox.Text; - else - if (multiImageRadioButton.Checked) - smItem.BackgroundFolder = multiImageComboBox.Text; - else - if (fanartRadioButton.Checked) - smItem.FanartHandler = myMediaPortal.GetFanartValue(fanartComboBox.Text); + smItem.BackgroundImage = singleImageComboBox.Text; smItem.Icon = myMediaPortal.SelectedSkin.GetMenuIconPath(iconComboBox.Text); if (edit) //Caso di editazione: rimozione ed re-inserimento elemento { @@ -468,6 +464,10 @@ //Se elemento non trovato, viene selezionato il primo defaultMenuItemComboBox.SelectedIndex = (defaultItemIndex < 0) ? 0 : defaultItemIndex; } + private void UpdateNotify() + { + + } private void SaveMenu() //Salvataggio impostazioni e creazione menu { myMenu.GeneralDefaultItemIndex = defaultMenuItemComboBox.SelectedIndex; @@ -477,8 +477,9 @@ myMenu.EditorClearCache = clearCacheCheckBox.Checked; myMenu.EditorCreateBackup = createBackupCheckBox.Checked; - myMenu.SaveMenu(myMediaPortal.SelectedSkin.CachePath, - myMediaPortal.SelectedSkin.SkinPath); //--> salvataggio & creazione (con eventuale cancellazione cache) + if (myMenu.SaveMenu(myMediaPortal.SelectedSkin.CachePath, + myMediaPortal.SelectedSkin.SkinPath)) //--> salvataggio & creazione (con eventuale cancellazione cache) + unsavedChanges = false; } private void ShowInfo() //Visualizzazione informazioni versione { @@ -522,6 +523,17 @@ { skinLinksTreeView.Focus(); } + private void BHEditorForm_FormClosing(object sender, FormClosingEventArgs e) + { + if (unsavedChanges) //Se presenti modifiche non salvate + { //Richiesta conferma per chiusura applicazione + if (!Tools.QuestionMessage("Unsaved changes will be lost...\nDo you want to proceed?")) + { + e.Cancel = true; //--> annullamento chiusura form + return; + } + } + } #endregion #region Eventi Liste Files & Links Skin private void itemsTabControl_SelectedIndexChanged(object sender, EventArgs e) @@ -715,17 +727,40 @@ } private void myMenuItems_ListChanged(object sender, EventArgs e) { + unsavedChanges = true; if (!falseRemMenuItem && myMenu.Items.Count > 0) DefaultMenuItemRefresh(); } + private void defaultMenuItemComboBox_SelectedIndexChanged(object sender, EventArgs e) + { + unsavedChanges = true; + } + private void showRssCheckBox_CheckedChanged(object sender, EventArgs e) + { + unsavedChanges = true; + } + private void backgroundAnimatedCheckBox_CheckedChanged(object sender, EventArgs e) + { + unsavedChanges = true; + } private void multiImageTimeTrackBar_ValueChanged(object sender, EventArgs e) { + unsavedChanges = true; multiIMageTimeLabel.Text = multiImageTimeTrackBar.Value.ToString(); } + private void clearCacheCheckBox_CheckedChanged(object sender, EventArgs e) + { + unsavedChanges = true; + } + private void createBackupCheckBox_CheckedChanged(object sender, EventArgs e) + { + unsavedChanges = true; + } #endregion #region Eventi Modifica Sotto-Menu private void subMenuRowRemoveButton_Click(object sender, EventArgs e) { + unsavedChanges = true; int index = subMenuListBox.SelectedIndex; myMenu.Items[menuListBox.SelectedIndex].SubMenuItems.RemoveAt(index); subMenuListBox.Focus(); @@ -807,5 +842,14 @@ return false; } #endregion + + private void updateNotifyTimer_Tick(object sender, EventArgs e) + { + if (menuRowEditButton.Visible) + updateNotifyMenuPictureBox.Visible = !updateNotifyMenuPictureBox.Visible; + else + if (subMenuRowEditButton.Visible) + updateNotifySubMenuPictureBox.Visible = !updateNotifySubMenuPictureBox.Visible; + } } } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx 2013-11-09 19:35:41 UTC (rev 4673) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx 2013-11-11 18:20:05 UTC (rev 4674) @@ -123,15 +123,27 @@ <metadata name="linksTabPage.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="skinTabPage.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="linksTabPage.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="skinLinksTreeView.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="skinLinksTreeView.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="skinTabPage.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> <metadata name="skinFilesListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="skinFilesListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="multiImageFolderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>183, 2</value> </metadata> @@ -144,9 +156,51 @@ <metadata name="propertiesGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="propertiesGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="iconGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="loadParameterTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="windowIdShowLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="skinFileShowLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="captionTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="backgroundGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="overlayGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="labelTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="loadParameterLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="windowIdLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="skinFileLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="captionLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="labelLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="iconGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="iconPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -156,6 +210,12 @@ <metadata name="iconBrowseButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="iconComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="iconBrowseButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="loadParameterTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -201,6 +261,30 @@ <metadata name="singleImageBrowseButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="fanartComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="multiImageComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="fanartRadioButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="multiImageRadioButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="singleImageRadioButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="singleImageComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="multiImageBrowseButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="singleImageBrowseButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="overlayGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -210,6 +294,12 @@ <metadata name="overlayComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="overlayLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="overlayComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="labelTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -234,6 +324,21 @@ <metadata name="creationGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="generalGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="subMenuGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="menuGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="subMenuArrowPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="creationGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="createBackupCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -243,12 +348,33 @@ <metadata name="saveButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="createBackupCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="clearCacheCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="saveButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="generalGroupBox.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"> <value>True</value> </metadata> + <metadata name="defaultMenuItemGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="backgroundAnimatedCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="showRssCheckBox.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"> + <value>True</value> + </metadata> <metadata name="multiIMageTimeLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -258,12 +384,24 @@ <metadata name="multiImageTimeTrackBar.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="multiIMageTimeLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="multiImageTimeSecLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="multiImageTimeTrackBar.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="defaultMenuItemGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> <metadata name="defaultMenuItemComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="defaultMenuItemComboBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="backgroundAnimatedCheckBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -285,6 +423,9 @@ <metadata name="subMenuListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="subMenuListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="menuGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -300,12 +441,48 @@ <metadata name="menuListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> - <metadata name="subMenuArrowPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <metadata name="menuListBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> <metadata name="backgroundImageTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>390, 2</value> </metadata> + <metadata name="iconOpenFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>555, 2</value> + </metadata> + <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>833, 1</value> + </metadata> + <metadata name="subMenuRowRemoveButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="subMenuRowDownButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="subMenuRowUpButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="menuRowRemoveButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="menuRowDownButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="menuRowUpButton.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="subMenuArrowPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="iconPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="fanartHandlerPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="backgroundPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="infoPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> @@ -510,12 +687,9 @@ AAAASUVORK5CYII= </value> </data> - <metadata name="iconOpenFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>555, 2</value> + <metadata name="updateNotifyTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>700, 1</value> </metadata> - <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>703, 1</value> - </metadata> <metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs 2013-11-09 19:35:41 UTC (rev 4673) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/Menu.cs 2013-11-11 18:20:05 UTC (rev 4674) @@ -16,14 +16,14 @@ public int Hyperlink = 0; //Id finestra per visualizzazione in MediaPortal public string HyperlinkParameter = ""; //Eventuali parametri aggiuntivi per visualizzazione (sotto-categorie, ecc.) public string BackgroundImage = ""; //File immagine di background - public string BackgroundFolder = ""; //Cartella per multi-image di background - public string FanartHandler = ""; //Tipologia ... [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.contextTextBox.Location = new System.Drawing.Point(110, 26); + this.contextTextBox.Name = "contextTextBox"; + this.contextTextBox.Size = new System.Drawing.Size(158, 20); + this.contextTextBox.TabIndex = 2; + this.contextTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.contextTextBox.TextChanged += new System.EventHandler(this.labelTextBox_TextChanged); + // + // loadParameterLabel + // + this.loadParameterLabel.AutoSize = true; + this.loadParameterLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.loadParameterLabel.Location = new System.Drawing.Point(9, 133); + this.loadParameterLabel.Name = "loadParameterLabel"; + this.loadParameterLabel.Size = new System.Drawing.Size(99, 15); + this.loadParameterLabel.TabIndex = 4; + this.loadParameterLabel.Text = "Load Parameter:"; + this.loadParameterLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // windowIdLabel + // + this.windowIdLabel.AutoSize = true; + this.windowIdLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.windowIdLabel.Location = new System.Drawing.Point(39, 107); + this.windowIdLabel.Name = "windowIdLabel"; + this.windowIdLabel.Size = new System.Drawing.Size(69, 15); + this.windowIdLabel.TabIndex = 3; + this.windowIdLabel.Text = "Window ID:"; + this.windowIdLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // skinFileLabel + // + this.skinFileLabel.AutoSize = true; + this.skinFileLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.skinFileLabel.Location = new System.Drawing.Point(55, 81); + this.skinFileLabel.Name = "skinFileLabel"; + this.skinFileLabel.Size = new System.Drawing.Size(57, 15); + this.skinFileLabel.TabIndex = 2; + this.skinFileLabel.Text = "Skin File:"; + this.skinFileLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // captionLabel + // + this.captionLabel.AutoSize = true; + this.captionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.captionLabel.Location = new System.Drawing.Point(56, 55); + this.captionLabel.Name = "captionLabel"; + this.captionLabel.Size = new System.Drawing.Size(52, 15); + this.captionLabel.TabIndex = 1; + this.captionLabel.Text = "Caption:"; + this.captionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // contextLabel + // + this.contextLabel.AutoSize = true; + this.contextLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.contextLabel.Location = new System.Drawing.Point(12, 29); + this.contextLabel.Name = "contextLabel"; + this.contextLabel.Size = new System.Drawing.Size(85, 15); + this.contextLabel.TabIndex = 0; + this.contextLabel.Text = "Context Label:"; + this.contextLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // menuPanel + // + this.menuPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(220)))), ((int)(((byte)(227))))); + this.menuPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.menuPanel.Controls.Add(this.creationGroupBox); + this.menuPanel.Controls.Add(this.generalGroupBox); + this.menuPanel.Controls.Add(this.subMenuGroupBox); + this.menuPanel.Controls.Add(this.menuGroupBox); + 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, 495); + this.menuPanel.TabIndex = 24; + // + // creationGroupBox + // + this.creationGroupBox.Controls.Add(this.createBackupCheckBox); + 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, 419); + this.creationGroupBox.Name = "creationGroupBox"; + this.creationGroupBox.Size = new System.Drawing.Size(322, 68); + this.creationGroupBox.TabIndex = 25; + this.creationGroupBox.TabStop = false; + this.creationGroupBox.Text = "Custom Menu Creation"; + // + // createBackupCheckBox + // + this.createBackupCheckBox.AutoSize = true; + this.createBackupCheckBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.createBackupCheckBox.Location = new System.Drawing.Point(178, 43); + this.createBackupCheckBox.Name = "createBackupCheckBox"; + this.createBackupCheckBox.Size = new System.Drawing.Size(135, 17); + 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 + // + this.clearCacheCheckBox.AutoSize = true; + this.clearCacheCheckBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.clearCacheCheckBox.Location = new System.Drawing.Point(178, 20); + this.clearCacheCheckBox.Name = "clearCacheCheckBox"; + this.clearCacheCheckBox.Size = new System.Drawing.Size(83, 17); + this.clearCacheCheckBox.TabIndex = 18; + this.clearCacheCheckBox.Text = "Clear cache"; + this.clearCacheCheckBox.UseVisualStyleBackColor = true; + this.clearCacheCheckBox.CheckedChanged += new System.EventHandler(this.clearCacheCheckBox_CheckedChanged); + // + // saveButton + // + this.saveButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); + this.saveButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.saveButton.Location = new System.Drawing.Point(6, 20); + this.saveButton.Name = "saveButton"; + this.saveButton.Size = new System.Drawing.Size(144, 40); + this.saveButton.TabIndex = 17; + this.saveButton.Text = "SAVE"; + this.saveButton.UseVisualStyleBackColor = false; + this.saveButton.Click += new System.EventHandler(this.saveButton_Click); + // + // generalGroupBox + // + this.generalGroupBox.Controls.Add(this.showContextLabelCheckBox); + this.generalGroupBox.Controls.Add(this.showSubItemBackgroundCheckBox); + 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, 183); + this.generalGroupBox.TabIndex = 24; + this.generalGroupBox.TabStop = false; + this.generalGroupBox.Text = "General Properties"; + // + // showContextLabelCheckBox + // + 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, 41); + this.showContextLabelCheckBox.Name = "showContextLabelCheckBox"; + this.showContextLabelCheckBox.Size = new System.Drawing.Size(116, 17); + this.showContextLabelCheckBox.TabIndex = 7; + this.showContextLabelCheckBox.Text = "Show context label"; + this.showContextLabelCheckBox.UseVisualStyleBackColor = true; + this.showContextLabelCheckBox.CheckedChanged += new System.EventHandler(this.showContextLabelCheckBox_CheckedChanged); + // + // showSubItemBackgroundCheckBox + // + 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 + // + 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"; + // + // 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; + // + // 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; + // + // 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.Name = "defaultMenuItemGroupBox"; + this.defaultMenuItemGroupBox.Size = new System.Drawing.Size(144, 55); + this.defaultMenuItemGroupBox.TabIndex = 4; + this.defaultMenuItemGroupBox.TabStop = false; + this.defaultMenuItemGroupBox.Text = "Default menu item"; + // + // defaultMenuItemComboBox + // + this.defaultMenuItemComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.defaultMenuItemComboBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.defaultMenuItemComboBox.FormattingEnabled = true; + this.defaultMenuItemComboBox.Location = new System.Drawing.Point(6, 22); + 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 + // + 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, 62); + this.backgroundAnimatedCheckBox.Name = "backgroundAnimatedCheckBox"; + this.backgroundAnimatedCheckBox.Size = new System.Drawing.Size(130, 17); + this.backgroundAnimatedCheckBox.TabIndex = 2; + this.backgroundAnimatedCheckBox.Text = "Background animated"; + this.backgroundAnimatedCheckBox.UseVisualStyleBackColor = true; + this.backgroundAnimatedCheckBox.CheckedChanged += new System.EventHandler(this.backgroundAnimatedCheckBox_CheckedChanged); + // + // showRssCheckBox + // + 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, 20); + this.showRssCheckBox.Name = "showRssCheckBox"; + this.showRssCheckBox.Size = new System.Drawing.Size(78, 17); + this.showRssCheckBox.TabIndex = 1; + this.showRssCheckBox.Text = "Show RSS"; + this.showRssCheckBox.UseVisualStyleBackColor = true; + this.showRssCheckBox.CheckedChanged += new System.EventHandler(this.showRssCheckBox_CheckedChanged); + // + // subMenuGroupBox + // + this.subMenuGroupBox.Controls.Add(this.subMenuRowRemoveButton); + this.subMenuGroupBox.Controls.Add(this.subMenuRowDownButton); + this.subMenuGroupBox.Controls.Add(this.subMenuRowUpButton); + this.subMenuGroupBox.Controls.Add(this.subMenuListBox); + 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, 221); + this.subMenuGroupBox.TabIndex = 23; + this.subMenuGroupBox.TabStop = false; + this.subMenuGroupBox.Text = "Sub Menu"; + // + // subMenuRowRemoveButton + // + 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, 171); + this.subMenuRowRemoveButton.Name = "subMenuRowRemoveButton"; + this.subMenuRowRemoveButton.Size = new System.Drawing.Size(38, 38); + this.subMenuRowRemoveButton.TabIndex = 25; + this.subMenuRowRemoveButton.UseVisualStyleBackColor = true; + this.subMenuRowRemoveButton.Click += new System.EventHandler(this.subMenuRowRemoveButton_Click); + // + // subMenuRowDownButton + // + 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, 171); + this.subMenuRowDownButton.Name = "subMenuRowDownButton"; + this.subMenuRowDownButton.Size = new System.Drawing.Size(38, 38); + this.subMenuRowDownButton.TabIndex = 24; + this.subMenuRowDownButton.UseVisualStyleBackColor = true; + this.subMenuRowDownButton.Click += new System.EventHandler(this.subMenuRowDownButton_Click); + // + // subMenuRowUpButton + // + 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, 171); + this.subMenuRowUpButton.Name = "subMenuRowUpButton"; + this.subMenuRowUpButton.Size = new System.Drawing.Size(38, 38); + this.subMenuRowUpButton.TabIndex = 23; + 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.defaultItemRightPanel); + this.menuGroupBox.Controls.Add(this.defaultItemLeftPanel); + 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"; + // + // defaultItemRightPanel + // + this.defaultItemRightPanel.BackColor = System.Drawing.Color.DarkTurquoise; + this.defaultItemRightPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.defaultItemRightPanel.ForeColor = System.Drawing.Color.Black; + this.defaultItemRightPanel.Location = new System.Drawing.Point(144, 25); + this.defaultItemRightPanel.Name = "defaultItemRightPanel"; + this.defaultItemRightPanel.Size = new System.Drawing.Size(4, 17); + this.defaultItemRightPanel.TabIndex = 23; + this.defaultItemRightPanel.Visible = false; + // + // defaultItemLeftPanel + // + this.defaultItemLeftPanel.BackColor = System.Drawing.Color.DarkTurquoise; + this.defaultItemLeftPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.defaultItemLeftPanel.ForeColor = System.Drawing.Color.Black; + this.defaultItemLeftPanel.Location = new System.Drawing.Point(2, 25); + this.defaultItemLeftPanel.Name = "defaultItemLeftPanel"; + this.defaultItemLeftPanel.Size = new System.Drawing.Size(4, 17); + this.defaultItemLeftPanel.TabIndex = 22; + this.defaultItemLeftPanel.Visible = false; + // + // menuRowRemoveButton + // + 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, 171); + this.menuRowRemoveButton.Name = "menuRowRemoveButton"; + this.menuRowRemoveButton.Size = new System.Drawing.Size(38, 38); + this.menuRowRemoveButton.TabIndex = 21; + this.menuRowRemoveButton.UseVisualStyleBackColor = true; + this.menuRowRemoveButton.Click += new System.EventHandler(this.menuRowRemoveButton_Click); + // + // menuRowDownButton + // + 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, 171); + this.menuRowDownButton.Name = "menuRowDownButton"; + this.menuRowDownButton.Size = new System.Drawing.Size(38, 38); + this.menuRowDownButton.TabIndex = 20; + this.menuRowDownButton.UseVisualStyleBackColor = true; + this.menuRowDownButton.Click += new System.EventHandler(this.menuRowDownButton_Click); + // + // menuRowUpButton + // + 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, 171); + this.menuRowUpButton.Name = "menuRowUpButton"; + this.menuRowUpButton.Size = new System.Drawing.Size(38, 38); + this.menuRowUpButton.TabIndex = 19; + 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; + this.subMenuArrowPictureBox.Location = new System.Drawing.Point(148, 22); + this.subMenuArrowPictureBox.Name = "subMenuArrowPictureBox"; + this.subMenuArrowPictureBox.Size = new System.Drawing.Size(30, 30); + this.subMenuArrowPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.subMenuArrowPictureBox.TabIndex = 26; + this.subMenuArrowPictureBox.TabStop = false; + // + // 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; + // + // updateNotifyTimer + // + this.updateNotifyTimer.Interval = 1250; + this.updateNotifyTimer.Tick += new System.EventHandler(this.updateNotifyTimer_Tick); + // + // infoPictureBox + // + this.infoPictureBox.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.Info; + this.infoPictureBox.Location = new System.Drawing.Point(994, 1); + this.infoPictureBox.Name = "infoPictureBox"; + this.infoPictureBox.Size = new System.Drawing.Size(24, 24); + this.infoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.infoPictureBox.TabIndex = 29; + this.infoPictureBox.TabStop = false; + this.infoPictureBox.Click += new System.EventHandler(this.infoPictureBox_Click); + // + // subMenuRowAddButton + // + this.subMenuRowAddButton.AutoSize = true; + this.subMenuRowAddButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.subMenuRowAddButton.Image = global::ProcessPlugins.XtremeMenuEditor.Properties.Resources.SubRowAdd; + this.subMenuRowAddButton.Location = new System.Drawing.Point(906, 31); + this.subMenuRowAddButton.Name = "subMenuRowAddButton"; + this.subMenuRowAddButton.Size = new System.Drawing.Size(38, 38); + this.subMenuRowAddButton.TabIndex = 17; + this.subMenuRowAddButton.UseVisualStyleBackColor = true; + this.subMenuRowAddButton.Click += new System.EventHandler(this.subMenuRowAddButton_Click); + // + // menuRowAddButton + // + this.menuRowAddButton.AutoSize = true; + this.menuRowAddButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.menu... [truncated message content] |