OSDN Git Service

RAD-233: Support for high-contrast color schemes
authorLatif Khalifa <latifer@streamgrid.net>
Thu, 27 Jan 2011 13:43:04 +0000 (13:43 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Thu, 27 Jan 2011 13:43:04 +0000 (13:43 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@789 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/Core/ChatTextManager.cs
Radegast/Core/RadegastInstance.cs
Radegast/GUI/Consoles/ChatConsole.Designer.cs
Radegast/GUI/Consoles/ChatConsole.resx
Radegast/GUI/Consoles/ConferenceIMTabWindow.Designer.cs
Radegast/GUI/Consoles/GroupIMTabWindow.Designer.cs
Radegast/GUI/Consoles/IMTabWindow.Designer.cs
Radegast/GUI/Consoles/LoginConsole.Designer.cs
Radegast/GUI/Consoles/LoginConsole.cs
Radegast/GUI/Dialogs/MainForm.Designer.cs
Radegast/GUI/Dialogs/MainForm.cs

index 12709d9..91467a9 100644 (file)
@@ -136,14 +136,14 @@ namespace Radegast
 
                 if (showTimestamps)
                 {
-                    textPrinter.ForeColor = Color.Gray;
+                    textPrinter.ForeColor = SystemColors.GrayText;
                     textPrinter.PrintText(item.Timestamp.ToString("[HH:mm] "));
                 }
 
                 switch (item.Style)
                 {
                     case ChatBufferTextStyle.Normal:
-                        textPrinter.ForeColor = Color.Black;
+                        textPrinter.ForeColor = SystemColors.WindowText;
                         break;
 
                     case ChatBufferTextStyle.StatusBlue:
@@ -163,7 +163,7 @@ namespace Radegast
                         break;
 
                     case ChatBufferTextStyle.StartupTitle:
-                        textPrinter.ForeColor = Color.Black;
+                        textPrinter.ForeColor = SystemColors.WindowText;
                         textPrinter.Font = new Font(textPrinter.Font, FontStyle.Bold);
                         break;
 
index 821c175..7c17eda 100644 (file)
@@ -197,6 +197,21 @@ namespace Radegast
         /// <summary>Manages default params for different grids</summary>
         public GridManager GridManger { get { return gridManager; } }
 
+        /// <summary>
+        /// Is system using plain color theme, with white background and dark text
+        /// </summary>
+        public bool PlainColors
+        {
+            get
+            {
+                // If windows background is whiteish, declare as standard color scheme
+                var c = System.Drawing.SystemColors.Window;
+                if (c.R > 240 && c.G > 240 && c.B > 240)
+                    return true;
+                return false;
+            }
+        }
+
         #region Events
 
         #region ClientChanged event
index 12149f4..4e8ea83 100644 (file)
@@ -81,6 +81,7 @@ namespace Radegast
             this.ctxTeleportTo = new System.Windows.Forms.ToolStripMenuItem();
             this.ctxEject = new System.Windows.Forms.ToolStripMenuItem();
             this.ctxBan = new System.Windows.Forms.ToolStripMenuItem();
+            this.ctxEstateEject = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStrip1 = new System.Windows.Forms.ToolStrip();
             this.tbtnStartIM = new System.Windows.Forms.ToolStripButton();
             this.tbtnProfile = new System.Windows.Forms.ToolStripButton();
@@ -102,7 +103,6 @@ namespace Radegast
             this.pnlChatInput = new System.Windows.Forms.Panel();
             this.cbChatType = new System.Windows.Forms.ComboBox();
             this.cbxInput = new Radegast.ChatInputBox();
-            this.ctxEstateEject = new System.Windows.Forms.ToolStripMenuItem();
             this.splitContainer1.Panel1.SuspendLayout();
             this.splitContainer1.Panel2.SuspendLayout();
             this.splitContainer1.SuspendLayout();
@@ -121,7 +121,6 @@ namespace Radegast
             this.btnSay.Size = new System.Drawing.Size(76, 24);
             this.btnSay.TabIndex = 10;
             this.btnSay.Text = "Say";
-            this.btnSay.UseVisualStyleBackColor = true;
             this.btnSay.Click += new System.EventHandler(this.btnSay_Click);
             // 
             // splitContainer1
@@ -148,7 +147,7 @@ namespace Radegast
             // rtbChat
             // 
             this.rtbChat.AccessibleName = "Chat history";
-            this.rtbChat.BackColor = System.Drawing.Color.White;
+            this.rtbChat.BackColor = System.Drawing.SystemColors.Window;
             this.rtbChat.Dock = System.Windows.Forms.DockStyle.Fill;
             this.rtbChat.HideSelection = false;
             this.rtbChat.Location = new System.Drawing.Point(0, 0);
@@ -201,7 +200,7 @@ namespace Radegast
             this.ctxBan,
             this.ctxEstateEject});
             this.avatarContext.Name = "avatarContext";
-            this.avatarContext.Size = new System.Drawing.Size(163, 356);
+            this.avatarContext.Size = new System.Drawing.Size(163, 334);
             this.avatarContext.Opening += new System.ComponentModel.CancelEventHandler(this.avatarContext_Opening);
             // 
             // ctxProfile
@@ -308,6 +307,14 @@ namespace Radegast
             this.ctxBan.ToolTipText = " Ban ";
             this.ctxBan.Click += new System.EventHandler(this.ctxBan_Click);
             // 
+            // ctxEstateEject
+            // 
+            this.ctxEstateEject.Name = "ctxEstateEject";
+            this.ctxEstateEject.Size = new System.Drawing.Size(162, 22);
+            this.ctxEstateEject.Text = "Eject from estate";
+            this.ctxEstateEject.ToolTipText = " Eject from estate ";
+            this.ctxEstateEject.Click += new System.EventHandler(this.ctxEstateEject_Click);
+            // 
             // toolStrip1
             // 
             this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Right;
@@ -338,7 +345,6 @@ namespace Radegast
             this.tbtnStartIM.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
             this.tbtnStartIM.Enabled = false;
             this.tbtnStartIM.Image = global::Radegast.Properties.Resources.computer_16;
-            this.tbtnStartIM.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnStartIM.Name = "tbtnStartIM";
             this.tbtnStartIM.Size = new System.Drawing.Size(38, 20);
             this.tbtnStartIM.ToolTipText = "Start IM";
@@ -351,7 +357,6 @@ namespace Radegast
             this.tbtnProfile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
             this.tbtnProfile.Enabled = false;
             this.tbtnProfile.Image = global::Radegast.Properties.Resources.applications_16;
-            this.tbtnProfile.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnProfile.Name = "tbtnProfile";
             this.tbtnProfile.Size = new System.Drawing.Size(38, 20);
             this.tbtnProfile.ToolTipText = "View Profile";
@@ -369,7 +374,6 @@ namespace Radegast
             this.tbtnFollow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
             this.tbtnFollow.Enabled = false;
             this.tbtnFollow.Image = global::Radegast.Properties.Resources.arrow_forward_16;
-            this.tbtnFollow.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnFollow.Name = "tbtnFollow";
             this.tbtnFollow.Size = new System.Drawing.Size(38, 20);
             this.tbtnFollow.ToolTipText = "Follow";
@@ -386,7 +390,6 @@ namespace Radegast
             this.tbtnTextures.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
             this.tbtnTextures.Enabled = false;
             this.tbtnTextures.Image = ((System.Drawing.Image)(resources.GetObject("tbtnTextures.Image")));
-            this.tbtnTextures.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnTextures.Name = "tbtnTextures";
             this.tbtnTextures.Size = new System.Drawing.Size(38, 19);
             this.tbtnTextures.Text = "Txtr";
@@ -403,7 +406,6 @@ namespace Radegast
             this.tbtnAttach.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
             this.tbtnAttach.Enabled = false;
             this.tbtnAttach.Image = ((System.Drawing.Image)(resources.GetObject("tbtnAttach.Image")));
-            this.tbtnAttach.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnAttach.Name = "tbtnAttach";
             this.tbtnAttach.Size = new System.Drawing.Size(38, 19);
             this.tbtnAttach.Text = "Attn";
@@ -421,7 +423,6 @@ namespace Radegast
             this.tbtnMaster.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
             this.tbtnMaster.Enabled = false;
             this.tbtnMaster.Image = ((System.Drawing.Image)(resources.GetObject("tbtnMaster.Image")));
-            this.tbtnMaster.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnMaster.Name = "tbtnMaster";
             this.tbtnMaster.Size = new System.Drawing.Size(38, 19);
             this.tbtnMaster.Text = "Mstr";
@@ -438,7 +439,6 @@ namespace Radegast
             this.tbtnAnim.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
             this.tbtnAnim.Enabled = false;
             this.tbtnAnim.Image = ((System.Drawing.Image)(resources.GetObject("tbtnAnim.Image")));
-            this.tbtnAnim.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnAnim.Name = "tbtnAnim";
             this.tbtnAnim.Size = new System.Drawing.Size(38, 19);
             this.tbtnAnim.Text = "Anim";
@@ -469,7 +469,6 @@ namespace Radegast
             this.btnMoveBack.TabIndex = 2;
             this.btnMoveBack.TabStop = false;
             this.btnMoveBack.Text = "R";
-            this.btnMoveBack.UseVisualStyleBackColor = true;
             this.btnMoveBack.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnMoveBack_MouseDown);
             this.btnMoveBack.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnMoveBack_MouseUp);
             // 
@@ -484,7 +483,6 @@ namespace Radegast
             this.btnFwd.TabIndex = 1;
             this.btnFwd.TabStop = false;
             this.btnFwd.Text = "^";
-            this.btnFwd.UseVisualStyleBackColor = true;
             this.btnFwd.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnFwd_MouseDown);
             this.btnFwd.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnFwd_MouseUp);
             // 
@@ -499,7 +497,6 @@ namespace Radegast
             this.btnTurnRight.TabIndex = 4;
             this.btnTurnRight.TabStop = false;
             this.btnTurnRight.Text = ">>";
-            this.btnTurnRight.UseVisualStyleBackColor = true;
             this.btnTurnRight.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnTurnRight_MouseDown);
             this.btnTurnRight.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnTurnRight_MouseUp);
             // 
@@ -514,7 +511,6 @@ namespace Radegast
             this.btnTurnLeft.TabIndex = 3;
             this.btnTurnLeft.TabStop = false;
             this.btnTurnLeft.Text = "<<";
-            this.btnTurnLeft.UseVisualStyleBackColor = true;
             this.btnTurnLeft.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnTurnLeft_MouseDown);
             this.btnTurnLeft.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnTurnLeft_MouseUp);
             // 
@@ -533,7 +529,6 @@ namespace Radegast
             // 
             this.cbChatType.AccessibleName = "Chat type";
             this.cbChatType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.cbChatType.BackColor = System.Drawing.SystemColors.Window;
             this.cbChatType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cbChatType.Enabled = false;
             this.cbChatType.FormattingEnabled = true;
@@ -560,14 +555,6 @@ namespace Radegast
             this.cbxInput.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cbxInput_KeyDown);
             this.cbxInput.SizeChanged += new System.EventHandler(this.cbxInput_SizeChanged);
             // 
-            // ctxEstateEject
-            // 
-            this.ctxEstateEject.Name = "ctxEstateEject";
-            this.ctxEstateEject.Size = new System.Drawing.Size(162, 22);
-            this.ctxEstateEject.Text = "Eject from estate";
-            this.ctxEstateEject.ToolTipText = " Eject from estate ";
-            this.ctxEstateEject.Click += new System.EventHandler(this.ctxEstateEject_Click);
-            // 
             // ChatConsole
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
index 8e9fedc..892c44d 100644 (file)
   <data name="tbtnTextures.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
     <value>\r
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8\r
-        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI\r
+        YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI\r
         ymqkDYYXcCjDZOANURSjCNGFQUTsl4GXVMxKk62YU4fXQpaIlygHQxBRH8/zwvyaIAYe+HLgnPN8nue9\r
         HA3nvDTq63oW/jm13XOwvPTB3DYFY5MH+bXfcN8ygfTSMSSXfESicQDxBqdYHwH29g9w2tnZ3UcguIvN\r
         rR3417exuBJE5N1n/wfwLgXEOc38Bc6xNRHb+/y4nm49G0Bnit2zf9H6bkliE/jKuYxrd6oVgDWfjB+K\r
   <data name="tbtnAttach.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
     <value>\r
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8\r
-        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI\r
+        YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI\r
         ymqkDYYXcCjDZOANURSjCNGFQUTsl4GXVMxKk62YU4fXQpaIlygHQxBRH8/zwvyaIAYe+HLgnPN8nue9\r
         HA3nvDTq63oW/jm13XOwvPTB3DYFY5MH+bXfcN8ygfTSMSSXfESicQDxBqdYHwH29g9w2tnZ3UcguIvN\r
         rR3417exuBJE5N1n/wfwLgXEOc38Bc6xNRHb+/y4nm49G0Bnit2zf9H6bkliE/jKuYxrd6oVgDWfjB+K\r
   <data name="tbtnMaster.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
     <value>\r
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8\r
-        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI\r
+        YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI\r
         ymqkDYYXcCjDZOANURSjCNGFQUTsl4GXVMxKk62YU4fXQpaIlygHQxBRH8/zwvyaIAYe+HLgnPN8nue9\r
         HA3nvDTq63oW/jm13XOwvPTB3DYFY5MH+bXfcN8ygfTSMSSXfESicQDxBqdYHwH29g9w2tnZ3UcguIvN\r
         rR3417exuBJE5N1n/wfwLgXEOc38Bc6xNRHb+/y4nm49G0Bnit2zf9H6bkliE/jKuYxrd6oVgDWfjB+K\r
   <data name="tbtnAnim.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
     <value>\r
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8\r
-        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI\r
+        YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI\r
         ymqkDYYXcCjDZOANURSjCNGFQUTsl4GXVMxKk62YU4fXQpaIlygHQxBRH8/zwvyaIAYe+HLgnPN8nue9\r
         HA3nvDTq63oW/jm13XOwvPTB3DYFY5MH+bXfcN8ygfTSMSSXfESicQDxBqdYHwH29g9w2tnZ3UcguIvN\r
         rR3417exuBJE5N1n/wfwLgXEOc38Bc6xNRHb+/y4nm49G0Bnit2zf9H6bkliE/jKuYxrd6oVgDWfjB+K\r
index 3aa2eb6..cd92235 100644 (file)
@@ -67,7 +67,7 @@ namespace Radegast
             // 
             // rtbIMText
             // 
-            this.rtbIMText.BackColor = System.Drawing.Color.White;
+            this.rtbIMText.BackColor = System.Drawing.SystemColors.Window;
             this.rtbIMText.Dock = System.Windows.Forms.DockStyle.Fill;
             this.rtbIMText.HideSelection = false;
             this.rtbIMText.Location = new System.Drawing.Point(0, 0);
index 9a97818..5c07d96 100644 (file)
@@ -61,9 +61,9 @@ namespace Radegast
             this.rtbIMText = new System.Windows.Forms.RichTextBox();
             this.btnSend = new System.Windows.Forms.Button();
             this.chatSplit = new System.Windows.Forms.SplitContainer();
+            this.Participants = new Radegast.ListViewNoFlicker();
             this.btnShow = new System.Windows.Forms.Button();
             this.pnlChatInput = new System.Windows.Forms.Panel();
-            this.Participants = new Radegast.ListViewNoFlicker();
             this.cbxInput = new Radegast.ChatInputBox();
             this.chatSplit.Panel1.SuspendLayout();
             this.chatSplit.Panel2.SuspendLayout();
@@ -73,7 +73,7 @@ namespace Radegast
             // 
             // rtbIMText
             // 
-            this.rtbIMText.BackColor = System.Drawing.Color.White;
+            this.rtbIMText.BackColor = System.Drawing.SystemColors.Window;
             this.rtbIMText.Dock = System.Windows.Forms.DockStyle.Fill;
             this.rtbIMText.HideSelection = false;
             this.rtbIMText.Location = new System.Drawing.Point(0, 0);
@@ -113,6 +113,22 @@ namespace Radegast
             this.chatSplit.SplitterDistance = 377;
             this.chatSplit.TabIndex = 3;
             // 
+            // Participants
+            // 
+            this.Participants.Activation = System.Windows.Forms.ItemActivation.OneClick;
+            this.Participants.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Participants.HideSelection = false;
+            this.Participants.Location = new System.Drawing.Point(0, 0);
+            this.Participants.MultiSelect = false;
+            this.Participants.Name = "Participants";
+            this.Participants.ShowGroups = false;
+            this.Participants.Size = new System.Drawing.Size(119, 302);
+            this.Participants.Sorting = System.Windows.Forms.SortOrder.Ascending;
+            this.Participants.TabIndex = 4;
+            this.Participants.UseCompatibleStateImageBehavior = false;
+            this.Participants.View = System.Windows.Forms.View.List;
+            this.Participants.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.Participants_MouseDoubleClick);
+            // 
             // btnShow
             // 
             this.btnShow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
@@ -135,22 +151,6 @@ namespace Radegast
             this.pnlChatInput.Size = new System.Drawing.Size(500, 28);
             this.pnlChatInput.TabIndex = 4;
             // 
-            // Participants
-            // 
-            this.Participants.Activation = System.Windows.Forms.ItemActivation.OneClick;
-            this.Participants.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.Participants.HideSelection = false;
-            this.Participants.Location = new System.Drawing.Point(0, 0);
-            this.Participants.MultiSelect = false;
-            this.Participants.Name = "Participants";
-            this.Participants.ShowGroups = false;
-            this.Participants.Size = new System.Drawing.Size(119, 302);
-            this.Participants.Sorting = System.Windows.Forms.SortOrder.Ascending;
-            this.Participants.TabIndex = 4;
-            this.Participants.UseCompatibleStateImageBehavior = false;
-            this.Participants.View = System.Windows.Forms.View.List;
-            this.Participants.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.Participants_MouseDoubleClick);
-            // 
             // cbxInput
             // 
             this.cbxInput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
index d64ea67..01b46c6 100644 (file)
@@ -70,7 +70,7 @@ namespace Radegast
             // 
             // rtbIMText
             // 
-            this.rtbIMText.BackColor = System.Drawing.Color.White;
+            this.rtbIMText.BackColor = System.Drawing.SystemColors.Window;
             this.rtbIMText.Dock = System.Windows.Forms.DockStyle.Fill;
             this.rtbIMText.HideSelection = false;
             this.rtbIMText.Location = new System.Drawing.Point(0, 25);
index fb68b83..070c9fe 100644 (file)
@@ -128,7 +128,6 @@ namespace Radegast
             // 
             this.cbxGrid.AccessibleName = "Grid";
             this.cbxGrid.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.cbxGrid.ForeColor = System.Drawing.Color.Black;
             this.cbxGrid.Location = new System.Drawing.Point(56, 70);
             this.cbxGrid.Name = "cbxGrid";
             this.cbxGrid.Size = new System.Drawing.Size(210, 21);
@@ -186,7 +185,6 @@ namespace Radegast
             // cbxLocation
             // 
             this.cbxLocation.AccessibleName = "Start Location";
-            this.cbxLocation.ForeColor = System.Drawing.Color.Black;
             this.cbxLocation.Items.AddRange(new object[] {
             "My Home",
             "My Last Location"});
@@ -214,7 +212,6 @@ namespace Radegast
             this.btnLogin.Size = new System.Drawing.Size(116, 23);
             this.btnLogin.TabIndex = 15;
             this.btnLogin.Text = "Login";
-            this.btnLogin.UseVisualStyleBackColor = false;
             this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
             // 
             // pnlLoggingIn
@@ -244,7 +241,6 @@ namespace Radegast
             this.lblLoginStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                         | System.Windows.Forms.AnchorStyles.Right)));
             this.lblLoginStatus.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.lblLoginStatus.ForeColor = System.Drawing.Color.Silver;
             this.lblLoginStatus.Location = new System.Drawing.Point(3, 0);
             this.lblLoginStatus.Name = "lblLoginStatus";
             this.lblLoginStatus.Size = new System.Drawing.Size(548, 86);
@@ -254,14 +250,13 @@ namespace Radegast
             // 
             // panel1
             // 
-            this.panel1.BackColor = System.Drawing.Color.Transparent;
+            this.panel1.BackColor = System.Drawing.SystemColors.Control;
             this.panel1.Controls.Add(this.btnGridManager);
             this.panel1.Controls.Add(this.lblVersion);
             this.panel1.Controls.Add(this.pnlLoginPrompt);
             this.panel1.Controls.Add(this.btnLogin);
             this.panel1.Controls.Add(this.pnlLoggingIn);
             this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.panel1.ForeColor = System.Drawing.Color.Transparent;
             this.panel1.Location = new System.Drawing.Point(0, 335);
             this.panel1.Name = "panel1";
             this.panel1.Size = new System.Drawing.Size(682, 97);
@@ -275,13 +270,11 @@ namespace Radegast
             this.btnGridManager.Size = new System.Drawing.Size(116, 23);
             this.btnGridManager.TabIndex = 16;
             this.btnGridManager.Text = "Grid Manager";
-            this.btnGridManager.UseVisualStyleBackColor = true;
             this.btnGridManager.Visible = false;
             // 
             // lblVersion
             // 
             this.lblVersion.AutoSize = true;
-            this.lblVersion.ForeColor = System.Drawing.Color.Black;
             this.lblVersion.Location = new System.Drawing.Point(3, 3);
             this.lblVersion.Name = "lblVersion";
             this.lblVersion.Size = new System.Drawing.Size(100, 13);
@@ -318,7 +311,6 @@ namespace Radegast
             this.cbTOS.Size = new System.Drawing.Size(176, 17);
             this.cbTOS.TabIndex = 1;
             this.cbTOS.Text = "I agree to the Terms of Service";
-            this.cbTOS.UseVisualStyleBackColor = true;
             this.cbTOS.CheckedChanged += new System.EventHandler(this.cbTOS_CheckedChanged);
             // 
             // txtTOS
@@ -337,7 +329,6 @@ namespace Radegast
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(225)))));
             this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
             this.Controls.Add(this.pnlSplash);
             this.Controls.Add(this.panel1);
index 3e3eb75..701c248 100644 (file)
@@ -71,6 +71,9 @@ namespace Radegast
 
         void LoginConsole_Load(object sender, EventArgs e)
         {
+            if (instance.PlainColors)
+                panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(225)))));
+
             cbxLocation.SelectedIndex = 0;
             InitializeConfig();
         }
index 178c3bb..d94b6d1 100644 (file)
@@ -94,6 +94,7 @@ namespace Radegast
             this.tmnuCreateLandmark = new System.Windows.Forms.ToolStripMenuItem();
             this.tmnuSetHome = new System.Windows.Forms.ToolStripMenuItem();
             this.tmnuTeleportHome = new System.Windows.Forms.ToolStripMenuItem();
+            this.regionParcelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator();
             this.tmnuStatusAway = new System.Windows.Forms.ToolStripMenuItem();
             this.tmnuStatusBusy = new System.Windows.Forms.ToolStripMenuItem();
@@ -142,7 +143,6 @@ namespace Radegast
             this.ctxTreyRestore = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
             this.ctxTreyExit = new System.Windows.Forms.ToolStripMenuItem();
-            this.regionParcelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStrip1.SuspendLayout();
             this.statusStrip1.SuspendLayout();
             this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
@@ -173,7 +173,7 @@ namespace Radegast
             this.toolStripSeparator2});
             this.toolStrip1.Location = new System.Drawing.Point(0, 0);
             this.toolStrip1.Name = "toolStrip1";
-            this.toolStrip1.Size = new System.Drawing.Size(738, 25);
+            this.toolStrip1.Size = new System.Drawing.Size(746, 25);
             this.toolStrip1.Stretch = true;
             this.toolStrip1.TabIndex = 8;
             this.toolStrip1.Text = "toolStrip1";
@@ -196,13 +196,13 @@ namespace Radegast
             this.tbtnSLeek.Image = global::Radegast.Properties.Resources.computer_16;
             this.tbtnSLeek.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnSLeek.Name = "tbtnSLeek";
-            this.tbtnSLeek.Size = new System.Drawing.Size(38, 22);
+            this.tbtnSLeek.Size = new System.Drawing.Size(36, 22);
             this.tbtnSLeek.Text = "&File";
             // 
             // newWindowToolStripMenuItem
             // 
             this.newWindowToolStripMenuItem.Name = "newWindowToolStripMenuItem";
-            this.newWindowToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
+            this.newWindowToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
             this.newWindowToolStripMenuItem.Text = "&New window...";
             this.newWindowToolStripMenuItem.Click += new System.EventHandler(this.newWindowToolStripMenuItem_Click);
             // 
@@ -210,27 +210,27 @@ namespace Radegast
             // 
             this.tmnuImport.Enabled = false;
             this.tmnuImport.Name = "tmnuImport";
-            this.tmnuImport.Size = new System.Drawing.Size(155, 22);
+            this.tmnuImport.Size = new System.Drawing.Size(144, 22);
             this.tmnuImport.Text = "Import object...";
             this.tmnuImport.Click += new System.EventHandler(this.importObjectToolStripMenuItem_Click);
             // 
             // scriptEditorToolStripMenuItem
             // 
             this.scriptEditorToolStripMenuItem.Name = "scriptEditorToolStripMenuItem";
-            this.scriptEditorToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
+            this.scriptEditorToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
             this.scriptEditorToolStripMenuItem.Text = "Script editor...";
             this.scriptEditorToolStripMenuItem.Click += new System.EventHandler(this.scriptEditorToolStripMenuItem_Click);
             // 
             // toolStripMenuItem3
             // 
             this.toolStripMenuItem3.Name = "toolStripMenuItem3";
-            this.toolStripMenuItem3.Size = new System.Drawing.Size(152, 6);
+            this.toolStripMenuItem3.Size = new System.Drawing.Size(141, 6);
             // 
             // disconnectToolStripMenuItem
             // 
             this.disconnectToolStripMenuItem.Enabled = false;
             this.disconnectToolStripMenuItem.Name = "disconnectToolStripMenuItem";
-            this.disconnectToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
+            this.disconnectToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
             this.disconnectToolStripMenuItem.Text = "Disconnect";
             this.disconnectToolStripMenuItem.Click += new System.EventHandler(this.disconnectToolStripMenuItem_Click);
             // 
@@ -238,33 +238,33 @@ namespace Radegast
             // 
             this.reconnectToolStripMenuItem.Enabled = false;
             this.reconnectToolStripMenuItem.Name = "reconnectToolStripMenuItem";
-            this.reconnectToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
+            this.reconnectToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
             this.reconnectToolStripMenuItem.Text = "Reconnect";
             this.reconnectToolStripMenuItem.Click += new System.EventHandler(this.reconnectToolStripMenuItem_Click);
             // 
             // tmnuPrefs
             // 
             this.tmnuPrefs.Name = "tmnuPrefs";
-            this.tmnuPrefs.Size = new System.Drawing.Size(155, 22);
+            this.tmnuPrefs.Size = new System.Drawing.Size(144, 22);
             this.tmnuPrefs.Text = "Preferences...";
             this.tmnuPrefs.Click += new System.EventHandler(this.tmnuPrefs_Click);
             // 
             // toolStripMenuItem2
             // 
             this.toolStripMenuItem2.Name = "toolStripMenuItem2";
-            this.toolStripMenuItem2.Size = new System.Drawing.Size(152, 6);
+            this.toolStripMenuItem2.Size = new System.Drawing.Size(141, 6);
             // 
             // tmnuExit
             // 
             this.tmnuExit.Name = "tmnuExit";
-            this.tmnuExit.Size = new System.Drawing.Size(155, 22);
+            this.tmnuExit.Size = new System.Drawing.Size(144, 22);
             this.tmnuExit.Text = "E&xit";
             this.tmnuExit.Click += new System.EventHandler(this.tmnuExit_Click);
             // 
             // testToolStripMenuItem
             // 
             this.testToolStripMenuItem.Name = "testToolStripMenuItem";
-            this.testToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
+            this.testToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
             this.testToolStripMenuItem.Text = "Test";
             this.testToolStripMenuItem.Visible = false;
             this.testToolStripMenuItem.Click += new System.EventHandler(this.testToolStripMenuItem_Click);
@@ -291,14 +291,14 @@ namespace Radegast
             this.tbtnWorld.Image = ((System.Drawing.Image)(resources.GetObject("tbtnWorld.Image")));
             this.tbtnWorld.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnWorld.Name = "tbtnWorld";
-            this.tbtnWorld.Size = new System.Drawing.Size(52, 22);
+            this.tbtnWorld.Size = new System.Drawing.Size(48, 22);
             this.tbtnWorld.Text = "&World";
             // 
             // tmnuControlFly
             // 
             this.tmnuControlFly.CheckOnClick = true;
             this.tmnuControlFly.Name = "tmnuControlFly";
-            this.tmnuControlFly.Size = new System.Drawing.Size(223, 22);
+            this.tmnuControlFly.Size = new System.Drawing.Size(201, 22);
             this.tmnuControlFly.Text = "Fly";
             this.tmnuControlFly.Click += new System.EventHandler(this.tmnuControlFly_Click);
             // 
@@ -306,47 +306,47 @@ namespace Radegast
             // 
             this.tmnuControlAlwaysRun.CheckOnClick = true;
             this.tmnuControlAlwaysRun.Name = "tmnuControlAlwaysRun";
-            this.tmnuControlAlwaysRun.Size = new System.Drawing.Size(223, 22);
+            this.tmnuControlAlwaysRun.Size = new System.Drawing.Size(201, 22);
             this.tmnuControlAlwaysRun.Text = "Always Run";
             this.tmnuControlAlwaysRun.Click += new System.EventHandler(this.tmnuControlAlwaysRun_Click);
             // 
             // groundSitToolStripMenuItem
             // 
             this.groundSitToolStripMenuItem.Name = "groundSitToolStripMenuItem";
-            this.groundSitToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
+            this.groundSitToolStripMenuItem.Size = new System.Drawing.Size(201, 22);
             this.groundSitToolStripMenuItem.Text = "Sit On Ground";
             this.groundSitToolStripMenuItem.Click += new System.EventHandler(this.groundSitToolStripMenuItem_Click);
             // 
             // standToolStripMenuItem
             // 
             this.standToolStripMenuItem.Name = "standToolStripMenuItem";
-            this.standToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
+            this.standToolStripMenuItem.Size = new System.Drawing.Size(201, 22);
             this.standToolStripMenuItem.Text = "Stand";
             this.standToolStripMenuItem.Click += new System.EventHandler(this.standToolStripMenuItem_Click);
             // 
             // stopAllAnimationsToolStripMenuItem
             // 
             this.stopAllAnimationsToolStripMenuItem.Name = "stopAllAnimationsToolStripMenuItem";
-            this.stopAllAnimationsToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
+            this.stopAllAnimationsToolStripMenuItem.Size = new System.Drawing.Size(201, 22);
             this.stopAllAnimationsToolStripMenuItem.Text = "Stop All Animations";
             this.stopAllAnimationsToolStripMenuItem.Click += new System.EventHandler(this.stopAllAnimationsToolStripMenuItem_Click);
             // 
             // toolStripMenuItem4
             // 
             this.toolStripMenuItem4.Name = "toolStripMenuItem4";
-            this.toolStripMenuItem4.Size = new System.Drawing.Size(220, 6);
+            this.toolStripMenuItem4.Size = new System.Drawing.Size(198, 6);
             // 
             // tmnuCreateLandmark
             // 
             this.tmnuCreateLandmark.Name = "tmnuCreateLandmark";
-            this.tmnuCreateLandmark.Size = new System.Drawing.Size(223, 22);
+            this.tmnuCreateLandmark.Size = new System.Drawing.Size(201, 22);
             this.tmnuCreateLandmark.Text = "Create Landmark Here";
             this.tmnuCreateLandmark.Click += new System.EventHandler(this.tmnuCreateLandmark_Click);
             // 
             // tmnuSetHome
             // 
             this.tmnuSetHome.Name = "tmnuSetHome";
-            this.tmnuSetHome.Size = new System.Drawing.Size(223, 22);
+            this.tmnuSetHome.Size = new System.Drawing.Size(201, 22);
             this.tmnuSetHome.Text = "Set Home To Here";
             this.tmnuSetHome.Click += new System.EventHandler(this.tmnuSetHome_Click);
             // 
@@ -354,20 +354,28 @@ namespace Radegast
             // 
             this.tmnuTeleportHome.Name = "tmnuTeleportHome";
             this.tmnuTeleportHome.ShortcutKeyDisplayString = "Ctrl-Shift-H";
-            this.tmnuTeleportHome.Size = new System.Drawing.Size(223, 22);
+            this.tmnuTeleportHome.Size = new System.Drawing.Size(201, 22);
             this.tmnuTeleportHome.Text = "Teleport Home";
             this.tmnuTeleportHome.Click += new System.EventHandler(this.tmnuTeleportHome_Click);
             // 
+            // regionParcelToolStripMenuItem
+            // 
+            this.regionParcelToolStripMenuItem.Name = "regionParcelToolStripMenuItem";
+            this.regionParcelToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl-Shift-1";
+            this.regionParcelToolStripMenuItem.Size = new System.Drawing.Size(201, 22);
+            this.regionParcelToolStripMenuItem.Text = "Region/Parcel";
+            this.regionParcelToolStripMenuItem.Click += new System.EventHandler(this.regionParcelToolStripMenuItem_Click);
+            // 
             // toolStripMenuItem5
             // 
             this.toolStripMenuItem5.Name = "toolStripMenuItem5";
-            this.toolStripMenuItem5.Size = new System.Drawing.Size(220, 6);
+            this.toolStripMenuItem5.Size = new System.Drawing.Size(198, 6);
             // 
             // tmnuStatusAway
             // 
             this.tmnuStatusAway.CheckOnClick = true;
             this.tmnuStatusAway.Name = "tmnuStatusAway";
-            this.tmnuStatusAway.Size = new System.Drawing.Size(223, 22);
+            this.tmnuStatusAway.Size = new System.Drawing.Size(201, 22);
             this.tmnuStatusAway.Text = "Away";
             this.tmnuStatusAway.Click += new System.EventHandler(this.tmnuStatusAway_Click);
             // 
@@ -375,7 +383,7 @@ namespace Radegast
             // 
             this.tmnuStatusBusy.CheckOnClick = true;
             this.tmnuStatusBusy.Name = "tmnuStatusBusy";
-            this.tmnuStatusBusy.Size = new System.Drawing.Size(223, 22);
+            this.tmnuStatusBusy.Size = new System.Drawing.Size(201, 22);
             this.tmnuStatusBusy.Text = "Busy";
             this.tmnuStatusBusy.Click += new System.EventHandler(this.tmnuStatusBusy_Click);
             // 
@@ -392,42 +400,42 @@ namespace Radegast
             this.tbnTools.Image = ((System.Drawing.Image)(resources.GetObject("tbnTools.Image")));
             this.tbnTools.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbnTools.Name = "tbnTools";
-            this.tbnTools.Size = new System.Drawing.Size(49, 22);
+            this.tbnTools.Size = new System.Drawing.Size(46, 22);
             this.tbnTools.Text = "&Tools";
             // 
             // autopilotToolStripMenuItem
             // 
             this.autopilotToolStripMenuItem.Enabled = false;
             this.autopilotToolStripMenuItem.Name = "autopilotToolStripMenuItem";
-            this.autopilotToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
+            this.autopilotToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
             this.autopilotToolStripMenuItem.Text = "&Autopilot";
             this.autopilotToolStripMenuItem.Click += new System.EventHandler(this.autopilotToolStripMenuItem_Click);
             // 
             // cleanCacheToolStripMenuItem
             // 
             this.cleanCacheToolStripMenuItem.Name = "cleanCacheToolStripMenuItem";
-            this.cleanCacheToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
+            this.cleanCacheToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
             this.cleanCacheToolStripMenuItem.Text = "Clean Cache";
             this.cleanCacheToolStripMenuItem.Click += new System.EventHandler(this.cleanCacheToolStripMenuItem_Click);
             // 
             // reloadInventoryToolStripMenuItem
             // 
             this.reloadInventoryToolStripMenuItem.Name = "reloadInventoryToolStripMenuItem";
-            this.reloadInventoryToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
+            this.reloadInventoryToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
             this.reloadInventoryToolStripMenuItem.Text = "Reload Inventory";
             this.reloadInventoryToolStripMenuItem.Click += new System.EventHandler(this.reloadInventoryToolStripMenuItem_Click);
             // 
             // setAppearanceToolStripMenuItem
             // 
             this.setAppearanceToolStripMenuItem.Name = "setAppearanceToolStripMenuItem";
-            this.setAppearanceToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
+            this.setAppearanceToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
             this.setAppearanceToolStripMenuItem.Text = "Set Appearance";
             this.setAppearanceToolStripMenuItem.Click += new System.EventHandler(this.tbtnAppearance_Click);
             // 
             // rebakeTexturesToolStripMenuItem
             // 
             this.rebakeTexturesToolStripMenuItem.Name = "rebakeTexturesToolStripMenuItem";
-            this.rebakeTexturesToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
+            this.rebakeTexturesToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
             this.rebakeTexturesToolStripMenuItem.Text = "Rebake Textures";
             this.rebakeTexturesToolStripMenuItem.Click += new System.EventHandler(this.rebakeTexturesToolStripMenuItem_Click);
             // 
@@ -439,13 +447,13 @@ namespace Radegast
             this.tbnPlugins.Image = ((System.Drawing.Image)(resources.GetObject("tbnPlugins.Image")));
             this.tbnPlugins.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbnPlugins.Name = "tbnPlugins";
-            this.tbnPlugins.Size = new System.Drawing.Size(59, 22);
+            this.tbnPlugins.Size = new System.Drawing.Size(54, 22);
             this.tbnPlugins.Text = "&Plugins";
             // 
             // btnPluginsTab
             // 
             this.btnPluginsTab.Name = "btnPluginsTab";
-            this.btnPluginsTab.Size = new System.Drawing.Size(126, 22);
+            this.btnPluginsTab.Size = new System.Drawing.Size(122, 22);
             this.btnPluginsTab.Text = "Manage...";
             this.btnPluginsTab.Click += new System.EventHandler(this.btnLoadScript_Click);
             // 
@@ -461,7 +469,7 @@ namespace Radegast
             this.tbtnFriends.Image = ((System.Drawing.Image)(resources.GetObject("tbtnFriends.Image")));
             this.tbtnFriends.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnFriends.Name = "tbtnFriends";
-            this.tbtnFriends.Size = new System.Drawing.Size(49, 22);
+            this.tbtnFriends.Size = new System.Drawing.Size(45, 22);
             this.tbtnFriends.Text = "Friends";
             this.tbtnFriends.ToolTipText = "Friends (Alt-2)";
             this.tbtnFriends.Click += new System.EventHandler(this.tbtnFriends_Click);
@@ -473,7 +481,7 @@ namespace Radegast
             this.tbtnGroups.Image = ((System.Drawing.Image)(resources.GetObject("tbtnGroups.Image")));
             this.tbtnGroups.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnGroups.Name = "tbtnGroups";
-            this.tbtnGroups.Size = new System.Drawing.Size(49, 22);
+            this.tbtnGroups.Size = new System.Drawing.Size(45, 22);
             this.tbtnGroups.Text = "Groups";
             this.tbtnGroups.ToolTipText = "Groups (Alt-3)";
             this.tbtnGroups.Click += new System.EventHandler(this.tbtnGroups_Click);
@@ -485,7 +493,7 @@ namespace Radegast
             this.tbtnInventory.Image = ((System.Drawing.Image)(resources.GetObject("tbtnInventory.Image")));
             this.tbtnInventory.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnInventory.Name = "tbtnInventory";
-            this.tbtnInventory.Size = new System.Drawing.Size(61, 22);
+            this.tbtnInventory.Size = new System.Drawing.Size(55, 22);
             this.tbtnInventory.Text = "Inventory";
             this.tbtnInventory.ToolTipText = "Inventory (Alt-4)";
             this.tbtnInventory.Click += new System.EventHandler(this.tbtnInventory_Click);
@@ -497,7 +505,7 @@ namespace Radegast
             this.tbtnSearch.Image = ((System.Drawing.Image)(resources.GetObject("tbtnSearch.Image")));
             this.tbtnSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnSearch.Name = "tbtnSearch";
-            this.tbtnSearch.Size = new System.Drawing.Size(46, 22);
+            this.tbtnSearch.Size = new System.Drawing.Size(45, 22);
             this.tbtnSearch.Text = "Search";
             this.tbtnSearch.ToolTipText = "Search (Alt-5)";
             this.tbtnSearch.Click += new System.EventHandler(this.tbtnSearch_Click);
@@ -509,7 +517,7 @@ namespace Radegast
             this.tbtnMap.Image = ((System.Drawing.Image)(resources.GetObject("tbtnMap.Image")));
             this.tbtnMap.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnMap.Name = "tbtnMap";
-            this.tbtnMap.Size = new System.Drawing.Size(35, 22);
+            this.tbtnMap.Size = new System.Drawing.Size(32, 22);
             this.tbtnMap.Text = "Map";
             this.tbtnMap.ToolTipText = "Map (Alt-6)";
             this.tbtnMap.Click += new System.EventHandler(this.tbtnMap_Click);
@@ -521,7 +529,7 @@ namespace Radegast
             this.tbnObjects.Image = ((System.Drawing.Image)(resources.GetObject("tbnObjects.Image")));
             this.tbnObjects.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbnObjects.Name = "tbnObjects";
-            this.tbnObjects.Size = new System.Drawing.Size(51, 22);
+            this.tbnObjects.Size = new System.Drawing.Size(47, 22);
             this.tbnObjects.Text = "Objects";
             this.tbnObjects.ToolTipText = "Displays a list of nearby objects that you can perform various operations on (Alt" +
                 "-7)";
@@ -531,7 +539,7 @@ namespace Radegast
             // 
             this.lblTime.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
             this.lblTime.Name = "lblTime";
-            this.lblTime.Size = new System.Drawing.Size(30, 22);
+            this.lblTime.Size = new System.Drawing.Size(22, 22);
             this.lblTime.Text = "--:--";
             // 
             // tbtnMedia
@@ -540,7 +548,7 @@ namespace Radegast
             this.tbtnMedia.Image = ((System.Drawing.Image)(resources.GetObject("tbtnMedia.Image")));
             this.tbtnMedia.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnMedia.Name = "tbtnMedia";
-            this.tbtnMedia.Size = new System.Drawing.Size(44, 22);
+            this.tbtnMedia.Size = new System.Drawing.Size(40, 22);
             this.tbtnMedia.Text = "Media";
             this.tbtnMedia.ToolTipText = "Media (Alt-8)";
             this.tbtnMedia.Visible = false;
@@ -553,7 +561,7 @@ namespace Radegast
             this.tbtnVoice.Image = ((System.Drawing.Image)(resources.GetObject("tbtnVoice.Image")));
             this.tbtnVoice.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnVoice.Name = "tbtnVoice";
-            this.tbtnVoice.Size = new System.Drawing.Size(40, 22);
+            this.tbtnVoice.Size = new System.Drawing.Size(38, 22);
             this.tbtnVoice.Text = "Voice";
             this.tbtnVoice.Click += new System.EventHandler(this.tbtnVoice_Click);
             // 
@@ -570,27 +578,27 @@ namespace Radegast
             this.tbtnHelp.Image = ((System.Drawing.Image)(resources.GetObject("tbtnHelp.Image")));
             this.tbtnHelp.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.tbtnHelp.Name = "tbtnHelp";
-            this.tbtnHelp.Size = new System.Drawing.Size(45, 22);
+            this.tbtnHelp.Size = new System.Drawing.Size(42, 22);
             this.tbtnHelp.Text = "&Help";
             // 
             // keyboardShortcutsToolStripMenuItem
             // 
             this.keyboardShortcutsToolStripMenuItem.Name = "keyboardShortcutsToolStripMenuItem";
-            this.keyboardShortcutsToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
+            this.keyboardShortcutsToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
             this.keyboardShortcutsToolStripMenuItem.Text = "Keyboard Shortcuts";
             this.keyboardShortcutsToolStripMenuItem.Click += new System.EventHandler(this.keyboardShortcutsToolStripMenuItem_Click);
             // 
             // reportBugsToolStripMenuItem
             // 
             this.reportBugsToolStripMenuItem.Name = "reportBugsToolStripMenuItem";
-            this.reportBugsToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
+            this.reportBugsToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
             this.reportBugsToolStripMenuItem.Text = "Bugs/Feature Requests...";
             this.reportBugsToolStripMenuItem.Click += new System.EventHandler(this.reportBugsToolStripMenuItem_Click);
             // 
             // checkForUpdatesToolStripMenuItem
             // 
             this.checkForUpdatesToolStripMenuItem.Name = "checkForUpdatesToolStripMenuItem";
-            this.checkForUpdatesToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
+            this.checkForUpdatesToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
             this.checkForUpdatesToolStripMenuItem.Text = "Check for Updates...";
             this.checkForUpdatesToolStripMenuItem.Click += new System.EventHandler(this.checkForUpdatesToolStripMenuItem_Click);
             // 
@@ -598,19 +606,19 @@ namespace Radegast
             // 
             this.debugConsoleToolStripMenuItem.Name = "debugConsoleToolStripMenuItem";
             this.debugConsoleToolStripMenuItem.ShortcutKeyDisplayString = "Alt-Ctrl-D";
-            this.debugConsoleToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
+            this.debugConsoleToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
             this.debugConsoleToolStripMenuItem.Text = "Debug Console...";
             this.debugConsoleToolStripMenuItem.Click += new System.EventHandler(this.debugConsoleToolStripMenuItem_Click);
             // 
             // toolStripMenuItem6
             // 
             this.toolStripMenuItem6.Name = "toolStripMenuItem6";
-            this.toolStripMenuItem6.Size = new System.Drawing.Size(220, 6);
+            this.toolStripMenuItem6.Size = new System.Drawing.Size(201, 6);
             // 
             // aboutRadegastToolStripMenuItem
             // 
             this.aboutRadegastToolStripMenuItem.Name = "aboutRadegastToolStripMenuItem";
-            this.aboutRadegastToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
+            this.aboutRadegastToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
             this.aboutRadegastToolStripMenuItem.Text = "About Radegast...";
             this.aboutRadegastToolStripMenuItem.Click += new System.EventHandler(this.aboutRadegastToolStripMenuItem_Click);
             // 
@@ -633,10 +641,10 @@ namespace Radegast
             this.icoNoVoice,
             this.tlblParcel});
             this.statusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
-            this.statusStrip1.Location = new System.Drawing.Point(0, 480);
+            this.statusStrip1.Location = new System.Drawing.Point(0, 487);
             this.statusStrip1.Name = "statusStrip1";
             this.statusStrip1.ShowItemToolTips = true;
-            this.statusStrip1.Size = new System.Drawing.Size(738, 25);
+            this.statusStrip1.Size = new System.Drawing.Size(746, 25);
             this.statusStrip1.SizingGrip = false;
             this.statusStrip1.TabIndex = 9;
             this.statusStrip1.Text = "statusStrip1";
@@ -646,7 +654,7 @@ namespace Radegast
             this.tlblLoginName.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
             this.tlblLoginName.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
             this.tlblLoginName.Name = "tlblLoginName";
-            this.tlblLoginName.Size = new System.Drawing.Size(47, 19);
+            this.tlblLoginName.Size = new System.Drawing.Size(41, 17);
             this.tlblLoginName.Text = "Offline";
             // 
             // tlblMoneyBalance
@@ -663,7 +671,7 @@ namespace Radegast
             this.tlblRegionInfo.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
             this.tlblRegionInfo.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
             this.tlblRegionInfo.Name = "tlblRegionInfo";
-            this.tlblRegionInfo.Size = new System.Drawing.Size(67, 19);
+            this.tlblRegionInfo.Size = new System.Drawing.Size(62, 17);
             this.tlblRegionInfo.Text = "No Region";
             this.tlblRegionInfo.Click += new System.EventHandler(this.tlblRegionInfo_Click);
             // 
@@ -672,7 +680,7 @@ namespace Radegast
             this.icoHealth.Image = global::Radegast.Properties.Resources.status_health;
             this.icoHealth.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
             this.icoHealth.Name = "icoHealth";
-            this.icoHealth.Size = new System.Drawing.Size(67, 16);
+            this.icoHealth.Size = new System.Drawing.Size(65, 16);
             this.icoHealth.Text = "100%";
             this.icoHealth.ToolTipText = "Damage enabled on the parcel";
             this.icoHealth.Visible = false;
@@ -739,7 +747,7 @@ namespace Radegast
             this.tlblParcel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
             this.tlblParcel.Name = "tlblParcel";
             this.tlblParcel.Padding = new System.Windows.Forms.Padding(0, 2, 0, 2);
-            this.tlblParcel.Size = new System.Drawing.Size(58, 19);
+            this.tlblParcel.Size = new System.Drawing.Size(54, 17);
             this.tlblParcel.Text = "No Parcel";
             this.tlblParcel.Click += new System.EventHandler(this.tlblParcel_Click);
             // 
@@ -748,11 +756,11 @@ namespace Radegast
             // 
             // toolStripContainer1.ContentPanel
             // 
-            this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(738, 455);
+            this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(746, 462);
             this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
             this.toolStripContainer1.Name = "toolStripContainer1";
-            this.toolStripContainer1.Size = new System.Drawing.Size(738, 480);
+            this.toolStripContainer1.Size = new System.Drawing.Size(746, 487);
             this.toolStripContainer1.TabIndex = 10;
             this.toolStripContainer1.Text = "toolStripContainer1";
             // 
@@ -764,7 +772,7 @@ namespace Radegast
             // 
             this.pnlDialog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.pnlDialog.AutoSize = true;
-            this.pnlDialog.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(220)))), ((int)(((byte)(255)))));
+            this.pnlDialog.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
             this.pnlDialog.Location = new System.Drawing.Point(540, 50);
             this.pnlDialog.Name = "pnlDialog";
             this.pnlDialog.Size = new System.Drawing.Size(198, 151);
@@ -790,12 +798,12 @@ namespace Radegast
             this.toolStripSeparator3,
             this.ctxTreyExit});
             this.ctxTrayIcon.Name = "ctxTreyIcon";
-            this.ctxTrayIcon.Size = new System.Drawing.Size(114, 54);
+            this.ctxTrayIcon.Size = new System.Drawing.Size(112, 54);
             // 
             // ctxTreyRestore
             // 
             this.ctxTreyRestore.Name = "ctxTreyRestore";
-            this.ctxTreyRestore.Size = new System.Drawing.Size(113, 22);
+            this.ctxTreyRestore.Size = new System.Drawing.Size(111, 22);
             this.ctxTreyRestore.Text = "Restore";
             this.ctxTreyRestore.ToolTipText = "Restore Window";
             this.ctxTreyRestore.Click += new System.EventHandler(this.ctxTreyRestore_Click);
@@ -803,30 +811,22 @@ namespace Radegast
             // toolStripSeparator3
             // 
             this.toolStripSeparator3.Name = "toolStripSeparator3";
-            this.toolStripSeparator3.Size = new System.Drawing.Size(110, 6);
+            this.toolStripSeparator3.Size = new System.Drawing.Size(108, 6);
             // 
             // ctxTreyExit
             // 
             this.ctxTreyExit.Name = "ctxTreyExit";
-            this.ctxTreyExit.Size = new System.Drawing.Size(113, 22);
+            this.ctxTreyExit.Size = new System.Drawing.Size(111, 22);
             this.ctxTreyExit.Text = "Exit";
             this.ctxTreyExit.ToolTipText = "Loggs of and closes application";
             this.ctxTreyExit.Click += new System.EventHandler(this.ctxTreyExit_Click);
             // 
-            // regionParcelToolStripMenuItem
-            // 
-            this.regionParcelToolStripMenuItem.Name = "regionParcelToolStripMenuItem";
-            this.regionParcelToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl-Shift-1";
-            this.regionParcelToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
-            this.regionParcelToolStripMenuItem.Text = "Region/Parcel";
-            this.regionParcelToolStripMenuItem.Click += new System.EventHandler(this.regionParcelToolStripMenuItem_Click);
-            // 
             // frmMain
             // 
             this.AutoSavePosition = true;
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(738, 505);
+            this.ClientSize = new System.Drawing.Size(746, 512);
             this.Controls.Add(this.pnlDialog);
             this.Controls.Add(this.toolStripContainer1);
             this.Controls.Add(this.statusStrip1);
index 3d07e72..b3896db 100644 (file)
@@ -650,6 +650,12 @@ namespace Radegast
                     }
                 }
                 StartUpdateCheck(false);
+
+                if (instance.PlainColors)
+                {
+                    pnlDialog.BackColor = System.Drawing.Color.FromArgb(120, 220, 255);
+                }
+
             }
         }
         #endregion