|
From: <nic...@us...> - 2013-12-03 15:45:00
|
Revision: 4695
http://sourceforge.net/p/mp-plugins/code/4695
Author: nicsergio
Date: 2013-12-03 15:44:57 +0000 (Tue, 03 Dec 2013)
Log Message:
-----------
Modified Paths:
--------------
trunk/plugins/ShortCuter&SkinEditor/Source/MediaPortalPlugins.sln
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
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/MediaPortalPlugins.sln
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/MediaPortalPlugins.sln 2013-12-02 06:05:06 UTC (rev 4694)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/MediaPortalPlugins.sln 2013-12-03 15:44:57 UTC (rev 4695)
@@ -25,6 +25,7 @@
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{350D17A6-0F6B-43C4-898F-33CC68EBCD75}.Debug|Any CPU.ActiveCfg = Debug|x86
{350D17A6-0F6B-43C4-898F-33CC68EBCD75}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {350D17A6-0F6B-43C4-898F-33CC68EBCD75}.Debug|Mixed Platforms.Build.0 = Debug|x86
{350D17A6-0F6B-43C4-898F-33CC68EBCD75}.Debug|x86.ActiveCfg = Debug|x86
{350D17A6-0F6B-43C4-898F-33CC68EBCD75}.Debug|x86.Build.0 = Debug|x86
{350D17A6-0F6B-43C4-898F-33CC68EBCD75}.Release|Any CPU.ActiveCfg = Release|x86
@@ -43,7 +44,6 @@
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Debug|x86.ActiveCfg = Debug|Any CPU
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Release|Any CPU.Build.0 = Release|Any CPU
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-12-02 06:05:06 UTC (rev 4694)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.Designer.cs 2013-12-03 15:44:57 UTC (rev 4695)
@@ -61,18 +61,20 @@
this.overlayGroupBox = new System.Windows.Forms.GroupBox();
this.overlayLabel = new System.Windows.Forms.Label();
this.overlayComboBox = new System.Windows.Forms.ComboBox();
- this.labelTextBox = new System.Windows.Forms.TextBox();
+ 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.labelLabel = 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.showSubMenuBackgroundCheckBox = 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();
@@ -86,12 +88,14 @@
this.subMenuRowDownButton = new System.Windows.Forms.Button();
this.subMenuRowUpButton = new System.Windows.Forms.Button();
this.subMenuListBox = new System.Windows.Forms.ListBox();
- this.subMenuArrowPictureBox = new System.Windows.Forms.PictureBox();
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);
@@ -106,8 +110,6 @@
this.updateNotifyMenuPictureBox = new System.Windows.Forms.PictureBox();
this.updateNotifySubMenuPictureBox = new System.Windows.Forms.PictureBox();
this.arrowsPictureBox = new System.Windows.Forms.PictureBox();
- this.defaultItemLeftPanel = new System.Windows.Forms.Panel();
- this.defaultItemRightPanel = new System.Windows.Forms.Panel();
this.itemsTabControl.SuspendLayout();
this.linksTabPage.SuspendLayout();
this.skinTabPage.SuspendLayout();
@@ -126,8 +128,8 @@
((System.ComponentModel.ISupportInitialize)(this.multiImageTimeTrackBar)).BeginInit();
this.defaultMenuItemGroupBox.SuspendLayout();
this.subMenuGroupBox.SuspendLayout();
+ this.menuGroupBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.subMenuArrowPictureBox)).BeginInit();
- this.menuGroupBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.infoPictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.propLeftPictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.propRightPictureBox)).BeginInit();
@@ -224,12 +226,12 @@
this.propertiesGroupBox.Controls.Add(this.captionTextBox);
this.propertiesGroupBox.Controls.Add(this.backgroundGroupBox);
this.propertiesGroupBox.Controls.Add(this.overlayGroupBox);
- this.propertiesGroupBox.Controls.Add(this.labelTextBox);
+ 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.labelLabel);
+ 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";
@@ -248,7 +250,7 @@
this.iconGroupBox.Size = new System.Drawing.Size(324, 94);
this.iconGroupBox.TabIndex = 14;
this.iconGroupBox.TabStop = false;
- this.iconGroupBox.Text = "Icon";
+ this.iconGroupBox.Text = "Icon (Horus Theme)";
//
// iconPictureBox
//
@@ -488,16 +490,16 @@
this.overlayComboBox.TabIndex = 18;
this.overlayComboBox.TextChanged += new System.EventHandler(this.overlayComboBox_TextChanged);
//
- // labelTextBox
+ // contextTextBox
//
- this.labelTextBox.BackColor = System.Drawing.SystemColors.Window;
- this.labelTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.labelTextBox.Location = new System.Drawing.Point(110, 26);
- this.labelTextBox.Name = "labelTextBox";
- this.labelTextBox.Size = new System.Drawing.Size(158, 20);
- this.labelTextBox.TabIndex = 2;
- this.labelTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.labelTextBox.TextChanged += new System.EventHandler(this.labelTextBox_TextChanged);
+ 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
//
@@ -543,16 +545,16 @@
this.captionLabel.Text = "Caption:";
this.captionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // labelLabel
+ // contextLabel
//
- this.labelLabel.AutoSize = true;
- this.labelLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.labelLabel.Location = new System.Drawing.Point(12, 29);
- this.labelLabel.Name = "labelLabel";
- this.labelLabel.Size = new System.Drawing.Size(96, 15);
- this.labelLabel.TabIndex = 0;
- this.labelLabel.Text = "Label (optional):";
- this.labelLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ 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
//
@@ -619,6 +621,8 @@
//
// generalGroupBox
//
+ this.generalGroupBox.Controls.Add(this.showContextLabelCheckBox);
+ this.generalGroupBox.Controls.Add(this.showSubMenuBackgroundCheckBox);
this.generalGroupBox.Controls.Add(this.multiImageTimeGroupBox);
this.generalGroupBox.Controls.Add(this.defaultMenuItemGroupBox);
this.generalGroupBox.Controls.Add(this.backgroundAnimatedCheckBox);
@@ -631,6 +635,30 @@
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, 42);
+ 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);
+ //
+ // showSubMenuBackgroundCheckBox
+ //
+ 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);
+ //
// multiImageTimeGroupBox
//
this.multiImageTimeGroupBox.Controls.Add(this.multiIMageTimeLabel);
@@ -681,9 +709,9 @@
//
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, 31);
+ this.defaultMenuItemGroupBox.Location = new System.Drawing.Point(6, 20);
this.defaultMenuItemGroupBox.Name = "defaultMenuItemGroupBox";
- this.defaultMenuItemGroupBox.Size = new System.Drawing.Size(144, 52);
+ this.defaultMenuItemGroupBox.Size = new System.Drawing.Size(144, 55);
this.defaultMenuItemGroupBox.TabIndex = 4;
this.defaultMenuItemGroupBox.TabStop = false;
this.defaultMenuItemGroupBox.Text = "Default menu item";
@@ -703,7 +731,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, 66);
+ 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;
@@ -715,7 +743,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, 43);
+ 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;
@@ -785,16 +813,6 @@
this.subMenuListBox.SelectedIndexChanged += new System.EventHandler(this.subMenuListBox_SelectedIndexChanged);
this.subMenuListBox.Enter += new System.EventHandler(this.subMenuListBox_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;
- //
// menuGroupBox
//
this.menuGroupBox.Controls.Add(this.defaultItemRightPanel);
@@ -810,8 +828,29 @@
this.menuGroupBox.TabIndex = 21;
this.menuGroupBox.TabStop = false;
this.menuGroupBox.Text = "Menu";
- this.menuGroupBox.Enter += new System.EventHandler(this.menuGroupBox_Enter);
//
+ // 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;
@@ -860,6 +899,16 @@
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;
@@ -996,28 +1045,6 @@
this.arrowsPictureBox.TabIndex = 26;
this.arrowsPictureBox.TabStop = 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;
- //
- // 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;
- //
// BHEditorForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -1071,9 +1098,9 @@
this.defaultMenuItemGroupBox.ResumeLayout(false);
this.subMenuGroupBox.ResumeLayout(false);
this.subMenuGroupBox.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.subMenuArrowPictureBox)).EndInit();
this.menuGroupBox.ResumeLayout(false);
this.menuGroupBox.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.subMenuArrowPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.infoPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.propLeftPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.propRightPictureBox)).EndInit();
@@ -1111,12 +1138,12 @@
private System.Windows.Forms.GroupBox overlayGroupBox;
private System.Windows.Forms.Label overlayLabel;
private System.Windows.Forms.ComboBox overlayComboBox;
- private System.Windows.Forms.TextBox labelTextBox;
+ private System.Windows.Forms.TextBox contextTextBox;
private System.Windows.Forms.Label loadParameterLabel;
private System.Windows.Forms.Label windowIdLabel;
private System.Windows.Forms.Label skinFileLabel;
private System.Windows.Forms.Label captionLabel;
- private System.Windows.Forms.Label labelLabel;
+ private System.Windows.Forms.Label contextLabel;
private System.Windows.Forms.PictureBox propLeftPictureBox;
private System.Windows.Forms.PictureBox propRightPictureBox;
private System.Windows.Forms.Panel menuPanel;
@@ -1165,6 +1192,8 @@
private System.Windows.Forms.Timer updateNotifyTimer;
private System.Windows.Forms.Panel defaultItemLeftPanel;
private System.Windows.Forms.Panel defaultItemRightPanel;
+ private System.Windows.Forms.CheckBox showContextLabelCheckBox;
+ private System.Windows.Forms.CheckBox showSubMenuBackgroundCheckBox;
}
}
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-12-02 06:05:06 UTC (rev 4694)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-12-03 15:44:57 UTC (rev 4695)
@@ -52,7 +52,9 @@
DefaultMenuItemRefresh();
defaultMenuItemComboBox.SelectedIndex = myMenu.GeneralDefaultItemIndex;
showRssCheckBox.Checked = myMenu.GeneralShowRSS;
+ showContextLabelCheckBox.Checked = false;
backgroundAnimatedCheckBox.Checked = myMenu.GeneralBackgroundAnimated;
+ showSubMenuBackgroundCheckBox.Checked = false;
int multiImageTime = myMenu.GeneralMultiImageTime / 1000;
multiImageTimeTrackBar.Value = ((multiImageTime >= multiImageTimeTrackBar.Minimum & multiImageTime <= multiImageTimeTrackBar.Maximum) ? multiImageTime : multiImageTimeTrackBar.Maximum);
multiIMageTimeLabel.Text = multiImageTimeTrackBar.Value.ToString();
@@ -109,8 +111,8 @@
{
case "skinFilesListBox": //Lista files della skin
propertiesGroupBox.Text = propBoxText + " (Skin Files)";
- labelTextBox.Enabled= true;
- labelTextBox.Text = "";
+ contextTextBox.Enabled= true;
+ contextTextBox.Text = "";
captionTextBox.Text = "";
skinFileShowLabel.Text = myMediaPortal.SelectedSkin.SkinFiles[selectedIndex].Name;
windowIdShowLabel.Text = myMediaPortal.SelectedSkin.SkinFiles[selectedIndex].Id.ToString();
@@ -138,8 +140,8 @@
case "skinLinksTreeView": //Lista links predefiniti della skin
propertiesGroupBox.Text = propBoxText + " (Default Links)";
- labelTextBox.Enabled= true;
- labelTextBox.Text = myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].Context;
+ contextTextBox.Enabled= true;
+ contextTextBox.Text = myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].Context;
captionTextBox.Text = myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].Caption;
skinFileShowLabel.Text = myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].XmlFile;
windowIdShowLabel.Text = myMediaPortal.SelectedSkin.SkinLinks[selectedIndex].WindowID.ToString();
@@ -185,8 +187,8 @@
case "menuListBox": //Lista elementi di menu
propertiesGroupBox.Text = propBoxText + " (Menu)";
- labelTextBox.Enabled= true;
- labelTextBox.Text = myMenu.Items[selectedIndex].Context;
+ contextTextBox.Enabled= true;
+ contextTextBox.Text = myMenu.Items[selectedIndex].Context;
captionTextBox.Text = myMenu.Items[selectedIndex].Caption;
skinFileShowLabel.Text = myMenu.Items[selectedIndex].XmlFile;
windowIdShowLabel.Text = myMenu.Items[selectedIndex].Hyperlink.ToString();
@@ -234,8 +236,8 @@
if (menuListBox.SelectedIndex < 0)
return;
propertiesGroupBox.Text = propBoxText + " (Sub Menu)";
- labelTextBox.Enabled = false;
- labelTextBox.Text = "";
+ contextTextBox.Enabled = false;
+ contextTextBox.Text = "";
captionTextBox.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].Caption;
skinFileShowLabel.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].XmlFile;
windowIdShowLabel.Text = myMenu.Items[menuListBox.SelectedIndex].SubMenuItems[selectedIndex].Hyperlink.ToString();
@@ -395,7 +397,7 @@
return;
}
MenuItem mItem = new MenuItem();
- mItem.Context = labelTextBox.Text;
+ mItem.Context = contextTextBox.Text;
mItem.Caption = captionTextBox.Text;
mItem.XmlFile = skinFileShowLabel.Text;
mItem.Hyperlink = Convert.ToInt32(windowIdShowLabel.Text);
@@ -440,7 +442,7 @@
return;
}
- if (labelTextBox.Text.Length > 0 || multiImageRadioButton.Checked || fanartRadioButton.Checked || overlayComboBox.SelectedIndex > 0)
+ if (contextTextBox.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" +
@@ -772,10 +774,18 @@
{
unsavedChanges = true;
}
+ private void showContextLabelCheckBox_CheckedChanged(object sender, EventArgs e)
+ {
+ unsavedChanges = true;
+ }
private void backgroundAnimatedCheckBox_CheckedChanged(object sender, EventArgs e)
{
unsavedChanges = true;
}
+ private void showSubMenuBackgroundCheckBox_CheckedChanged(object sender, EventArgs e)
+ {
+ unsavedChanges = true;
+ }
private void multiImageTimeTrackBar_ValueChanged(object sender, EventArgs e)
{
unsavedChanges = true;
@@ -939,10 +949,5 @@
return false;
}
#endregion
-
- private void menuGroupBox_Enter(object sender, EventArgs e)
- {
-
- }
- }
+ }
}
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx 2013-12-02 06:05:06 UTC (rev 4694)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.resx 2013-12-03 15:44:57 UTC (rev 4695)
@@ -210,7 +210,7 @@
<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">
+ <metadata name="contextTextBox.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">
@@ -225,7 +225,7 @@
<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">
+ <metadata name="contextLabel.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">
@@ -246,6 +246,12 @@
<metadata name="generalGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
+ <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">
+ <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>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|