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] |