diff --git a/Application/RSBot/RSBot.csproj b/Application/RSBot/RSBot.csproj
index 8767dfe8..24a31b01 100644
--- a/Application/RSBot/RSBot.csproj
+++ b/Application/RSBot/RSBot.csproj
@@ -199,10 +199,6 @@
{b62c693a-62e0-4d29-8702-dd8b3b6b308b}
RSBot.Pk2
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
-
diff --git a/Application/RSBot/Views/About.Designer.cs b/Application/RSBot/Views/About.Designer.cs
index e24c6543..d5d3fb41 100644
--- a/Application/RSBot/Views/About.Designer.cs
+++ b/Application/RSBot/Views/About.Designer.cs
@@ -29,7 +29,7 @@ private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(About));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.buttonOk = new RSBot.Theme.Material.Button();
+ this.buttonOk = new System.Windows.Forms.Button();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.bottomPanel = new System.Windows.Forms.Panel();
this.labelName = new System.Windows.Forms.Label();
@@ -51,14 +51,8 @@ private void InitializeComponent()
//
// buttonOk
//
- this.buttonOk.Depth = 0;
- this.buttonOk.Icon = null;
this.buttonOk.Location = new System.Drawing.Point(203, 8);
- this.buttonOk.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonOk.Name = "buttonOk";
- this.buttonOk.Primary = true;
- this.buttonOk.Raised = true;
- this.buttonOk.SingleColor = System.Drawing.Color.Empty;
this.buttonOk.Size = new System.Drawing.Size(75, 23);
this.buttonOk.TabIndex = 0;
this.buttonOk.Text = "OK";
@@ -150,7 +144,7 @@ private void InitializeComponent()
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
- private Theme.Material.Button buttonOk;
+ private System.Windows.Forms.Button buttonOk;
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.Panel bottomPanel;
private System.Windows.Forms.Label labelName;
diff --git a/Application/RSBot/Views/Controls/Character.Designer.cs b/Application/RSBot/Views/Controls/Character.Designer.cs
index 3fdf0e6c..4eac09c2 100644
--- a/Application/RSBot/Views/Controls/Character.Designer.cs
+++ b/Application/RSBot/Views/Controls/Character.Designer.cs
@@ -41,9 +41,9 @@ private void InitializeComponent()
this.label9 = new System.Windows.Forms.Label();
this.lblInt = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
- this.progressEXP = new Theme.Controls.XpProgressBar();
- this.progressMP = new Theme.Controls.XpProgressBar();
- this.progressHP = new Theme.Controls.XpProgressBar();
+ this.progressEXP = new System.Windows.Forms.ProgressBar();
+ this.progressMP = new System.Windows.Forms.ProgressBar();
+ this.progressHP = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// label2
@@ -158,49 +158,34 @@ private void InitializeComponent()
//
// progressEXP
//
- this.progressEXP.ColorBackGround = System.Drawing.Color.Gainsboro;
- this.progressEXP.ColorBarBorder = System.Drawing.Color.Green;
- this.progressEXP.ColorBarCenter = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
- this.progressEXP.ColorText = System.Drawing.Color.White;
this.progressEXP.Location = new System.Drawing.Point(10, 50);
this.progressEXP.Name = "progressEXP";
- this.progressEXP.Position = 0;
- this.progressEXP.PositionMax = 100;
- this.progressEXP.PositionMin = 0;
+ this.progressEXP.Value = 0;
+ this.progressEXP.Maximum = 100;
+ this.progressEXP.Minimum = 0;
this.progressEXP.Size = new System.Drawing.Size(402, 19);
- this.progressEXP.SteepDistance = ((byte)(0));
this.progressEXP.TabIndex = 2;
this.progressEXP.Text = "0%";
//
// progressMP
//
- this.progressMP.ColorBackGround = System.Drawing.Color.Gainsboro;
- this.progressMP.ColorBarBorder = System.Drawing.Color.DarkBlue;
- this.progressMP.ColorBarCenter = System.Drawing.Color.Blue;
- this.progressMP.ColorText = System.Drawing.Color.White;
this.progressMP.Location = new System.Drawing.Point(214, 28);
this.progressMP.Name = "progressMP";
- this.progressMP.Position = 0;
- this.progressMP.PositionMax = 100;
- this.progressMP.PositionMin = 0;
+ this.progressMP.Value = 0;
+ this.progressMP.Maximum = 100;
+ this.progressMP.Minimum = 0;
this.progressMP.Size = new System.Drawing.Size(198, 19);
- this.progressMP.SteepDistance = ((byte)(0));
this.progressMP.TabIndex = 1;
this.progressMP.Text = "0 / 0";
//
// progressHP
//
- this.progressHP.ColorBackGround = System.Drawing.Color.Gainsboro;
- this.progressHP.ColorBarBorder = System.Drawing.Color.DarkRed;
- this.progressHP.ColorBarCenter = System.Drawing.Color.Red;
- this.progressHP.ColorText = System.Drawing.Color.White;
this.progressHP.Location = new System.Drawing.Point(10, 28);
this.progressHP.Name = "progressHP";
- this.progressHP.Position = 0;
- this.progressHP.PositionMax = 100;
- this.progressHP.PositionMin = 0;
+ this.progressHP.Value = 0;
+ this.progressHP.Maximum = 100;
+ this.progressHP.Minimum = 0;
this.progressHP.Size = new System.Drawing.Size(198, 19);
- this.progressHP.SteepDistance = ((byte)(0));
this.progressHP.TabIndex = 0;
this.progressHP.Text = "0 / 0";
//
@@ -231,9 +216,9 @@ private void InitializeComponent()
#endregion
- private Theme.Controls.XpProgressBar progressHP;
- private Theme.Controls.XpProgressBar progressMP;
- private Theme.Controls.XpProgressBar progressEXP;
+ private System.Windows.Forms.ProgressBar progressHP;
+ private System.Windows.Forms.ProgressBar progressMP;
+ private System.Windows.Forms.ProgressBar progressEXP;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
diff --git a/Application/RSBot/Views/Controls/Character.cs b/Application/RSBot/Views/Controls/Character.cs
index a51b0d70..6e96d4a2 100644
--- a/Application/RSBot/Views/Controls/Character.cs
+++ b/Application/RSBot/Views/Controls/Character.cs
@@ -26,7 +26,7 @@ private void SubscribeEvents()
EventManager.SubscribeEvent("OnLoadCharacterStats", OnLoadCharacterStats);
EventManager.SubscribeEvent("OnLevelUp", OnLevelUp);
EventManager.SubscribeEvent("OnExpSpUpdate", OnExpUpdate);
- EventManager.SubscribeEvent("OnUpdateHPMP", OnHPMPUpdate);
+ EventManager.SubscribeEvent("OnUpdateHPMP", OnLoadCharacterStats);
EventManager.SubscribeEvent("OnUpdateGold", OnUpdateGold);
EventManager.SubscribeEvent("OnUpdateSP", OnUpdateSP);
EventManager.SubscribeEvent("OnAgentServerDisconnected", OnAgentServerDisconnected);
@@ -45,10 +45,28 @@ private void OnUpdateGold()
///
/// On Hp/MP update
///
- private void OnHPMPUpdate()
+ private void OnLoadCharacterStats()
{
- progressHP.Position = (int)Game.Player.Health;
- progressMP.Position = (int)Game.Player.Mana;
+ lblInt.Text = Game.Player.Intelligence.ToString();
+ lblStr.Text = Game.Player.Strength.ToString();
+
+ if (Game.Player.MaximumHealth == 0)
+ return;
+
+ if (Game.Player.MaximumMana == 0)
+ return;
+
+ progressHP.Maximum = Game.Player.MaximumHealth;
+ progressMP.Maximum = Game.Player.MaximumMana;
+
+ if(Game.Player.Health > Game.Player.MaximumHealth)
+ progressHP.Maximum = Game.Player.Health;
+
+ if (Game.Player.Mana > Game.Player.MaximumMana)
+ progressMP.Maximum = Game.Player.Mana;
+
+ progressHP.Value = Game.Player.Health;
+ progressMP.Value = Game.Player.Mana;
progressHP.Text = Game.Player.Health + @"/" + Game.Player.MaximumHealth;
progressMP.Text = Game.Player.Mana + @"/" + Game.Player.MaximumMana;
@@ -60,29 +78,10 @@ private void OnHPMPUpdate()
///
private void OnExpUpdate()
{
- var percentageExp = ((double)Game.Player.Experience / (double)Game.ReferenceManager.GetRefLevel(Game.Player.Level).Exp_C) * 100;
- progressEXP.Position = Convert.ToInt32(percentageExp);
- progressEXP.Text = Math.Round(percentageExp, 2) + @"%";
- }
+ var percentageExp = (Game.Player.Experience * 100.0) / Game.ReferenceManager.GetRefLevel(Game.Player.Level).Exp_C;
- ///
- /// s the on load character stats.
- ///
- private void OnLoadCharacterStats()
- {
- lblInt.Text = Game.Player.Intelligence.ToString();
- lblStr.Text = Game.Player.Strength.ToString();
-
- progressHP.PositionMax = (int)Game.Player.MaximumHealth;
- progressMP.PositionMax = (int)Game.Player.MaximumMana;
-
- progressHP.Position = (int)Game.Player.Health;
- progressMP.Position = (int)Game.Player.Mana;
-
- progressEXP.PositionMax = 100;
-
- progressHP.Text = Game.Player.Health + @"/" + Game.Player.MaximumHealth;
- progressMP.Text = Game.Player.Mana + @"/" + Game.Player.MaximumMana;
+ progressEXP.Value = Convert.ToInt32(percentageExp);
+ progressEXP.Text = Math.Round(percentageExp, 2) + @"%";
}
///
@@ -101,7 +100,7 @@ private void OnLoadCharacter()
lblPlayerName.Text = Game.Player.Name;
lblLevel.Text = Game.Player.Level.ToString();
- OnHPMPUpdate();
+ OnLoadCharacterStats();
OnExpUpdate();
OnUpdateSP();
OnUpdateGold();
@@ -118,11 +117,11 @@ private void OnAgentServerDisconnected()
lblInt.Text = "0";
lblGold.Text = "0";
lblSP.Text = "0";
- progressHP.Position = 0;
+ progressHP.Value = 0;
progressHP.Text = "0 / 0";
- progressMP.Position = 0;
+ progressMP.Value = 0;
progressMP.Text = "0 / 0";
- progressEXP.Position = 0;
+ progressEXP.Value = 0;
progressEXP.Text = "%0";
}
}
diff --git a/Application/RSBot/Views/Controls/Entity.Designer.cs b/Application/RSBot/Views/Controls/Entity.Designer.cs
index 320ce944..48778068 100644
--- a/Application/RSBot/Views/Controls/Entity.Designer.cs
+++ b/Application/RSBot/Views/Controls/Entity.Designer.cs
@@ -31,7 +31,7 @@ private void InitializeComponent()
this.label1 = new System.Windows.Forms.Label();
this.lblEntityName = new System.Windows.Forms.Label();
this.lblType = new System.Windows.Forms.Label();
- this.progressHP = new Theme.Controls.XpProgressBar();
+ this.progressHP = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// label1
@@ -63,17 +63,12 @@ private void InitializeComponent()
//
// progressHP
//
- this.progressHP.ColorBackGround = System.Drawing.Color.Gainsboro;
- this.progressHP.ColorBarBorder = System.Drawing.Color.DarkRed;
- this.progressHP.ColorBarCenter = System.Drawing.Color.Red;
- this.progressHP.ColorText = System.Drawing.Color.White;
this.progressHP.Location = new System.Drawing.Point(52, 35);
this.progressHP.Name = "progressHP";
- this.progressHP.Position = 0;
- this.progressHP.PositionMax = 100;
- this.progressHP.PositionMin = 0;
+ this.progressHP.Value = 0;
+ this.progressHP.Maximum = 100;
+ this.progressHP.Minimum = 0;
this.progressHP.Size = new System.Drawing.Size(180, 19);
- this.progressHP.SteepDistance = ((byte)(0));
this.progressHP.TabIndex = 15;
this.progressHP.Text = "0%";
//
@@ -96,7 +91,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label lblEntityName;
- private Theme.Controls.XpProgressBar progressHP;
+ private System.Windows.Forms.ProgressBar progressHP;
private System.Windows.Forms.Label lblType;
}
}
diff --git a/Application/RSBot/Views/Controls/Entity.cs b/Application/RSBot/Views/Controls/Entity.cs
index 99b902a3..bc058d3f 100644
--- a/Application/RSBot/Views/Controls/Entity.cs
+++ b/Application/RSBot/Views/Controls/Entity.cs
@@ -47,7 +47,10 @@ private void OnSelectEntity(SpawnedBionic entity)
lblType.Text = monster.Rarity.GetName();
}
- progressHP.Position = percent;
+ if (percent > 100)
+ percent = 100;
+
+ progressHP.Value = percent;
progressHP.Text = percent + "%";
}
@@ -58,15 +61,18 @@ private void OnUpdateSelectedEntityHP(SpawnedBionic entity)
{
if (!entity.HasHealth)
{
- progressHP.Position = 100;
+ progressHP.Value = 100;
return;
}
if (entity is SpawnedMonster monster)
{
var percent = (monster.Health * 100) / monster.MaxHealth;
+ if (percent > 100)
+ percent = 100;
- progressHP.Position = percent;
+ progressHP.Maximum = monster.MaxHealth;
+ progressHP.Value = percent;
progressHP.Text = percent + "%";
}
}
@@ -101,7 +107,7 @@ private void OnAgentServerDisconnected()
private void Clear()
{
lblEntityName.Text = "No entity selected";
- progressHP.Position = 0;
+ progressHP.Value = 0;
progressHP.Text ="0%";
lblType.Text = "";
}
diff --git a/Application/RSBot/Views/Controls/Pet.Designer.cs b/Application/RSBot/Views/Controls/Pet.Designer.cs
index 044809a6..016ec946 100644
--- a/Application/RSBot/Views/Controls/Pet.Designer.cs
+++ b/Application/RSBot/Views/Controls/Pet.Designer.cs
@@ -32,9 +32,9 @@ private void InitializeComponent()
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
- this.progressEXP = new Theme.Controls.XpProgressBar();
- this.progressHGP = new Theme.Controls.XpProgressBar();
- this.progressHP = new Theme.Controls.XpProgressBar();
+ this.progressEXP = new System.Windows.Forms.ProgressBar();
+ this.progressHGP = new System.Windows.Forms.ProgressBar();
+ this.progressHP = new System.Windows.Forms.ProgressBar();
this.SuspendLayout();
//
// lblPetName
@@ -76,49 +76,34 @@ private void InitializeComponent()
//
// progressEXP
//
- this.progressEXP.ColorBackGround = System.Drawing.Color.Gainsboro;
- this.progressEXP.ColorBarBorder = System.Drawing.Color.Green;
- this.progressEXP.ColorBarCenter = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
- this.progressEXP.ColorText = System.Drawing.Color.White;
this.progressEXP.Location = new System.Drawing.Point(51, 76);
this.progressEXP.Name = "progressEXP";
- this.progressEXP.Position = 0;
- this.progressEXP.PositionMax = 100;
- this.progressEXP.PositionMin = 0;
+ this.progressEXP.Value = 0;
+ this.progressEXP.Maximum = 100;
+ this.progressEXP.Minimum = 0;
this.progressEXP.Size = new System.Drawing.Size(180, 19);
- this.progressEXP.SteepDistance = ((byte)(0));
this.progressEXP.TabIndex = 12;
this.progressEXP.Text = "0%";
//
// progressHGP
//
- this.progressHGP.ColorBackGround = System.Drawing.Color.Gainsboro;
- this.progressHGP.ColorBarBorder = System.Drawing.Color.Gold;
- this.progressHGP.ColorBarCenter = System.Drawing.Color.Yellow;
- this.progressHGP.ColorText = System.Drawing.Color.White;
this.progressHGP.Location = new System.Drawing.Point(51, 55);
this.progressHGP.Name = "progressHGP";
- this.progressHGP.Position = 0;
- this.progressHGP.PositionMax = 100;
- this.progressHGP.PositionMin = 0;
+ this.progressHGP.Value = 0;
+ this.progressHGP.Maximum = 100;
+ this.progressHGP.Minimum = 0;
this.progressHGP.Size = new System.Drawing.Size(180, 19);
- this.progressHGP.SteepDistance = ((byte)(0));
this.progressHGP.TabIndex = 11;
this.progressHGP.Text = "0%";
//
// progressHP
//
- this.progressHP.ColorBackGround = System.Drawing.Color.Gainsboro;
- this.progressHP.ColorBarBorder = System.Drawing.Color.DarkRed;
- this.progressHP.ColorBarCenter = System.Drawing.Color.Red;
- this.progressHP.ColorText = System.Drawing.Color.White;
this.progressHP.Location = new System.Drawing.Point(51, 34);
this.progressHP.Name = "progressHP";
- this.progressHP.Position = 0;
- this.progressHP.PositionMax = 100;
- this.progressHP.PositionMin = 0;
+ this.progressHP.Value = 0;
+ this.progressHP.Maximum = 100;
+ this.progressHP.Minimum = 0;
this.progressHP.Size = new System.Drawing.Size(180, 19);
- this.progressHP.SteepDistance = ((byte)(0));
this.progressHP.TabIndex = 10;
this.progressHP.Text = "0%";
//
@@ -143,9 +128,9 @@ private void InitializeComponent()
#endregion
private System.Windows.Forms.Label lblPetName;
- private Theme.Controls.XpProgressBar progressEXP;
- private Theme.Controls.XpProgressBar progressHGP;
- private Theme.Controls.XpProgressBar progressHP;
+ private System.Windows.Forms.ProgressBar progressEXP;
+ private System.Windows.Forms.ProgressBar progressHGP;
+ private System.Windows.Forms.ProgressBar progressHP;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
diff --git a/Application/RSBot/Views/Controls/Pet.cs b/Application/RSBot/Views/Controls/Pet.cs
index 5017f031..80de5d96 100644
--- a/Application/RSBot/Views/Controls/Pet.cs
+++ b/Application/RSBot/Views/Controls/Pet.cs
@@ -39,9 +39,9 @@ private void SubscribeEvents()
private void OnTerminateAttackPet()
{
lblPetName.Text = @"No pet found";
- progressHP.Position = 0;
- progressEXP.Position = 0;
- progressHGP.Position = 0;
+ progressHP.Value = 0;
+ progressEXP.Value = 0;
+ progressHGP.Value = 0;
progressHP.Text = @"0%";
progressEXP.Text = @"0%";
progressHGP.Text = @"0%";
@@ -77,8 +77,11 @@ private void OnPetHealthUpdate()
{
if (Game.Player.AttackPet == null) return;
- var hpPercent = Math.Round((double)Game.Player.AttackPet.Health / (double)Game.Player.AttackPet.MaxHealth * 100, 0);
- progressHP.Position = Convert.ToInt32(hpPercent);
+ var hpPercent = (Game.Player.AttackPet.Health * 100) / Game.Player.AttackPet.MaxHealth;
+ if(hpPercent > 100)
+ hpPercent = 100;
+
+ progressHP.Value = Convert.ToInt32(hpPercent);
progressHP.Text = hpPercent + @"%";
}
@@ -87,9 +90,14 @@ private void OnPetHealthUpdate()
///
private void OnPetExpSpUpdate()
{
- if (Game.Player.AttackPet == null) return;
- var expPercent = Math.Round((double)Game.Player.AttackPet.Experience / (double)Game.Player.AttackPet.MaxExperience * 100, 0);
- progressEXP.Position = Convert.ToInt32(expPercent);
+ if (Game.Player.AttackPet == null)
+ return;
+
+ var expPercent = (Game.Player.AttackPet.Experience * 100) / Game.Player.AttackPet.MaxExperience;
+ if(expPercent > 100)
+ expPercent = 100;
+
+ progressEXP.Value = Convert.ToInt32(expPercent);
progressEXP.Text = expPercent + @"%";
}
@@ -98,9 +106,14 @@ private void OnPetExpSpUpdate()
///
private void OnAttackPetHungerUpdate()
{
- if (Game.Player.AttackPet == null) return;
- var hgpPercent = Math.Round((double)Game.Player.AttackPet.CurrentHungerPoints / (double)Game.Player.AttackPet.MaxHungerPoints * 100, 0);
- progressHGP.Position = Convert.ToInt32(hgpPercent);
+ if (Game.Player.AttackPet == null)
+ return;
+
+ var hgpPercent = (Game.Player.AttackPet.CurrentHungerPoints * 100) / Game.Player.AttackPet.MaxHungerPoints;
+ if(hgpPercent > 100)
+ hgpPercent = 100;
+
+ progressHGP.Value = Convert.ToInt32(hgpPercent);
progressHGP.Text = hgpPercent + @"%";
}
@@ -120,9 +133,9 @@ private void OnSummonAttackPet()
private void OnAgentServerDisconnected()
{
lblPetName.Text = "No pet found";
- foreach (XpProgressBar item in Controls.OfType())
+ foreach (ProgressBar item in Controls.OfType())
{
- item.Position = 0;
+ item.Value = 0;
item.Text = "0%";
}
}
diff --git a/Application/RSBot/Views/ExitDialog.Designer.cs b/Application/RSBot/Views/ExitDialog.Designer.cs
index a96e634f..42d9c342 100644
--- a/Application/RSBot/Views/ExitDialog.Designer.cs
+++ b/Application/RSBot/Views/ExitDialog.Designer.cs
@@ -30,8 +30,8 @@ private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
- this.btnNo = new RSBot.Theme.Material.Button();
- this.btnYes = new RSBot.Theme.Material.Button();
+ this.btnNo = new System.Windows.Forms.Button();
+ this.btnYes = new System.Windows.Forms.Button();
this.checkDontAskAgain = new System.Windows.Forms.CheckBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1.SuspendLayout();
@@ -62,15 +62,9 @@ private void InitializeComponent()
//
// btnNo
//
- this.btnNo.Depth = 0;
this.btnNo.DialogResult = System.Windows.Forms.DialogResult.No;
- this.btnNo.Icon = null;
this.btnNo.Location = new System.Drawing.Point(349, 14);
- this.btnNo.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnNo.Name = "btnNo";
- this.btnNo.Primary = false;
- this.btnNo.Raised = false;
- this.btnNo.SingleColor = System.Drawing.Color.Empty;
this.btnNo.Size = new System.Drawing.Size(75, 23);
this.btnNo.TabIndex = 1;
this.btnNo.Text = "No";
@@ -79,15 +73,9 @@ private void InitializeComponent()
// btnYes
//
this.btnYes.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.btnYes.Depth = 0;
this.btnYes.DialogResult = System.Windows.Forms.DialogResult.Yes;
- this.btnYes.Icon = null;
this.btnYes.Location = new System.Drawing.Point(268, 14);
- this.btnYes.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnYes.Name = "btnYes";
- this.btnYes.Primary = true;
- this.btnYes.Raised = true;
- this.btnYes.SingleColor = System.Drawing.Color.Empty;
this.btnYes.Size = new System.Drawing.Size(75, 23);
this.btnYes.TabIndex = 0;
this.btnYes.Text = "Yes";
@@ -146,8 +134,8 @@ private void InitializeComponent()
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.PictureBox pictureBox1;
- private Theme.Material.Button btnNo;
- private Theme.Material.Button btnYes;
+ private System.Windows.Forms.Button btnNo;
+ private System.Windows.Forms.Button btnYes;
private System.Windows.Forms.CheckBox checkDontAskAgain;
}
}
\ No newline at end of file
diff --git a/Application/RSBot/Views/Main.Designer.cs b/Application/RSBot/Views/Main.Designer.cs
index da94c561..447ea541 100644
--- a/Application/RSBot/Views/Main.Designer.cs
+++ b/Application/RSBot/Views/Main.Designer.cs
@@ -32,15 +32,6 @@ private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
- this.menuMain = new System.Windows.Forms.MainMenu(this.components);
- this.menuItem1 = new System.Windows.Forms.MenuItem();
- this.topmenuItemExit = new System.Windows.Forms.MenuItem();
- this.menuItem2 = new System.Windows.Forms.MenuItem();
- this.menuSidebar = new System.Windows.Forms.MenuItem();
- this.menuItem4 = new System.Windows.Forms.MenuItem();
- this.menuScriptRecorder = new System.Windows.Forms.MenuItem();
- this.menuPlugins = new System.Windows.Forms.MenuItem();
- this.menuItem3 = new System.Windows.Forms.MenuItem();
this.stripStatus = new System.Windows.Forms.StatusStrip();
this.menuBotbase = new System.Windows.Forms.ToolStripDropDownButton();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
@@ -49,11 +40,8 @@ private void InitializeComponent()
this.panel1 = new System.Windows.Forms.Panel();
this.comboServer = new System.Windows.Forms.ComboBox();
this.comboDivision = new System.Windows.Forms.ComboBox();
- this.btnSave = new RSBot.Theme.Material.Button();
- this.btnStartStop = new RSBot.Theme.Material.Button();
- this.panel7 = new System.Windows.Forms.Panel();
- this.tabMain = new System.Windows.Forms.TabControl();
- this.panel2 = new System.Windows.Forms.Panel();
+ this.btnSave = new System.Windows.Forms.Button();
+ this.btnStartStop = new System.Windows.Forms.Button();
this.pSidebar = new System.Windows.Forms.Panel();
this.picLogo = new System.Windows.Forms.PictureBox();
this.entity1 = new RSBot.Views.Controls.Entity();
@@ -62,80 +50,27 @@ private void InitializeComponent()
this.linkHideSidebar = new System.Windows.Forms.LinkLabel();
this.botbase1ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.botbase1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.centerPanel = new System.Windows.Forms.Panel();
- this.panel3 = new System.Windows.Forms.Panel();
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.menuItemExit = new System.Windows.Forms.ToolStripMenuItem();
+ this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.menuSidebar = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.menuScriptRecorder = new System.Windows.Forms.ToolStripMenuItem();
+ this.menuPlugins = new System.Windows.Forms.ToolStripMenuItem();
+ this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.thisToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.topCharacter = new RSBot.Views.Controls.Character();
- this.menuItemThis = new System.Windows.Forms.MenuItem();
+ this.menuStrip = new System.Windows.Forms.MenuStrip();
+ this.tabMain = new System.Windows.Forms.TabControl();
this.stripStatus.SuspendLayout();
this.panel1.SuspendLayout();
this.pSidebar.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picLogo)).BeginInit();
this.panel8.SuspendLayout();
- this.centerPanel.SuspendLayout();
+ this.menuStrip.SuspendLayout();
this.SuspendLayout();
//
- // menuMain
- //
- this.menuMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
- this.menuItem1,
- this.menuItem2,
- this.menuItem4,
- this.menuPlugins,
- this.menuItem3});
- //
- // menuItem1
- //
- this.menuItem1.Index = 0;
- this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
- this.topmenuItemExit});
- this.menuItem1.Text = "File";
- //
- // topmenuItemExit
- //
- this.topmenuItemExit.Index = 0;
- this.topmenuItemExit.Text = "Exit";
- this.topmenuItemExit.Click += new System.EventHandler(this.menuItemExit_Click);
- //
- // menuItem2
- //
- this.menuItem2.Index = 1;
- this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
- this.menuSidebar});
- this.menuItem2.Text = "View";
- //
- // menuSidebar
- //
- this.menuSidebar.Checked = true;
- this.menuSidebar.Index = 0;
- this.menuSidebar.Text = "Sidebar";
- this.menuSidebar.Click += new System.EventHandler(this.menuSidebar_Click);
- //
- // menuItem4
- //
- this.menuItem4.Index = 2;
- this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
- this.menuScriptRecorder});
- this.menuItem4.Text = "Tools";
- //
- // menuScriptRecorder
- //
- this.menuScriptRecorder.Index = 0;
- this.menuScriptRecorder.Text = "Script Recorder";
- this.menuScriptRecorder.Click += new System.EventHandler(this.menuScriptRecorder_Click);
- //
- // menuPlugins
- //
- this.menuPlugins.Index = 3;
- this.menuPlugins.Text = "Plugins";
- //
- // menuItem3
- //
- this.menuItem3.Index = 4;
- this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
- this.menuItemThis});
- this.menuItem3.Text = "About";
- //
// stripStatus
//
this.stripStatus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243)))));
@@ -147,7 +82,7 @@ private void InitializeComponent()
this.lblIngameStatus,
this.toolStripStatusLabelBeta});
this.stripStatus.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
- this.stripStatus.Location = new System.Drawing.Point(0, 578);
+ this.stripStatus.Location = new System.Drawing.Point(0, 593);
this.stripStatus.Name = "stripStatus";
this.stripStatus.Size = new System.Drawing.Size(1032, 23);
this.stripStatus.SizingGrip = false;
@@ -190,14 +125,13 @@ private void InitializeComponent()
//
// panel1
//
- this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
+ this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.comboServer);
this.panel1.Controls.Add(this.comboDivision);
this.panel1.Controls.Add(this.btnSave);
this.panel1.Controls.Add(this.btnStartStop);
- this.panel1.Controls.Add(this.panel7);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.panel1.Location = new System.Drawing.Point(0, 526);
+ this.panel1.Location = new System.Drawing.Point(0, 541);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1032, 52);
this.panel1.TabIndex = 2;
@@ -208,7 +142,7 @@ private void InitializeComponent()
this.comboServer.FormattingEnabled = true;
this.comboServer.Location = new System.Drawing.Point(109, 18);
this.comboServer.Name = "comboServer";
- this.comboServer.Size = new System.Drawing.Size(132, 21);
+ this.comboServer.Size = new System.Drawing.Size(132, 23);
this.comboServer.TabIndex = 11;
this.comboServer.SelectedIndexChanged += new System.EventHandler(this.comboServer_SelectedIndexChanged);
//
@@ -218,7 +152,7 @@ private void InitializeComponent()
this.comboDivision.FormattingEnabled = true;
this.comboDivision.Location = new System.Drawing.Point(12, 18);
this.comboDivision.Name = "comboDivision";
- this.comboDivision.Size = new System.Drawing.Size(91, 21);
+ this.comboDivision.Size = new System.Drawing.Size(91, 23);
this.comboDivision.TabIndex = 10;
this.comboDivision.SelectedIndexChanged += new System.EventHandler(this.comboDivision_SelectedIndexChanged);
//
@@ -227,14 +161,8 @@ private void InitializeComponent()
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnSave.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(175)))), ((int)(((byte)(80)))));
- this.btnSave.Depth = 0;
- this.btnSave.Icon = null;
this.btnSave.Location = new System.Drawing.Point(824, 16);
- this.btnSave.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnSave.Name = "btnSave";
- this.btnSave.Primary = false;
- this.btnSave.Raised = false;
- this.btnSave.SingleColor = System.Drawing.Color.Empty;
this.btnSave.Size = new System.Drawing.Size(95, 23);
this.btnSave.TabIndex = 1;
this.btnSave.TabStop = false;
@@ -246,15 +174,9 @@ private void InitializeComponent()
//
this.btnStartStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnStartStop.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.btnStartStop.Depth = 0;
this.btnStartStop.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
- this.btnStartStop.Icon = null;
this.btnStartStop.Location = new System.Drawing.Point(925, 16);
- this.btnStartStop.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnStartStop.Name = "btnStartStop";
- this.btnStartStop.Primary = true;
- this.btnStartStop.Raised = true;
- this.btnStartStop.SingleColor = System.Drawing.Color.Empty;
this.btnStartStop.Size = new System.Drawing.Size(95, 23);
this.btnStartStop.TabIndex = 0;
this.btnStartStop.TabStop = false;
@@ -262,45 +184,17 @@ private void InitializeComponent()
this.btnStartStop.UseVisualStyleBackColor = false;
this.btnStartStop.Click += new System.EventHandler(this.btnStartStop_Click);
//
- // panel7
- //
- this.panel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- this.panel7.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel7.Location = new System.Drawing.Point(0, 0);
- this.panel7.Name = "panel7";
- this.panel7.Size = new System.Drawing.Size(1032, 2);
- this.panel7.TabIndex = 7;
- //
- // tabMain
- //
- this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tabMain.ItemSize = new System.Drawing.Size(0, 23);
- this.tabMain.Location = new System.Drawing.Point(6, 3);
- this.tabMain.Name = "tabMain";
- this.tabMain.SelectedIndex = 0;
- this.tabMain.Size = new System.Drawing.Size(773, 437);
- this.tabMain.TabIndex = 3;
- //
- // panel2
- //
- this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel2.Location = new System.Drawing.Point(0, 81);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(1032, 2);
- this.panel2.TabIndex = 4;
- //
// pSidebar
//
- this.pSidebar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
+ this.pSidebar.BackColor = System.Drawing.Color.Transparent;
this.pSidebar.Controls.Add(this.picLogo);
this.pSidebar.Controls.Add(this.entity1);
this.pSidebar.Controls.Add(this.pet1);
this.pSidebar.Controls.Add(this.panel8);
this.pSidebar.Dock = System.Windows.Forms.DockStyle.Right;
- this.pSidebar.Location = new System.Drawing.Point(782, 83);
+ this.pSidebar.Location = new System.Drawing.Point(782, 0);
this.pSidebar.Name = "pSidebar";
- this.pSidebar.Size = new System.Drawing.Size(250, 443);
+ this.pSidebar.Size = new System.Drawing.Size(250, 541);
this.pSidebar.TabIndex = 6;
//
// picLogo
@@ -308,7 +202,7 @@ private void InitializeComponent()
this.picLogo.Cursor = System.Windows.Forms.Cursors.Hand;
this.picLogo.Dock = System.Windows.Forms.DockStyle.Bottom;
this.picLogo.Image = ((System.Drawing.Image)(resources.GetObject("picLogo.Image")));
- this.picLogo.Location = new System.Drawing.Point(0, 349);
+ this.picLogo.Location = new System.Drawing.Point(0, 447);
this.picLogo.Name = "picLogo";
this.picLogo.Size = new System.Drawing.Size(250, 94);
this.picLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@@ -346,9 +240,11 @@ private void InitializeComponent()
// linkHideSidebar
//
this.linkHideSidebar.AutoSize = true;
+ this.linkHideSidebar.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.linkHideSidebar.LinkColor = System.Drawing.Color.Blue;
this.linkHideSidebar.Location = new System.Drawing.Point(169, 2);
this.linkHideSidebar.Name = "linkHideSidebar";
- this.linkHideSidebar.Size = new System.Drawing.Size(72, 13);
+ this.linkHideSidebar.Size = new System.Drawing.Size(73, 15);
this.linkHideSidebar.TabIndex = 0;
this.linkHideSidebar.TabStop = true;
this.linkHideSidebar.Text = "Hide sidebar";
@@ -366,26 +262,6 @@ private void InitializeComponent()
this.botbase1ToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.botbase1ToolStripMenuItem.Text = "Botbase #1";
//
- // centerPanel
- //
- this.centerPanel.Controls.Add(this.tabMain);
- this.centerPanel.Dock = System.Windows.Forms.DockStyle.Fill;
- this.centerPanel.Location = new System.Drawing.Point(0, 83);
- this.centerPanel.Name = "centerPanel";
- this.centerPanel.Padding = new System.Windows.Forms.Padding(6, 3, 3, 3);
- this.centerPanel.Size = new System.Drawing.Size(782, 443);
- this.centerPanel.TabIndex = 9;
- //
- // panel3
- //
- this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel3.Location = new System.Drawing.Point(0, 0);
- this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(1032, 2);
- this.panel3.TabIndex = 10;
- this.panel3.Visible = false;
- //
// notifyIcon
//
this.notifyIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info;
@@ -396,41 +272,125 @@ private void InitializeComponent()
this.notifyIcon.Visible = true;
this.notifyIcon.Click += new System.EventHandler(this.notifyIcon_Click);
//
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.menuItemExit});
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ this.fileToolStripMenuItem.Text = "File";
+ //
+ // menuItemExit
+ //
+ this.menuItemExit.Name = "menuItemExit";
+ this.menuItemExit.Size = new System.Drawing.Size(93, 22);
+ this.menuItemExit.Text = "Exit";
+ this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click);
+ //
+ // viewToolStripMenuItem
+ //
+ this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.menuSidebar});
+ this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
+ this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
+ this.viewToolStripMenuItem.Text = "View";
+ //
+ // menuSidebar
+ //
+ this.menuSidebar.Name = "menuSidebar";
+ this.menuSidebar.Size = new System.Drawing.Size(113, 22);
+ this.menuSidebar.Text = "Sidebar";
+ this.menuSidebar.Click += new System.EventHandler(this.menuSidebar_Click);
+ //
+ // toolsToolStripMenuItem
+ //
+ this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.menuScriptRecorder});
+ this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
+ this.toolsToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
+ this.toolsToolStripMenuItem.Text = "Tools";
+ //
+ // menuScriptRecorder
+ //
+ this.menuScriptRecorder.Name = "menuScriptRecorder";
+ this.menuScriptRecorder.Size = new System.Drawing.Size(154, 22);
+ this.menuScriptRecorder.Text = "Script Recorder";
+ this.menuScriptRecorder.Click += new System.EventHandler(this.menuScriptRecorder_Click);
+ //
+ // menuPlugins
+ //
+ this.menuPlugins.Name = "menuPlugins";
+ this.menuPlugins.Size = new System.Drawing.Size(58, 20);
+ this.menuPlugins.Text = "Plugins";
+ //
+ // aboutToolStripMenuItem
+ //
+ this.aboutToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.thisToolStripMenuItem});
+ this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
+ this.aboutToolStripMenuItem.Size = new System.Drawing.Size(52, 20);
+ this.aboutToolStripMenuItem.Text = "About";
+ //
+ // thisToolStripMenuItem
+ //
+ this.thisToolStripMenuItem.Name = "thisToolStripMenuItem";
+ this.thisToolStripMenuItem.Size = new System.Drawing.Size(95, 22);
+ this.thisToolStripMenuItem.Text = "This";
+ this.thisToolStripMenuItem.Click += new System.EventHandler(this.menuItemThis_Click);
+ //
// topCharacter
//
+ this.topCharacter.BackColor = System.Drawing.Color.White;
this.topCharacter.Dock = System.Windows.Forms.DockStyle.Top;
- this.topCharacter.Location = new System.Drawing.Point(0, 2);
+ this.topCharacter.Location = new System.Drawing.Point(0, 24);
this.topCharacter.Margin = new System.Windows.Forms.Padding(4);
this.topCharacter.Name = "topCharacter";
- this.topCharacter.Size = new System.Drawing.Size(1032, 79);
+ this.topCharacter.Size = new System.Drawing.Size(782, 79);
this.topCharacter.TabIndex = 7;
//
- // menuItemThis
+ // menuStrip
+ //
+ this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fileToolStripMenuItem,
+ this.viewToolStripMenuItem,
+ this.toolsToolStripMenuItem,
+ this.menuPlugins,
+ this.aboutToolStripMenuItem});
+ this.menuStrip.Location = new System.Drawing.Point(0, 0);
+ this.menuStrip.Name = "menuStrip";
+ this.menuStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
+ this.menuStrip.Size = new System.Drawing.Size(782, 24);
+ this.menuStrip.TabIndex = 10;
+ this.menuStrip.Text = "menuStrip1";
+ //
+ // tabMain
//
- this.menuItemThis.Index = 0;
- this.menuItemThis.Text = "This";
- this.menuItemThis.Click += new System.EventHandler(this.menuItemThis_Click);
+ this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tabMain.ItemSize = new System.Drawing.Size(0, 23);
+ this.tabMain.Location = new System.Drawing.Point(0, 103);
+ this.tabMain.Name = "tabMain";
+ this.tabMain.SelectedIndex = 0;
+ this.tabMain.Size = new System.Drawing.Size(782, 438);
+ this.tabMain.TabIndex = 3;
//
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(1032, 601);
- this.Controls.Add(this.centerPanel);
- this.Controls.Add(this.pSidebar);
- this.Controls.Add(this.panel2);
+ this.ClientSize = new System.Drawing.Size(1032, 616);
+ this.Controls.Add(this.tabMain);
this.Controls.Add(this.topCharacter);
+ this.Controls.Add(this.menuStrip);
+ this.Controls.Add(this.pSidebar);
this.Controls.Add(this.panel1);
this.Controls.Add(this.stripStatus);
- this.Controls.Add(this.panel3);
- this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
+ this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MaximizeBox = false;
+ this.MainMenuStrip = this.menuStrip;
this.MaximumSize = new System.Drawing.Size(1048, 724);
- this.Menu = this.menuMain;
this.Name = "Main";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "RSBot";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
this.Load += new System.EventHandler(this.Main_Load);
@@ -443,49 +403,45 @@ private void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.picLogo)).EndInit();
this.panel8.ResumeLayout(false);
this.panel8.PerformLayout();
- this.centerPanel.ResumeLayout(false);
+ this.menuStrip.ResumeLayout(false);
+ this.menuStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
-
- private System.Windows.Forms.MainMenu menuMain;
- private System.Windows.Forms.MenuItem menuItem1;
- private System.Windows.Forms.MenuItem menuItem2;
- private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.StatusStrip stripStatus;
private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.TabControl tabMain;
- private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel pSidebar;
private System.Windows.Forms.ToolStripStatusLabel lblIngameStatus;
- private Theme.Material.Button btnStartStop;
- private Theme.Material.Button btnSave;
+ private System.Windows.Forms.Button btnStartStop;
+ private System.Windows.Forms.Button btnSave;
private Controls.Character topCharacter;
private Controls.Pet pet1;
- private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel8;
private System.Windows.Forms.LinkLabel linkHideSidebar;
private Entity entity1;
- private System.Windows.Forms.MenuItem menuSidebar;
private System.Windows.Forms.ComboBox comboServer;
private System.Windows.Forms.ComboBox comboDivision;
private System.Windows.Forms.ToolStripDropDownButton menuBotbase;
private System.Windows.Forms.ToolStripMenuItem botbase1ToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem botbase1ToolStripMenuItem;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
- private System.Windows.Forms.MenuItem menuItem4;
- private System.Windows.Forms.MenuItem menuScriptRecorder;
private System.Windows.Forms.PictureBox picLogo;
- private System.Windows.Forms.MenuItem menuPlugins;
- private System.Windows.Forms.Panel centerPanel;
- private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelBeta;
private System.Windows.Forms.NotifyIcon notifyIcon;
- private System.Windows.Forms.MenuItem topmenuItemExit;
- private System.Windows.Forms.MenuItem menuItemThis;
+ private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem menuItemExit;
+ private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem menuSidebar;
+ private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem menuScriptRecorder;
+ private System.Windows.Forms.ToolStripMenuItem menuPlugins;
+ private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem thisToolStripMenuItem;
+ private System.Windows.Forms.MenuStrip menuStrip;
+ private System.Windows.Forms.TabControl tabMain;
}
}
diff --git a/Application/RSBot/Views/Main.cs b/Application/RSBot/Views/Main.cs
index d5a9dafa..ce2a3641 100644
--- a/Application/RSBot/Views/Main.cs
+++ b/Application/RSBot/Views/Main.cs
@@ -3,6 +3,7 @@
using RSBot.Core.Components;
using RSBot.Core.Event;
using RSBot.Core.Plugins;
+using RSBot.Theme.Controls;
using System;
using System.Diagnostics;
using System.Drawing;
@@ -67,7 +68,8 @@ private void SelectBotbase(int index)
Name = "tabBotbase",
Enabled = false
};
-
+ tabPage.BackColor = Color.FromArgb(200, BackColor);
+ tabPage.ForeColor = ForeColor;
tabPage.Controls.Add(selectedBotbase.GetView());
tabMain.TabPages.Insert(1, tabPage);
@@ -75,7 +77,7 @@ private void SelectBotbase(int index)
Kernel.Bot.SetBotbase(selectedBotbase);
GlobalConfig.Set("RSBot.BotIndex", index.ToString());
- var info = new Theme.Controls.TabDisabledInfo { Name = "overlay", Location = new Point(tabMain.Width / 2 - 110, tabMain.Height - 150) };
+ var info = new TabDisabledInfo { Name = "overlay", Location = new Point(tabMain.Width / 2 - 110, tabMain.Height - 150) };
tabPage.Controls.Add(info);
//So we can see it at least..
@@ -106,6 +108,9 @@ private void LoadExtensions()
var control = extension.Value.GetView();
control.Dock = DockStyle.Fill;
+
+ tabPage.BackColor = Color.FromArgb(200, BackColor);
+ tabPage.ForeColor = ForeColor;
tabPage.Controls.Add(control);
tabMain.TabPages.Add(tabPage);
@@ -127,14 +132,14 @@ private void LoadExtensions()
foreach (var extension in tempExtensions.Where(extension => !extension.Value.Information.DisplayAsTab))
{
- var menuItem = new MenuItem(extension.Value.Information.DisplayName)
+ var menuItem = new ToolStripMenuItem(extension.Value.Information.DisplayName)
{
Enabled = !extension.Value.Information.RequireIngame
};
menuItem.Click += PluginMenuItem_Click;
menuItem.Tag = extension.Value;
- menuPlugins.MenuItems.Add(menuItem);
+ menuPlugins.DropDownItems.Add(menuItem);
}
}
@@ -452,7 +457,7 @@ private void OnLoadCharacter()
tabPage.Controls["overlay"]?.Hide();
}
- foreach (MenuItem item in menuPlugins.MenuItems)
+ foreach (MenuItem item in menuPlugins.DropDownItems)
item.Enabled = true;
Text = $@"RSBot - {Game.Player.Name}";
diff --git a/Application/RSBot/Views/Main.resx b/Application/RSBot/Views/Main.resx
index 346a7a45..0423f64e 100644
--- a/Application/RSBot/Views/Main.resx
+++ b/Application/RSBot/Views/Main.resx
@@ -117,9 +117,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 17, 17
-
127, 17
@@ -1455,6 +1452,9 @@
//////////////////////////////////8=
+
+ 31, 17
+
127
diff --git a/Application/RSBot/Views/ScriptRecorder.Designer.cs b/Application/RSBot/Views/ScriptRecorder.Designer.cs
index 269d3c03..f0ecc3eb 100644
--- a/Application/RSBot/Views/ScriptRecorder.Designer.cs
+++ b/Application/RSBot/Views/ScriptRecorder.Designer.cs
@@ -30,10 +30,10 @@ private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScriptRecorder));
this.panel1 = new System.Windows.Forms.Panel();
- this.btnRunNow = new Theme.Material.Button();
- this.btnSave = new Theme.Material.Button();
- this.btnClear = new Theme.Material.Button();
- this.btnStart = new Theme.Material.Button();
+ this.btnRunNow = new System.Windows.Forms.Button();
+ this.btnSave = new System.Windows.Forms.Button();
+ this.btnClear = new System.Windows.Forms.Button();
+ this.btnStart = new System.Windows.Forms.Button();
this.txtScript = new System.Windows.Forms.RichTextBox();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.lblStatus = new System.Windows.Forms.ToolStripStatusLabel();
@@ -55,13 +55,8 @@ private void InitializeComponent()
//
// btnRunNow
//
- this.btnRunNow.Depth = 0;
- this.btnRunNow.Icon = null;
this.btnRunNow.Location = new System.Drawing.Point(174, 9);
- this.btnRunNow.MouseState = Theme.IMatMouseState.HOVER;
this.btnRunNow.Name = "btnRunNow";
- this.btnRunNow.Primary = false;
- this.btnRunNow.Raised = false;
this.btnRunNow.Size = new System.Drawing.Size(75, 23);
this.btnRunNow.TabIndex = 3;
this.btnRunNow.Text = "Run now";
@@ -71,13 +66,8 @@ private void InitializeComponent()
// btnSave
//
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnSave.Depth = 0;
- this.btnSave.Icon = null;
this.btnSave.Location = new System.Drawing.Point(464, 9);
- this.btnSave.MouseState = Theme.IMatMouseState.HOVER;
this.btnSave.Name = "btnSave";
- this.btnSave.Primary = true;
- this.btnSave.Raised = true;
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 0;
this.btnSave.Text = "Save";
@@ -86,13 +76,8 @@ private void InitializeComponent()
//
// btnClear
//
- this.btnClear.Depth = 0;
- this.btnClear.Icon = null;
this.btnClear.Location = new System.Drawing.Point(93, 9);
- this.btnClear.MouseState = Theme.IMatMouseState.HOVER;
this.btnClear.Name = "btnClear";
- this.btnClear.Primary = false;
- this.btnClear.Raised = false;
this.btnClear.Size = new System.Drawing.Size(75, 23);
this.btnClear.TabIndex = 0;
this.btnClear.Text = "Clear";
@@ -101,13 +86,8 @@ private void InitializeComponent()
//
// btnStart
//
- this.btnStart.Depth = 0;
- this.btnStart.Icon = null;
this.btnStart.Location = new System.Drawing.Point(12, 9);
- this.btnStart.MouseState = Theme.IMatMouseState.HOVER;
this.btnStart.Name = "btnStart";
- this.btnStart.Primary = false;
- this.btnStart.Raised = false;
this.btnStart.Size = new System.Drawing.Size(75, 23);
this.btnStart.TabIndex = 0;
this.btnStart.Text = "Start";
@@ -167,11 +147,11 @@ private void InitializeComponent()
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.RichTextBox txtScript;
- private Theme.Material.Button btnStart;
- private Theme.Material.Button btnSave;
+ private System.Windows.Forms.Button btnStart;
+ private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel lblStatus;
- private Theme.Material.Button btnClear;
- private Theme.Material.Button btnRunNow;
+ private System.Windows.Forms.Button btnClear;
+ private System.Windows.Forms.Button btnRunNow;
}
}
\ No newline at end of file
diff --git a/Application/RSBot/Views/SplashScreen.cs b/Application/RSBot/Views/SplashScreen.cs
index 07c1fa40..6200353d 100644
--- a/Application/RSBot/Views/SplashScreen.cs
+++ b/Application/RSBot/Views/SplashScreen.cs
@@ -6,7 +6,7 @@
namespace RSBot.Views
{
- public partial class SplashScreen : CleanForm
+ public partial class SplashScreen : Form
{
private readonly Main _mainForm;
diff --git a/Application/RSBot/Views/Updater.Designer.cs b/Application/RSBot/Views/Updater.Designer.cs
index 69c57bfc..64f7066b 100644
--- a/Application/RSBot/Views/Updater.Designer.cs
+++ b/Application/RSBot/Views/Updater.Designer.cs
@@ -32,8 +32,8 @@ private void InitializeComponent()
this.lblInfo = new System.Windows.Forms.Label();
this.cbChangeLog = new System.Windows.Forms.CheckBox();
this.label2 = new System.Windows.Forms.Label();
- this.btnDownload = new RSBot.Theme.Material.Button();
- this.btnSkip = new RSBot.Theme.Material.Button();
+ this.btnDownload = new System.Windows.Forms.Button();
+ this.btnSkip = new System.Windows.Forms.Button();
this.centerPanel = new System.Windows.Forms.Panel();
this.downloadProgress = new System.Windows.Forms.ProgressBar();
this.lblDownloadInfo = new System.Windows.Forms.Label();
@@ -90,15 +90,9 @@ private void InitializeComponent()
this.btnDownload.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnDownload.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.btnDownload.Depth = 0;
this.btnDownload.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnDownload.Icon = null;
this.btnDownload.Location = new System.Drawing.Point(332, 5);
- this.btnDownload.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnDownload.Name = "btnDownload";
- this.btnDownload.Primary = true;
- this.btnDownload.Raised = true;
- this.btnDownload.SingleColor = System.Drawing.Color.Empty;
this.btnDownload.Size = new System.Drawing.Size(85, 23);
this.btnDownload.TabIndex = 4;
this.btnDownload.Text = "Update";
@@ -107,15 +101,9 @@ private void InitializeComponent()
//
// btnSkip
//
- this.btnSkip.Depth = 0;
this.btnSkip.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnSkip.Icon = null;
this.btnSkip.Location = new System.Drawing.Point(5, 5);
- this.btnSkip.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnSkip.Name = "btnSkip";
- this.btnSkip.Primary = false;
- this.btnSkip.Raised = false;
- this.btnSkip.SingleColor = System.Drawing.Color.Empty;
this.btnSkip.Size = new System.Drawing.Size(75, 23);
this.btnSkip.TabIndex = 4;
this.btnSkip.Text = "Skip";
@@ -190,8 +178,8 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblInfo;
private System.Windows.Forms.CheckBox cbChangeLog;
private System.Windows.Forms.Label label2;
- private Theme.Material.Button btnDownload;
- private Theme.Material.Button btnSkip;
+ private System.Windows.Forms.Button btnDownload;
+ private System.Windows.Forms.Button btnSkip;
private System.Windows.Forms.Panel centerPanel;
private System.Windows.Forms.ProgressBar downloadProgress;
private System.Windows.Forms.Label lblDownloadInfo;
diff --git a/Application/RSBot/Views/Updater.cs b/Application/RSBot/Views/Updater.cs
index 4e8f7605..b0e2eba4 100644
--- a/Application/RSBot/Views/Updater.cs
+++ b/Application/RSBot/Views/Updater.cs
@@ -1,4 +1,5 @@
-using System;
+using RSBot.Theme.Extensions;
+using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
@@ -10,8 +11,6 @@
namespace RSBot.Views
{
- using Theme.Extensions;
-
public partial class Updater : Form
{
public Updater()
diff --git a/Botbases/RSBot.Bot.Default/Bundle/Attack/AttackBundle.cs b/Botbases/RSBot.Bot.Default/Bundle/Attack/AttackBundle.cs
index 819c260e..d3a78e83 100644
--- a/Botbases/RSBot.Bot.Default/Bundle/Attack/AttackBundle.cs
+++ b/Botbases/RSBot.Bot.Default/Bundle/Attack/AttackBundle.cs
@@ -35,7 +35,9 @@ public void Invoke()
if (Game.Player.InAction && SkillManager.LastActionType != ActionType.AutoAttack)
return;
+ var stopwatch = System.Diagnostics.Stopwatch.StartNew();
var skill = SkillManager.GetNextSkill();
+ Log.Debug($"Getnextskill: {stopwatch.ElapsedMilliseconds} Action:{Game.Player.InAction} Entity:{Game.SelectedEntity != null} LA:{SkillManager.LastActionType} Skill:{skill}");
if (skill == null)
{
if (Game.Player.InAction)
diff --git a/Botbases/RSBot.Bot.Default/RSBot.Bot.Default.csproj b/Botbases/RSBot.Bot.Default/RSBot.Bot.Default.csproj
index 2428f440..657b1609 100644
--- a/Botbases/RSBot.Bot.Default/RSBot.Bot.Default.csproj
+++ b/Botbases/RSBot.Bot.Default/RSBot.Bot.Default.csproj
@@ -77,11 +77,6 @@
RSBot.Core
False
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Botbases/RSBot.Bot.Default/Views/Main.Designer.cs b/Botbases/RSBot.Bot.Default/Views/Main.Designer.cs
index adf60f9e..eed17031 100644
--- a/Botbases/RSBot.Bot.Default/Views/Main.Designer.cs
+++ b/Botbases/RSBot.Bot.Default/Views/Main.Designer.cs
@@ -46,7 +46,7 @@ private void InitializeComponent()
this.label5 = new System.Windows.Forms.Label();
this.radioWalkAround = new System.Windows.Forms.RadioButton();
this.radioCenter = new System.Windows.Forms.RadioButton();
- this.btnGetCurrent = new RSBot.Theme.Material.Button();
+ this.btnGetCurrent = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
@@ -54,7 +54,7 @@ private void InitializeComponent()
this.txtYCoord = new System.Windows.Forms.TextBox();
this.txtXCoord = new System.Windows.Forms.TextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.lvAvoidance = new RSBot.Theme.Controls.ListView();
+ this.lvAvoidance = new System.Windows.Forms.ListView();
this.ctxAvoidance = new System.Windows.Forms.ContextMenuStrip(this.components);
this.btnAvoid = new System.Windows.Forms.ToolStripMenuItem();
this.btnPrefer = new System.Windows.Forms.ToolStripMenuItem();
@@ -64,7 +64,7 @@ private void InitializeComponent()
this.checkUseSpeedDrug = new System.Windows.Forms.CheckBox();
this.checkCastBuffs = new System.Windows.Forms.CheckBox();
this.checkUseMount = new System.Windows.Forms.CheckBox();
- this.btnBrowse = new RSBot.Theme.Material.Button();
+ this.btnBrowse = new System.Windows.Forms.Button();
this.txtWalkscript = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.checkBerzerkWhenFull = new System.Windows.Forms.CheckBox();
@@ -145,14 +145,8 @@ private void InitializeComponent()
//
// btnGetCurrent
//
- this.btnGetCurrent.Depth = 0;
- this.btnGetCurrent.Icon = null;
this.btnGetCurrent.Location = new System.Drawing.Point(107, 106);
- this.btnGetCurrent.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnGetCurrent.Name = "btnGetCurrent";
- this.btnGetCurrent.Primary = false;
- this.btnGetCurrent.Raised = false;
- this.btnGetCurrent.SingleColor = System.Drawing.Color.Empty;
this.btnGetCurrent.Size = new System.Drawing.Size(97, 23);
this.btnGetCurrent.TabIndex = 3;
this.btnGetCurrent.Text = "Current";
@@ -349,14 +343,8 @@ private void InitializeComponent()
//
// btnBrowse
//
- this.btnBrowse.Depth = 0;
- this.btnBrowse.Icon = null;
this.btnBrowse.Location = new System.Drawing.Point(406, 46);
- this.btnBrowse.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnBrowse.Name = "btnBrowse";
- this.btnBrowse.Primary = false;
- this.btnBrowse.Raised = false;
- this.btnBrowse.SingleColor = System.Drawing.Color.Empty;
this.btnBrowse.Size = new System.Drawing.Size(57, 21);
this.btnBrowse.TabIndex = 3;
this.btnBrowse.Text = "Browse";
@@ -494,9 +482,9 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox txtXCoord;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.GroupBox groupBox2;
- private Theme.Material.Button btnGetCurrent;
+ private System.Windows.Forms.Button btnGetCurrent;
private System.Windows.Forms.GroupBox groupBox3;
- private Theme.Material.Button btnBrowse;
+ private System.Windows.Forms.Button btnBrowse;
private System.Windows.Forms.TextBox txtWalkscript;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.CheckBox checkUseMount;
@@ -507,7 +495,7 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox checkUseSpeedDrug;
private System.Windows.Forms.CheckBox checkCastBuffs;
private System.Windows.Forms.CheckBox checkBerzerkWhenFull;
- private Theme.Controls.ListView lvAvoidance;
+ private System.Windows.Forms.ListView lvAvoidance;
private System.Windows.Forms.ContextMenuStrip ctxAvoidance;
private System.Windows.Forms.ToolStripMenuItem btnAvoid;
private System.Windows.Forms.ToolStripMenuItem btnPrefer;
diff --git a/Library/RSBot.Core/Components/SkillManager.cs b/Library/RSBot.Core/Components/SkillManager.cs
index 6e7af85e..d0452ce7 100644
--- a/Library/RSBot.Core/Components/SkillManager.cs
+++ b/Library/RSBot.Core/Components/SkillManager.cs
@@ -5,6 +5,7 @@
using RSBot.Core.Objects.Spawn;
using System;
using System.Collections.Generic;
+using System.Diagnostics;
using System.Linq;
using System.Threading;
@@ -92,6 +93,9 @@ public static void SetSkills(MonsterRarity monsterRarity, List skills
public static SkillInfo GetNextSkill()
{
var entity = Game.SelectedEntity;
+ if (entity == null)
+ return null;
+
var rarity = MonsterRarity.General;
if (entity is SpawnedMonster monster)
@@ -113,6 +117,7 @@ public static SkillInfo GetNextSkill()
}
else if (distance < 10)
{
+ var stopwatch = Stopwatch.StartNew();
while (Skills[rarity].Count > 0)
{
_lastIndex++;
@@ -126,6 +131,8 @@ public static SkillInfo GetNextSkill()
closestSkill = selectedSkill;
break;
}
+
+ //Debug.WriteLine($"while loop: {stopwatch.ElapsedMilliseconds}");
}
else
{
@@ -133,6 +140,9 @@ public static SkillInfo GetNextSkill()
if (weapon != null)
weaponRange = weapon.Record.Range / 10;
*/
+
+ var stopwatch = Stopwatch.StartNew();
+
for (int i = 0; i < Skills[rarity].Count; i++)
{
var s = Skills[rarity][i];
@@ -146,6 +156,7 @@ public static SkillInfo GetNextSkill()
closestSkill = s;
}
}
+ //Debug.WriteLine($"for loop: {stopwatch.ElapsedMilliseconds}");
}
return closestSkill;
diff --git a/Library/RSBot.Core/Network/Handler/Agent/Character/CharacterUpdateStatsResponse.cs b/Library/RSBot.Core/Network/Handler/Agent/Character/CharacterUpdateStatsResponse.cs
index 31aa3a16..6fc805e2 100644
--- a/Library/RSBot.Core/Network/Handler/Agent/Character/CharacterUpdateStatsResponse.cs
+++ b/Library/RSBot.Core/Network/Handler/Agent/Character/CharacterUpdateStatsResponse.cs
@@ -37,12 +37,12 @@ public void Invoke(Packet packet)
Core.Game.Player.HitRate = packet.ReadUShort();
Core.Game.Player.ParryRate = packet.ReadUShort();
- Core.Game.Player.MaximumHealth = packet.ReadUInt();
- Core.Game.Player.MaximumMana = packet.ReadUInt();
+ Core.Game.Player.MaximumHealth = packet.ReadInt();
+ Core.Game.Player.MaximumMana = packet.ReadInt();
Core.Game.Player.Strength = packet.ReadUShort();
Core.Game.Player.Intelligence = packet.ReadUShort();
-
+
EventManager.FireEvent("OnLoadCharacterStats");
}
}
diff --git a/Library/RSBot.Core/Network/Handler/Agent/Cos/CosUpdateResponse.cs b/Library/RSBot.Core/Network/Handler/Agent/Cos/CosUpdateResponse.cs
index 13853e23..a74a7363 100644
--- a/Library/RSBot.Core/Network/Handler/Agent/Cos/CosUpdateResponse.cs
+++ b/Library/RSBot.Core/Network/Handler/Agent/Cos/CosUpdateResponse.cs
@@ -43,7 +43,7 @@ public void Invoke(Packet packet)
break;
case 3:
- var experience = packet.ReadULong();
+ var experience = packet.ReadLong();
var source = packet.ReadUInt();
if (source == Core.Game.Player.AttackPet.UniqueId || Core.Game.Player.AttackPet == null) return;
@@ -51,9 +51,9 @@ public void Invoke(Packet packet)
Core.Game.Player.AttackPet.Experience += experience;
var iLevel = Core.Game.Player.AttackPet.Level;
- while (Core.Game.Player.AttackPet.Experience > (ulong)Core.Game.ReferenceManager.GetRefLevel(iLevel).Exp_C)
+ while (Core.Game.Player.AttackPet.Experience > Core.Game.ReferenceManager.GetRefLevel(iLevel).Exp_C)
{
- Core.Game.Player.AttackPet.Experience -= (ulong)Core.Game.ReferenceManager.GetRefLevel(iLevel).Exp_C;
+ Core.Game.Player.AttackPet.Experience -= Core.Game.ReferenceManager.GetRefLevel(iLevel).Exp_C;
iLevel++;
}
diff --git a/Library/RSBot.Core/Objects/Cos/AttackPet.cs b/Library/RSBot.Core/Objects/Cos/AttackPet.cs
index ca1aad69..c944b02f 100644
--- a/Library/RSBot.Core/Objects/Cos/AttackPet.cs
+++ b/Library/RSBot.Core/Objects/Cos/AttackPet.cs
@@ -23,7 +23,7 @@ public AttackPet(uint objId) : base(objId) {}
///
/// The experience.
///
- public ulong Experience { get; set; }
+ public long Experience { get; set; }
///
/// Gets or sets the level.
@@ -105,7 +105,7 @@ internal static AttackPet FromPacket(Packet packet, uint uniqueId, uint id)
var maxHealth = packet.ReadInt(); //UNKNOWN
result.MaxHealth = maxHealth != 0 ? maxHealth : result.Health;
- result.Experience = packet.ReadULong();
+ result.Experience = packet.ReadLong();
result.Level = packet.ReadByte();
result.CurrentHungerPoints = packet.ReadUShort();
packet.ReadInt(); //UNKNOWN (maybe control?)
diff --git a/Library/RSBot.Core/Objects/Player.cs b/Library/RSBot.Core/Objects/Player.cs
index 85c48041..f155308b 100644
--- a/Library/RSBot.Core/Objects/Player.cs
+++ b/Library/RSBot.Core/Objects/Player.cs
@@ -258,7 +258,7 @@ public class Player : SpawnedBionic
///
/// The maximum health.
///
- public uint MaximumHealth { get; set; }
+ public int MaximumHealth { get; set; }
///
/// Gets or sets the maximum mana.
@@ -266,7 +266,7 @@ public class Player : SpawnedBionic
///
/// The maximum mana.
///
- public uint MaximumMana { get; set; }
+ public int MaximumMana { get; set; }
///
/// Gets or sets the strength.
@@ -650,7 +650,7 @@ private bool UsePotion(TypeIdFilter filter, ref int tick, ref int duration)
}
}
var elapsed = Environment.TickCount - tick;
- Log.Notify($"{potionItem.Record.GetRealName()} {tick} {elapsed} {duration} {elapsed < duration}");
+ Log.Debug($"{potionItem.Record.GetRealName()} {tick} {elapsed} {duration} {elapsed < duration}");
if (elapsed < duration)
return false;
diff --git a/Library/RSBot.Core/RSBot.Core.csproj b/Library/RSBot.Core/RSBot.Core.csproj
index d91a5a86..7c38e776 100644
--- a/Library/RSBot.Core/RSBot.Core.csproj
+++ b/Library/RSBot.Core/RSBot.Core.csproj
@@ -42,8 +42,10 @@
+
+
@@ -291,6 +293,19 @@
+
+ Form
+
+
+ InputDialog.cs
+
+
+ UserControl
+
+
+
+
+
diff --git a/Library/RSBot.Theme/Controls/InputDialog.Designer.cs b/Library/RSBot.Core/Temp.Theme/Controls/InputDialog.Designer.cs
similarity index 90%
rename from Library/RSBot.Theme/Controls/InputDialog.Designer.cs
rename to Library/RSBot.Core/Temp.Theme/Controls/InputDialog.Designer.cs
index c897eaae..fdbbfce9 100644
--- a/Library/RSBot.Theme/Controls/InputDialog.Designer.cs
+++ b/Library/RSBot.Core/Temp.Theme/Controls/InputDialog.Designer.cs
@@ -32,8 +32,8 @@ private void InitializeComponent()
this.lblMessage = new System.Windows.Forms.Label();
this.txtValue = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
- this.btnOK = new RSBot.Theme.Material.Button();
- this.btnCancel = new RSBot.Theme.Material.Button();
+ this.btnOK = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
this.comboBox = new System.Windows.Forms.ComboBox();
this.numValue = new System.Windows.Forms.NumericUpDown();
this.panel1.SuspendLayout();
@@ -80,15 +80,9 @@ private void InitializeComponent()
//
// btnOK
//
- this.btnOK.Depth = 0;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.btnOK.Icon = null;
this.btnOK.Location = new System.Drawing.Point(158, 4);
- this.btnOK.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnOK.Name = "btnOK";
- this.btnOK.Primary = true;
- this.btnOK.Raised = true;
- this.btnOK.SingleColor = System.Drawing.Color.Empty;
this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 0;
this.btnOK.Text = "OK";
@@ -97,15 +91,9 @@ private void InitializeComponent()
//
// btnCancel
//
- this.btnCancel.Depth = 0;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnCancel.Icon = null;
this.btnCancel.Location = new System.Drawing.Point(239, 4);
- this.btnCancel.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnCancel.Name = "btnCancel";
- this.btnCancel.Primary = false;
- this.btnCancel.Raised = false;
- this.btnCancel.SingleColor = System.Drawing.Color.Empty;
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 1;
this.btnCancel.Text = "Cancel";
@@ -178,8 +166,8 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblMessage;
private System.Windows.Forms.TextBox txtValue;
private System.Windows.Forms.Panel panel1;
- private Theme.Material.Button btnOK;
- private Theme.Material.Button btnCancel;
+ private System.Windows.Forms.Button btnOK;
+ private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.ComboBox comboBox;
private System.Windows.Forms.NumericUpDown numValue;
}
diff --git a/Library/RSBot.Theme/Controls/InputDialog.cs b/Library/RSBot.Core/Temp.Theme/Controls/InputDialog.cs
similarity index 96%
rename from Library/RSBot.Theme/Controls/InputDialog.cs
rename to Library/RSBot.Core/Temp.Theme/Controls/InputDialog.cs
index 157042c6..e0a8e167 100644
--- a/Library/RSBot.Theme/Controls/InputDialog.cs
+++ b/Library/RSBot.Core/Temp.Theme/Controls/InputDialog.cs
@@ -3,7 +3,7 @@
namespace RSBot.Theme.Controls
{
- public partial class InputDialog : CleanForm
+ public partial class InputDialog : Form
{
public enum InputType
{
@@ -109,7 +109,7 @@ private void btnOK_Click(object sender, EventArgs e)
break;
}
- if(_inputType == InputType.Textbox && string.IsNullOrWhiteSpace(value.ToString()))
+ if (_inputType == InputType.Textbox && string.IsNullOrWhiteSpace(value.ToString()))
{
MessageBox.Show(this, "The value can't be empty!");
@@ -152,7 +152,7 @@ private void InputDialog_FormClosing(object sender, FormClosingEventArgs e)
/// The instance containing the event data.
private void numValue_KeyUp(object sender, KeyEventArgs e)
{
- if (e.KeyCode != Keys.Enter)
+ if (e.KeyCode != Keys.Enter)
return;
Value = numValue.Value;
diff --git a/Library/RSBot.Theme/Controls/TabDisabledInfo.cs b/Library/RSBot.Core/Temp.Theme/Controls/TabDisabledInfo.cs
similarity index 100%
rename from Library/RSBot.Theme/Controls/TabDisabledInfo.cs
rename to Library/RSBot.Core/Temp.Theme/Controls/TabDisabledInfo.cs
diff --git a/Library/RSBot.Theme/Extensions/ListViewExtensions.cs b/Library/RSBot.Core/Temp.Theme/Extensions/ListViewExtensions.cs
similarity index 100%
rename from Library/RSBot.Theme/Extensions/ListViewExtensions.cs
rename to Library/RSBot.Core/Temp.Theme/Extensions/ListViewExtensions.cs
diff --git a/Library/RSBot.Theme/Extensions/TextBoxBase.cs b/Library/RSBot.Core/Temp.Theme/Extensions/TextBoxBase.cs
similarity index 98%
rename from Library/RSBot.Theme/Extensions/TextBoxBase.cs
rename to Library/RSBot.Core/Temp.Theme/Extensions/TextBoxBase.cs
index ad7b17fe..af3268bb 100644
--- a/Library/RSBot.Theme/Extensions/TextBoxBase.cs
+++ b/Library/RSBot.Core/Temp.Theme/Extensions/TextBoxBase.cs
@@ -33,7 +33,7 @@ public static void Write(this TextBoxBase value, string str, bool time = true, b
value.ScrollToCaret();
});
- if(writeToFile)
+ if (writeToFile)
{
lock (_lock)
{
diff --git a/Library/RSBot.Theme/MoveDirection.cs b/Library/RSBot.Core/Temp.Theme/MoveDirection.cs
similarity index 65%
rename from Library/RSBot.Theme/MoveDirection.cs
rename to Library/RSBot.Core/Temp.Theme/MoveDirection.cs
index c8ccb0fc..49c1e1c1 100644
--- a/Library/RSBot.Theme/MoveDirection.cs
+++ b/Library/RSBot.Core/Temp.Theme/MoveDirection.cs
@@ -3,9 +3,9 @@
///
/// The moving direction
///
- public enum MoveDirection
- {
- Up = -1,
- Down = 1
+ public enum MoveDirection
+ {
+ Up = -1,
+ Down = 1
};
}
diff --git a/Library/RSBot.Theme/Controls/TabDisabledInfo.Designer.cs b/Library/RSBot.Core/Temp.Theme/TabDisabledInfo.Designer.cs
similarity index 100%
rename from Library/RSBot.Theme/Controls/TabDisabledInfo.Designer.cs
rename to Library/RSBot.Core/Temp.Theme/TabDisabledInfo.Designer.cs
diff --git a/Library/RSBot.Theme/Animation/AnimationDirection.cs b/Library/RSBot.Theme/Animation/AnimationDirection.cs
deleted file mode 100644
index c7f8b16d..00000000
--- a/Library/RSBot.Theme/Animation/AnimationDirection.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace RSBot.Theme.Animation
-{
- internal enum AnimationDirection
- {
- In, //In. Stops if finished.
- Out, //Out. Stops if finished.
- InOutIn, //Same as In, but changes to InOutOut if finished.
- InOutOut, //Same as Out.
- InOutRepeatingIn, // Same as In, but changes to InOutRepeatingOut if finished.
- InOutRepeatingOut // Same as Out, but changes to InOutRepeatingIn if finished.
- }
-}
\ No newline at end of file
diff --git a/Library/RSBot.Theme/Animation/AnimationManager.cs b/Library/RSBot.Theme/Animation/AnimationManager.cs
deleted file mode 100644
index 9e021b25..00000000
--- a/Library/RSBot.Theme/Animation/AnimationManager.cs
+++ /dev/null
@@ -1,374 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Drawing;
-using System.Windows.Forms;
-
-namespace RSBot.Theme.Animation
-{
- internal class AnimationManager
- {
- public bool InterruptAnimation { get; set; }
- public double Increment { get; set; }
- public double SecondaryIncrement { get; set; }
- public AnimationType AnimationType { get; set; }
- public bool Singular { get; set; }
-
- public delegate void AnimationFinished(object sender);
-
- public event AnimationFinished OnAnimationFinished;
-
- public delegate void AnimationProgress(object sender);
-
- public event AnimationProgress OnAnimationProgress;
-
- private readonly List animationProgresses;
- private readonly List animationSources;
- private readonly List animationDirections;
- private readonly List
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Plugins/RSBot.General/RSBot.General.csproj b/Plugins/RSBot.General/RSBot.General.csproj
index bc2ea898..2bb78ba4 100644
--- a/Plugins/RSBot.General/RSBot.General.csproj
+++ b/Plugins/RSBot.General/RSBot.General.csproj
@@ -99,11 +99,6 @@
RSBot.Core
False
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Plugins/RSBot.General/Views/Accounts.Designer.cs b/Plugins/RSBot.General/Views/Accounts.Designer.cs
index dc93178d..8d73f4e0 100644
--- a/Plugins/RSBot.General/Views/Accounts.Designer.cs
+++ b/Plugins/RSBot.General/Views/Accounts.Designer.cs
@@ -29,8 +29,8 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
- this.btnCancel = new RSBot.Theme.Material.Button();
- this.btnOK = new RSBot.Theme.Material.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
+ this.btnOK = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.listAccounts = new System.Windows.Forms.ListBox();
this.label2 = new System.Windows.Forms.Label();
@@ -40,9 +40,9 @@ private void InitializeComponent()
this.label4 = new System.Windows.Forms.Label();
this.txtServername = new System.Windows.Forms.TextBox();
this.linkLabelPwShowHide = new System.Windows.Forms.LinkLabel();
- this.btnAdd = new RSBot.Theme.Material.Button();
- this.btnSave = new RSBot.Theme.Material.Button();
- this.buttonRemove = new RSBot.Theme.Material.Button();
+ this.btnAdd = new System.Windows.Forms.Button();
+ this.btnSave = new System.Windows.Forms.Button();
+ this.buttonRemove = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label();
this.textBoxSecondaryPassword = new System.Windows.Forms.TextBox();
this.linkLabelSecondaryPassword = new System.Windows.Forms.LinkLabel();
@@ -63,15 +63,9 @@ private void InitializeComponent()
//
// btnCancel
//
- this.btnCancel.Depth = 0;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnCancel.Icon = null;
this.btnCancel.Location = new System.Drawing.Point(313, 10);
- this.btnCancel.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnCancel.Name = "btnCancel";
- this.btnCancel.Primary = false;
- this.btnCancel.Raised = false;
- this.btnCancel.SingleColor = System.Drawing.Color.Empty;
this.btnCancel.Size = new System.Drawing.Size(72, 23);
this.btnCancel.TabIndex = 7;
this.btnCancel.Text = "Cancel";
@@ -79,15 +73,9 @@ private void InitializeComponent()
//
// btnOK
//
- this.btnOK.Depth = 0;
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.btnOK.Icon = null;
this.btnOK.Location = new System.Drawing.Point(235, 10);
- this.btnOK.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnOK.Name = "btnOK";
- this.btnOK.Primary = true;
- this.btnOK.Raised = true;
- this.btnOK.SingleColor = System.Drawing.Color.Empty;
this.btnOK.Size = new System.Drawing.Size(72, 23);
this.btnOK.TabIndex = 6;
this.btnOK.Text = "OK";
@@ -174,15 +162,9 @@ private void InitializeComponent()
//
// btnAdd
//
- this.btnAdd.Depth = 0;
this.btnAdd.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
- this.btnAdd.Icon = null;
this.btnAdd.Location = new System.Drawing.Point(197, 204);
- this.btnAdd.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnAdd.Name = "btnAdd";
- this.btnAdd.Primary = true;
- this.btnAdd.Raised = true;
- this.btnAdd.SingleColor = System.Drawing.Color.FromArgb(((int)(((byte)(93)))), ((int)(((byte)(189)))), ((int)(((byte)(166)))));
this.btnAdd.Size = new System.Drawing.Size(72, 23);
this.btnAdd.TabIndex = 4;
this.btnAdd.Text = "Add";
@@ -192,15 +174,9 @@ private void InitializeComponent()
// btnSave
//
this.btnSave.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.btnSave.Depth = 0;
this.btnSave.Enabled = false;
- this.btnSave.Icon = null;
this.btnSave.Location = new System.Drawing.Point(310, 204);
- this.btnSave.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnSave.Name = "btnSave";
- this.btnSave.Primary = false;
- this.btnSave.Raised = false;
- this.btnSave.SingleColor = System.Drawing.Color.Empty;
this.btnSave.Size = new System.Drawing.Size(72, 23);
this.btnSave.TabIndex = 5;
this.btnSave.Text = "Save";
@@ -209,15 +185,9 @@ private void InitializeComponent()
//
// buttonRemove
//
- this.buttonRemove.Depth = 0;
this.buttonRemove.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
- this.buttonRemove.Icon = null;
this.buttonRemove.Location = new System.Drawing.Point(197, 204);
- this.buttonRemove.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonRemove.Name = "buttonRemove";
- this.buttonRemove.Primary = true;
- this.buttonRemove.Raised = true;
- this.buttonRemove.SingleColor = System.Drawing.Color.IndianRed;
this.buttonRemove.Size = new System.Drawing.Size(72, 23);
this.buttonRemove.TabIndex = 10;
this.buttonRemove.Text = "Remove";
@@ -291,8 +261,8 @@ private void InitializeComponent()
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label1;
- private Theme.Material.Button btnCancel;
- private Theme.Material.Button btnOK;
+ private System.Windows.Forms.Button btnCancel;
+ private System.Windows.Forms.Button btnOK;
private System.Windows.Forms.ListBox listAccounts;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtUsername;
@@ -300,10 +270,10 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox txtPassword;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtServername;
- private Theme.Material.Button btnSave;
- private Theme.Material.Button btnAdd;
+ private System.Windows.Forms.Button btnSave;
+ private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.LinkLabel linkLabelPwShowHide;
- private Theme.Material.Button buttonRemove;
+ private System.Windows.Forms.Button buttonRemove;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox textBoxSecondaryPassword;
private System.Windows.Forms.LinkLabel linkLabelSecondaryPassword;
diff --git a/Plugins/RSBot.General/Views/Main.Designer.cs b/Plugins/RSBot.General/Views/Main.Designer.cs
index 63d6dbdc..25f2d839 100644
--- a/Plugins/RSBot.General/Views/Main.Designer.cs
+++ b/Plugins/RSBot.General/Views/Main.Designer.cs
@@ -30,7 +30,7 @@ private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.txtSilkroadPath = new System.Windows.Forms.TextBox();
- this.btnBrowseSilkroadPath = new RSBot.Theme.Material.Button();
+ this.btnBrowseSilkroadPath = new System.Windows.Forms.Button();
this.lblVersion = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.panel3 = new System.Windows.Forms.Panel();
@@ -48,12 +48,12 @@ private void InitializeComponent()
this.label4 = new System.Windows.Forms.Label();
this.checkEnableAutoLogin = new System.Windows.Forms.CheckBox();
this.comboCharacter = new System.Windows.Forms.ComboBox();
- this.btnAutoLoginSettings = new RSBot.Theme.Material.Button();
+ this.btnAutoLoginSettings = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.btnClientHideShow = new RSBot.Theme.Material.Button();
- this.btnStartClient = new RSBot.Theme.Material.Button();
- this.btnStartClientless = new RSBot.Theme.Material.Button();
- this.btnGoClientless = new RSBot.Theme.Material.Button();
+ this.btnClientHideShow = new System.Windows.Forms.Button();
+ this.btnStartClient = new System.Windows.Forms.Button();
+ this.btnStartClientless = new System.Windows.Forms.Button();
+ this.btnGoClientless = new System.Windows.Forms.Button();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.checkStayConnected = new System.Windows.Forms.CheckBox();
@@ -90,14 +90,8 @@ private void InitializeComponent()
//
// btnBrowseSilkroadPath
//
- this.btnBrowseSilkroadPath.Depth = 0;
- this.btnBrowseSilkroadPath.Icon = null;
this.btnBrowseSilkroadPath.Location = new System.Drawing.Point(715, 30);
- this.btnBrowseSilkroadPath.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnBrowseSilkroadPath.Name = "btnBrowseSilkroadPath";
- this.btnBrowseSilkroadPath.Primary = false;
- this.btnBrowseSilkroadPath.Raised = false;
- this.btnBrowseSilkroadPath.SingleColor = System.Drawing.Color.Empty;
this.btnBrowseSilkroadPath.Size = new System.Drawing.Size(32, 21);
this.btnBrowseSilkroadPath.TabIndex = 2;
this.btnBrowseSilkroadPath.Text = "...";
@@ -106,10 +100,9 @@ private void InitializeComponent()
//
// lblVersion
//
- this.lblVersion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.lblVersion.AutoSize = true;
this.lblVersion.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.lblVersion.Location = new System.Drawing.Point(711, 11);
+ this.lblVersion.Location = new System.Drawing.Point(707, 11);
this.lblVersion.Name = "lblVersion";
this.lblVersion.Size = new System.Drawing.Size(40, 15);
this.lblVersion.TabIndex = 3;
@@ -122,7 +115,7 @@ private void InitializeComponent()
this.groupBox1.Controls.Add(this.panel3);
this.groupBox1.Controls.Add(this.captchaPanel);
this.groupBox1.Controls.Add(this.autoLoginTopPanel);
- this.groupBox1.Location = new System.Drawing.Point(19, 163);
+ this.groupBox1.Location = new System.Drawing.Point(19, 166);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(355, 274);
this.groupBox1.TabIndex = 14;
@@ -289,14 +282,8 @@ private void InitializeComponent()
//
// btnAutoLoginSettings
//
- this.btnAutoLoginSettings.Depth = 0;
- this.btnAutoLoginSettings.Icon = null;
this.btnAutoLoginSettings.Location = new System.Drawing.Point(256, 61);
- this.btnAutoLoginSettings.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnAutoLoginSettings.Name = "btnAutoLoginSettings";
- this.btnAutoLoginSettings.Primary = false;
- this.btnAutoLoginSettings.Raised = false;
- this.btnAutoLoginSettings.SingleColor = System.Drawing.Color.Empty;
this.btnAutoLoginSettings.Size = new System.Drawing.Size(75, 23);
this.btnAutoLoginSettings.TabIndex = 2;
this.btnAutoLoginSettings.Text = "Setup";
@@ -311,22 +298,16 @@ private void InitializeComponent()
this.groupBox2.Controls.Add(this.btnGoClientless);
this.groupBox2.Location = new System.Drawing.Point(19, 67);
this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(355, 84);
+ this.groupBox2.Size = new System.Drawing.Size(355, 93);
this.groupBox2.TabIndex = 15;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Start game";
//
// btnClientHideShow
//
- this.btnClientHideShow.Depth = 0;
this.btnClientHideShow.Enabled = false;
- this.btnClientHideShow.Icon = null;
- this.btnClientHideShow.Location = new System.Drawing.Point(18, 46);
- this.btnClientHideShow.MouseState = RSBot.Theme.IMatMouseState.HOVER;
+ this.btnClientHideShow.Location = new System.Drawing.Point(18, 49);
this.btnClientHideShow.Name = "btnClientHideShow";
- this.btnClientHideShow.Primary = false;
- this.btnClientHideShow.Raised = false;
- this.btnClientHideShow.SingleColor = System.Drawing.Color.Empty;
this.btnClientHideShow.Size = new System.Drawing.Size(125, 23);
this.btnClientHideShow.TabIndex = 19;
this.btnClientHideShow.Text = "Client Visibility";
@@ -335,14 +316,8 @@ private void InitializeComponent()
//
// btnStartClient
//
- this.btnStartClient.Depth = 0;
- this.btnStartClient.Icon = null;
- this.btnStartClient.Location = new System.Drawing.Point(18, 16);
- this.btnStartClient.MouseState = RSBot.Theme.IMatMouseState.HOVER;
+ this.btnStartClient.Location = new System.Drawing.Point(18, 19);
this.btnStartClient.Name = "btnStartClient";
- this.btnStartClient.Primary = true;
- this.btnStartClient.Raised = true;
- this.btnStartClient.SingleColor = System.Drawing.Color.Empty;
this.btnStartClient.Size = new System.Drawing.Size(125, 23);
this.btnStartClient.TabIndex = 16;
this.btnStartClient.Text = "Start Client";
@@ -351,14 +326,8 @@ private void InitializeComponent()
//
// btnStartClientless
//
- this.btnStartClientless.Depth = 0;
- this.btnStartClientless.Icon = null;
- this.btnStartClientless.Location = new System.Drawing.Point(212, 16);
- this.btnStartClientless.MouseState = RSBot.Theme.IMatMouseState.HOVER;
+ this.btnStartClientless.Location = new System.Drawing.Point(212, 19);
this.btnStartClientless.Name = "btnStartClientless";
- this.btnStartClientless.Primary = false;
- this.btnStartClientless.Raised = false;
- this.btnStartClientless.SingleColor = System.Drawing.Color.Empty;
this.btnStartClientless.Size = new System.Drawing.Size(125, 24);
this.btnStartClientless.TabIndex = 18;
this.btnStartClientless.Text = "Start Clientless";
@@ -367,15 +336,9 @@ private void InitializeComponent()
//
// btnGoClientless
//
- this.btnGoClientless.Depth = 0;
this.btnGoClientless.Enabled = false;
- this.btnGoClientless.Icon = null;
- this.btnGoClientless.Location = new System.Drawing.Point(212, 46);
- this.btnGoClientless.MouseState = RSBot.Theme.IMatMouseState.HOVER;
+ this.btnGoClientless.Location = new System.Drawing.Point(212, 49);
this.btnGoClientless.Name = "btnGoClientless";
- this.btnGoClientless.Primary = false;
- this.btnGoClientless.Raised = false;
- this.btnGoClientless.SingleColor = System.Drawing.Color.Empty;
this.btnGoClientless.Size = new System.Drawing.Size(125, 24);
this.btnGoClientless.TabIndex = 17;
this.btnGoClientless.Text = "Go Clientless";
@@ -388,7 +351,7 @@ private void InitializeComponent()
this.groupBox3.Controls.Add(this.checkStayConnected);
this.groupBox3.Location = new System.Drawing.Point(389, 67);
this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(359, 84);
+ this.groupBox3.Size = new System.Drawing.Size(359, 93);
this.groupBox3.TabIndex = 16;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Client settings";
@@ -421,7 +384,7 @@ private void InitializeComponent()
this.groupBox4.Controls.Add(this.checkBoxBotTrayMinimized);
this.groupBox4.Location = new System.Drawing.Point(389, 166);
this.groupBox4.Name = "groupBox4";
- this.groupBox4.Size = new System.Drawing.Size(359, 88);
+ this.groupBox4.Size = new System.Drawing.Size(359, 98);
this.groupBox4.TabIndex = 17;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Bot Settings";
@@ -473,7 +436,7 @@ private void InitializeComponent()
this.Controls.Add(this.txtSilkroadPath);
this.Controls.Add(this.label1);
this.Name = "Main";
- this.Size = new System.Drawing.Size(754, 467);
+ this.Size = new System.Drawing.Size(803, 467);
this.groupBox1.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
@@ -495,13 +458,13 @@ private void InitializeComponent()
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtSilkroadPath;
- private Theme.Material.Button btnBrowseSilkroadPath;
+ private System.Windows.Forms.Button btnBrowseSilkroadPath;
private System.Windows.Forms.Label lblVersion;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox comboAccounts;
private System.Windows.Forms.CheckBox checkEnableAutoLogin;
- private Theme.Material.Button btnAutoLoginSettings;
+ private System.Windows.Forms.Button btnAutoLoginSettings;
private System.Windows.Forms.TextBox txtStaticCaptcha;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.CheckBox checkEnableStaticCaptcha;
@@ -509,16 +472,16 @@ private void InitializeComponent()
private System.Windows.Forms.Label label7;
private System.Windows.Forms.ComboBox comboCharacter;
private System.Windows.Forms.GroupBox groupBox2;
- private Theme.Material.Button btnGoClientless;
- private Theme.Material.Button btnStartClientless;
- private Theme.Material.Button btnStartClient;
+ private System.Windows.Forms.Button btnGoClientless;
+ private System.Windows.Forms.Button btnStartClientless;
+ private System.Windows.Forms.Button btnStartClient;
private System.Windows.Forms.CheckBox checkUseReturnScroll;
private System.Windows.Forms.CheckBox checkStartBot;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.CheckBox checkStayConnected;
private System.Windows.Forms.Label label2;
- private Theme.Material.Button btnClientHideShow;
+ private System.Windows.Forms.Button btnClientHideShow;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.CheckBox checkBoxBotTrayMinimized;
diff --git a/Plugins/RSBot.General/Views/PendingWindow.Designer.cs b/Plugins/RSBot.General/Views/PendingWindow.Designer.cs
index 3bdcbd3d..cc564440 100644
--- a/Plugins/RSBot.General/Views/PendingWindow.Designer.cs
+++ b/Plugins/RSBot.General/Views/PendingWindow.Designer.cs
@@ -37,7 +37,7 @@ private void InitializeComponent()
this.labelMyWaitingTime = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.timer = new System.Windows.Forms.Timer(this.components);
- this.buttonCancel = new RSBot.Theme.Material.Button();
+ this.buttonCancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// labelServerName
@@ -118,15 +118,9 @@ private void InitializeComponent()
//
// buttonCancel
//
- this.buttonCancel.Depth = 0;
this.buttonCancel.Font = new System.Drawing.Font("Segoe UI Semibold", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonCancel.Icon = null;
this.buttonCancel.Location = new System.Drawing.Point(106, 205);
- this.buttonCancel.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.Primary = true;
- this.buttonCancel.Raised = true;
- this.buttonCancel.SingleColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
this.buttonCancel.Size = new System.Drawing.Size(191, 23);
this.buttonCancel.TabIndex = 1;
this.buttonCancel.Text = "Cancel the waiting";
@@ -172,7 +166,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label labelAvgWaitingTime;
private System.Windows.Forms.Label labelMyWaitingTime;
private System.Windows.Forms.Label label5;
- private Theme.Material.Button buttonCancel;
+ private System.Windows.Forms.Button buttonCancel;
private System.Windows.Forms.Timer timer;
}
}
\ No newline at end of file
diff --git a/Plugins/RSBot.General/Views/PendingWindow.cs b/Plugins/RSBot.General/Views/PendingWindow.cs
index 38214335..ce2c07d8 100644
--- a/Plugins/RSBot.General/Views/PendingWindow.cs
+++ b/Plugins/RSBot.General/Views/PendingWindow.cs
@@ -1,13 +1,12 @@
using RSBot.Core.Network;
using RSBot.General.Components;
-using RSBot.Theme.Controls;
using System;
using System.Text;
using System.Windows.Forms;
namespace RSBot.General.Views
{
- public partial class PendingWindow : CleanForm
+ public partial class PendingWindow : Form
{
///
/// Started tick
diff --git a/Plugins/RSBot.Inventory/RSBot.Inventory.csproj b/Plugins/RSBot.Inventory/RSBot.Inventory.csproj
index 8e2b3fa6..2f368213 100644
--- a/Plugins/RSBot.Inventory/RSBot.Inventory.csproj
+++ b/Plugins/RSBot.Inventory/RSBot.Inventory.csproj
@@ -66,11 +66,6 @@
RSBot.Core
False
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Plugins/RSBot.Inventory/Views/Main.Designer.cs b/Plugins/RSBot.Inventory/Views/Main.Designer.cs
index edea2cbe..2171dffa 100644
--- a/Plugins/RSBot.Inventory/Views/Main.Designer.cs
+++ b/Plugins/RSBot.Inventory/Views/Main.Designer.cs
@@ -34,13 +34,13 @@ private void InitializeComponent()
this.label2 = new System.Windows.Forms.Label();
this.lblFreeSlots = new System.Windows.Forms.Label();
this.imgItems = new System.Windows.Forms.ImageList(this.components);
- this.listViewMain = new RSBot.Theme.Controls.ListView();
+ this.listViewMain = new System.Windows.Forms.ListView();
this.colName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colAmount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colGenderRace = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
- this.buttonUseItem = new RSBot.Theme.Material.Button();
+ this.buttonUseItem = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
@@ -160,15 +160,9 @@ private void InitializeComponent()
// buttonUseItem
//
this.buttonUseItem.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonUseItem.Depth = 0;
this.buttonUseItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonUseItem.Icon = null;
this.buttonUseItem.Location = new System.Drawing.Point(657, 3);
- this.buttonUseItem.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonUseItem.Name = "buttonUseItem";
- this.buttonUseItem.Primary = true;
- this.buttonUseItem.Raised = true;
- this.buttonUseItem.SingleColor = System.Drawing.Color.Empty;
this.buttonUseItem.Size = new System.Drawing.Size(75, 23);
this.buttonUseItem.TabIndex = 6;
this.buttonUseItem.Text = "Use";
@@ -199,7 +193,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox comboInventoryType;
- private Theme.Controls.ListView listViewMain;
+ private System.Windows.Forms.ListView listViewMain;
private System.Windows.Forms.ColumnHeader colName;
private System.Windows.Forms.ColumnHeader colAmount;
private System.Windows.Forms.Label label2;
@@ -208,6 +202,6 @@ private void InitializeComponent()
private System.Windows.Forms.ImageList imgItems;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
- private Theme.Material.Button buttonUseItem;
+ private System.Windows.Forms.Button buttonUseItem;
}
}
diff --git a/Plugins/RSBot.Inventory/Views/UseItemDialog.Designer.cs b/Plugins/RSBot.Inventory/Views/UseItemDialog.Designer.cs
index f6811f6b..5f9d0d24 100644
--- a/Plugins/RSBot.Inventory/Views/UseItemDialog.Designer.cs
+++ b/Plugins/RSBot.Inventory/Views/UseItemDialog.Designer.cs
@@ -29,23 +29,17 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
- this.buttonOk = new RSBot.Theme.Material.Button();
- this.buttonCancel = new RSBot.Theme.Material.Button();
+ this.buttonOk = new System.Windows.Forms.Button();
+ this.buttonCancel = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// buttonOk
//
- this.buttonOk.Depth = 0;
this.buttonOk.Font = new System.Drawing.Font("Segoe UI Semibold", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonOk.Icon = null;
this.buttonOk.Location = new System.Drawing.Point(28, 72);
- this.buttonOk.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonOk.Name = "buttonOk";
- this.buttonOk.Primary = true;
- this.buttonOk.Raised = true;
- this.buttonOk.SingleColor = System.Drawing.Color.Empty;
this.buttonOk.Size = new System.Drawing.Size(215, 42);
this.buttonOk.TabIndex = 0;
this.buttonOk.Text = "Use Directly";
@@ -53,16 +47,10 @@ private void InitializeComponent()
//
// buttonCancel
//
- this.buttonCancel.Depth = 0;
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonCancel.Icon = null;
this.buttonCancel.Location = new System.Drawing.Point(28, 193);
- this.buttonCancel.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.Primary = false;
- this.buttonCancel.Raised = false;
- this.buttonCancel.SingleColor = System.Drawing.Color.Empty;
this.buttonCancel.Size = new System.Drawing.Size(215, 42);
this.buttonCancel.TabIndex = 1;
this.buttonCancel.Text = "Use with conditions";
@@ -115,8 +103,8 @@ private void InitializeComponent()
#endregion
- private Theme.Material.Button buttonOk;
- private Theme.Material.Button buttonCancel;
+ private System.Windows.Forms.Button buttonOk;
+ private System.Windows.Forms.Button buttonCancel;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
}
diff --git a/Plugins/RSBot.Log/RSBot.Log.csproj b/Plugins/RSBot.Log/RSBot.Log.csproj
index f591840b..b18c2f9e 100644
--- a/Plugins/RSBot.Log/RSBot.Log.csproj
+++ b/Plugins/RSBot.Log/RSBot.Log.csproj
@@ -59,11 +59,6 @@
RSBot.Core
False
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Plugins/RSBot.Log/Views/Main.Designer.cs b/Plugins/RSBot.Log/Views/Main.Designer.cs
index ccffe0ba..63749ccf 100644
--- a/Plugins/RSBot.Log/Views/Main.Designer.cs
+++ b/Plugins/RSBot.Log/Views/Main.Designer.cs
@@ -29,7 +29,7 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
this.checkEnabled = new System.Windows.Forms.CheckBox();
- this.btnReset = new RSBot.Theme.Material.Button();
+ this.btnReset = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.checkNormal = new System.Windows.Forms.CheckBox();
this.checkError = new System.Windows.Forms.CheckBox();
@@ -53,14 +53,8 @@ private void InitializeComponent()
// btnReset
//
this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.btnReset.Depth = 0;
- this.btnReset.Icon = null;
this.btnReset.Location = new System.Drawing.Point(627, 17);
- this.btnReset.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnReset.Name = "btnReset";
- this.btnReset.Primary = false;
- this.btnReset.Raised = false;
- this.btnReset.SingleColor = System.Drawing.Color.Empty;
this.btnReset.Size = new System.Drawing.Size(75, 23);
this.btnReset.TabIndex = 0;
this.btnReset.Text = "Clear";
@@ -159,7 +153,7 @@ private void InitializeComponent()
}
#endregion
- private Theme.Material.Button btnReset;
+ private System.Windows.Forms.Button btnReset;
private System.Windows.Forms.CheckBox checkEnabled;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TextBox txtLog;
diff --git a/Plugins/RSBot.Map/RSBot.Map.csproj b/Plugins/RSBot.Map/RSBot.Map.csproj
index ecb2d07b..4e2dd8a1 100644
--- a/Plugins/RSBot.Map/RSBot.Map.csproj
+++ b/Plugins/RSBot.Map/RSBot.Map.csproj
@@ -64,11 +64,6 @@
RSBot.Core
False
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Plugins/RSBot.Map/Views/Main.Designer.cs b/Plugins/RSBot.Map/Views/Main.Designer.cs
index 83dda59a..db4ba3db 100644
--- a/Plugins/RSBot.Map/Views/Main.Designer.cs
+++ b/Plugins/RSBot.Map/Views/Main.Designer.cs
@@ -41,14 +41,14 @@ private void InitializeComponent()
this.comboViewType = new System.Windows.Forms.ComboBox();
this.trmInterval = new System.Windows.Forms.Timer(this.components);
this.labelSectorInfo = new System.Windows.Forms.Label();
- this.lvMonster = new RSBot.Theme.Controls.ListView();
+ this.lvMonster = new System.Windows.Forms.ListView();
this.colName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colPosition = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.buttonZoomIn = new RSBot.Theme.Material.Button();
- this.buttonZoomReset = new RSBot.Theme.Material.Button();
- this.buttonZoomOut = new RSBot.Theme.Material.Button();
+ this.buttonZoomIn = new System.Windows.Forms.Button();
+ this.buttonZoomReset = new System.Windows.Forms.Button();
+ this.buttonZoomOut = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.mapCanvas)).BeginInit();
this.SuspendLayout();
//
@@ -195,16 +195,10 @@ private void InitializeComponent()
//
// buttonZoomIn
//
- this.buttonZoomIn.Depth = 0;
this.buttonZoomIn.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
this.buttonZoomIn.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonZoomIn.Icon = null;
this.buttonZoomIn.Location = new System.Drawing.Point(295, 80);
- this.buttonZoomIn.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonZoomIn.Name = "buttonZoomIn";
- this.buttonZoomIn.Primary = true;
- this.buttonZoomIn.Raised = true;
- this.buttonZoomIn.SingleColor = System.Drawing.Color.SlateGray;
this.buttonZoomIn.Size = new System.Drawing.Size(24, 24);
this.buttonZoomIn.TabIndex = 16;
this.buttonZoomIn.Text = "5";
@@ -213,16 +207,10 @@ private void InitializeComponent()
//
// buttonZoomReset
//
- this.buttonZoomReset.Depth = 0;
this.buttonZoomReset.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
this.buttonZoomReset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonZoomReset.Icon = null;
this.buttonZoomReset.Location = new System.Drawing.Point(295, 110);
- this.buttonZoomReset.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonZoomReset.Name = "buttonZoomReset";
- this.buttonZoomReset.Primary = true;
- this.buttonZoomReset.Raised = true;
- this.buttonZoomReset.SingleColor = System.Drawing.Color.SlateGray;
this.buttonZoomReset.Size = new System.Drawing.Size(24, 24);
this.buttonZoomReset.TabIndex = 16;
this.buttonZoomReset.Text = "n";
@@ -231,16 +219,10 @@ private void InitializeComponent()
//
// buttonZoomOut
//
- this.buttonZoomOut.Depth = 0;
this.buttonZoomOut.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
this.buttonZoomOut.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.buttonZoomOut.Icon = null;
this.buttonZoomOut.Location = new System.Drawing.Point(295, 140);
- this.buttonZoomOut.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonZoomOut.Name = "buttonZoomOut";
- this.buttonZoomOut.Primary = true;
- this.buttonZoomOut.Raised = true;
- this.buttonZoomOut.SingleColor = System.Drawing.Color.SlateGray;
this.buttonZoomOut.Size = new System.Drawing.Size(24, 24);
this.buttonZoomOut.TabIndex = 16;
this.buttonZoomOut.Text = "6";
@@ -281,7 +263,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblX;
private System.Windows.Forms.Label lblY;
private System.Windows.Forms.Label lblRegion;
- private Theme.Controls.ListView lvMonster;
+ private System.Windows.Forms.ListView lvMonster;
private System.Windows.Forms.ColumnHeader colName;
private System.Windows.Forms.ColumnHeader colType;
private System.Windows.Forms.ColumnHeader colLevel;
@@ -290,8 +272,8 @@ private void InitializeComponent()
private System.Windows.Forms.ColumnHeader colPosition;
private System.Windows.Forms.Timer trmInterval;
private System.Windows.Forms.Label labelSectorInfo;
- private Theme.Material.Button buttonZoomIn;
- private Theme.Material.Button buttonZoomReset;
- private Theme.Material.Button buttonZoomOut;
+ private System.Windows.Forms.Button buttonZoomIn;
+ private System.Windows.Forms.Button buttonZoomReset;
+ private System.Windows.Forms.Button buttonZoomOut;
}
}
diff --git a/Plugins/RSBot.Party/RSBot.Party.csproj b/Plugins/RSBot.Party/RSBot.Party.csproj
index 347e6c04..1dfbd790 100644
--- a/Plugins/RSBot.Party/RSBot.Party.csproj
+++ b/Plugins/RSBot.Party/RSBot.Party.csproj
@@ -80,11 +80,6 @@
RSBot.Core
False
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Plugins/RSBot.Party/Views/AutoFormParty.designer.cs b/Plugins/RSBot.Party/Views/AutoFormParty.designer.cs
index 24b8107c..2a1e2c2e 100644
--- a/Plugins/RSBot.Party/Views/AutoFormParty.designer.cs
+++ b/Plugins/RSBot.Party/Views/AutoFormParty.designer.cs
@@ -28,8 +28,8 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
- this.btnAccept = new RSBot.Theme.Material.Button();
- this.btnCancel = new RSBot.Theme.Material.Button();
+ this.btnAccept = new System.Windows.Forms.Button();
+ this.btnCancel = new System.Windows.Forms.Button();
this.gbObjective = new System.Windows.Forms.GroupBox();
this.rbtn_Thief = new System.Windows.Forms.RadioButton();
this.rbtn_Trade = new System.Windows.Forms.RadioButton();
@@ -61,15 +61,9 @@ private void InitializeComponent()
//
// btnAccept
//
- this.btnAccept.Depth = 0;
this.btnAccept.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.btnAccept.Icon = null;
this.btnAccept.Location = new System.Drawing.Point(12, 292);
- this.btnAccept.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnAccept.Name = "btnAccept";
- this.btnAccept.Primary = true;
- this.btnAccept.Raised = true;
- this.btnAccept.SingleColor = System.Drawing.Color.Empty;
this.btnAccept.Size = new System.Drawing.Size(75, 23);
this.btnAccept.TabIndex = 0;
this.btnAccept.Text = "Accept";
@@ -78,15 +72,9 @@ private void InitializeComponent()
//
// btnCancel
//
- this.btnCancel.Depth = 0;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.btnCancel.Icon = null;
this.btnCancel.Location = new System.Drawing.Point(271, 292);
- this.btnCancel.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnCancel.Name = "btnCancel";
- this.btnCancel.Primary = false;
- this.btnCancel.Raised = false;
- this.btnCancel.SingleColor = System.Drawing.Color.Empty;
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 1;
this.btnCancel.Text = "Cancel";
@@ -383,8 +371,8 @@ private void InitializeComponent()
#endregion
- private Theme.Material.Button btnAccept;
- private Theme.Material.Button btnCancel;
+ private System.Windows.Forms.Button btnAccept;
+ private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.GroupBox gbObjective;
private System.Windows.Forms.RadioButton rbtn_Quest;
private System.Windows.Forms.RadioButton rbtn_Hunting;
diff --git a/Plugins/RSBot.Party/Views/Main.Designer.cs b/Plugins/RSBot.Party/Views/Main.Designer.cs
index ece9218c..426e0750 100644
--- a/Plugins/RSBot.Party/Views/Main.Designer.cs
+++ b/Plugins/RSBot.Party/Views/Main.Designer.cs
@@ -30,7 +30,7 @@ private void InitializeComponent()
{
this.tabMain = new System.Windows.Forms.TabControl();
this.tabCurrentParty = new System.Windows.Forms.TabPage();
- this.listParty = new RSBot.Theme.Controls.ListView();
+ this.listParty = new System.Windows.Forms.ListView();
this.colMemberName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colGuild = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@@ -41,7 +41,7 @@ private void InitializeComponent()
this.menuLeave = new System.Windows.Forms.MenuItem();
this.menuItemAddToBuffing = new System.Windows.Forms.MenuItem();
this.panel1 = new System.Windows.Forms.Panel();
- this.btnLeaveParty = new RSBot.Theme.Material.Button();
+ this.btnLeaveParty = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.lblLeader = new System.Windows.Forms.Label();
this.grpPartySettings = new System.Windows.Forms.GroupBox();
@@ -51,8 +51,8 @@ private void InitializeComponent()
this.tpAutoParty = new System.Windows.Forms.TabPage();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.listAutoParty = new System.Windows.Forms.ListBox();
- this.btnRemoveFromAutoParty = new RSBot.Theme.Material.Button();
- this.btnAddToAutoParty = new RSBot.Theme.Material.Button();
+ this.btnRemoveFromAutoParty = new System.Windows.Forms.Button();
+ this.btnAddToAutoParty = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.checkAcceptIfBotStopped = new System.Windows.Forms.CheckBox();
this.checkAcceptAtTrainingPlace = new System.Windows.Forms.CheckBox();
@@ -66,7 +66,7 @@ private void InitializeComponent()
this.checkAutoItemAutoShare = new System.Windows.Forms.CheckBox();
this.checkAutoExpAutoShare = new System.Windows.Forms.CheckBox();
this.tpPartyMatching = new System.Windows.Forms.TabPage();
- this.lvPartyMatching = new RSBot.Theme.Controls.ListView();
+ this.lvPartyMatching = new System.Windows.Forms.ListView();
this.chPartyMatchNo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chPartyMatchRace = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chPartyMatchName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@@ -75,8 +75,8 @@ private void InitializeComponent()
this.chPartyMatchMember = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chPartyMatchRange = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.topPartyPanel = new System.Windows.Forms.Panel();
- this.btnPartyRefresh = new RSBot.Theme.Material.Button();
- this.btnPartySearch = new RSBot.Theme.Material.Button();
+ this.btnPartyRefresh = new System.Windows.Forms.Button();
+ this.btnPartySearch = new System.Windows.Forms.Button();
this.nudPartySearchMax = new System.Windows.Forms.NumericUpDown();
this.nudPartySearchMin = new System.Windows.Forms.NumericUpDown();
this.cbPartySearchPurpose = new System.Windows.Forms.ComboBox();
@@ -85,35 +85,35 @@ private void InitializeComponent()
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
- this.bottomPartyPanel = new RSBot.Theme.Controls.HorizontalPanel();
- this.btnPartyMatchDeleteEntry = new RSBot.Theme.Material.Button();
- this.btnPartyMatchChangeEntry = new RSBot.Theme.Material.Button();
- this.btnPartyMatchForm = new RSBot.Theme.Material.Button();
- this.btnAutoMatchParty = new RSBot.Theme.Material.Button();
- this.btnWhisperPartyMaster = new RSBot.Theme.Material.Button();
- this.btnJoinFormedParty = new RSBot.Theme.Material.Button();
- this.btnPrev = new RSBot.Theme.Material.Button();
- this.btnNext = new RSBot.Theme.Material.Button();
+ this.bottomPartyPanel = new System.Windows.Forms.Panel();
+ this.btnPartyMatchDeleteEntry = new System.Windows.Forms.Button();
+ this.btnPartyMatchChangeEntry = new System.Windows.Forms.Button();
+ this.btnPartyMatchForm = new System.Windows.Forms.Button();
+ this.btnAutoMatchParty = new System.Windows.Forms.Button();
+ this.btnWhisperPartyMaster = new System.Windows.Forms.Button();
+ this.btnJoinFormedParty = new System.Windows.Forms.Button();
+ this.btnPrev = new System.Windows.Forms.Button();
+ this.btnNext = new System.Windows.Forms.Button();
this.lbl_partyPageRange = new System.Windows.Forms.Label();
this.tpPartyBuffing = new System.Windows.Forms.TabPage();
this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.btnAddBuffToMember = new RSBot.Theme.Material.Button();
- this.buttonRemoveCharFromBuffing = new RSBot.Theme.Material.Button();
- this.btnRemoveBuffFromMember = new RSBot.Theme.Material.Button();
- this.listViewPartyMembers = new RSBot.Theme.Controls.ListView();
+ this.btnAddBuffToMember = new System.Windows.Forms.Button();
+ this.buttonRemoveCharFromBuffing = new System.Windows.Forms.Button();
+ this.btnRemoveBuffFromMember = new System.Windows.Forms.Button();
+ this.listViewPartyMembers = new System.Windows.Forms.ListView();
this.chPlayerName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chPlayerLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.groupBox6 = new System.Windows.Forms.GroupBox();
- this.buttonAddGroup = new RSBot.Theme.Material.Button();
- this.buttonRemoveGroup = new RSBot.Theme.Material.Button();
- this.listViewGroups = new RSBot.Theme.Controls.ListView();
+ this.buttonAddGroup = new System.Windows.Forms.Button();
+ this.buttonRemoveGroup = new System.Windows.Forms.Button();
+ this.listViewGroups = new System.Windows.Forms.ListView();
this.columnHeaderGroupName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeaderMembersCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.groupBox5 = new System.Windows.Forms.GroupBox();
- this.selectedMemberBuffs = new RSBot.Theme.Controls.ListView();
+ this.selectedMemberBuffs = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.listPartyBuffSkills = new RSBot.Theme.Controls.ListView();
+ this.listPartyBuffSkills = new System.Windows.Forms.ListView();
this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnLimit = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.checkHideLowerLevelSkills = new System.Windows.Forms.CheckBox();
@@ -249,15 +249,9 @@ private void InitializeComponent()
//
// btnLeaveParty
//
- this.btnLeaveParty.Depth = 0;
this.btnLeaveParty.Enabled = false;
- this.btnLeaveParty.Icon = null;
this.btnLeaveParty.Location = new System.Drawing.Point(626, 4);
- this.btnLeaveParty.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnLeaveParty.Name = "btnLeaveParty";
- this.btnLeaveParty.Primary = false;
- this.btnLeaveParty.Raised = false;
- this.btnLeaveParty.SingleColor = System.Drawing.Color.Empty;
this.btnLeaveParty.Size = new System.Drawing.Size(90, 23);
this.btnLeaveParty.TabIndex = 2;
this.btnLeaveParty.Text = "Leave party";
@@ -365,14 +359,8 @@ private void InitializeComponent()
//
// btnRemoveFromAutoParty
//
- this.btnRemoveFromAutoParty.Depth = 0;
- this.btnRemoveFromAutoParty.Icon = null;
this.btnRemoveFromAutoParty.Location = new System.Drawing.Point(8, 304);
- this.btnRemoveFromAutoParty.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnRemoveFromAutoParty.Name = "btnRemoveFromAutoParty";
- this.btnRemoveFromAutoParty.Primary = false;
- this.btnRemoveFromAutoParty.Raised = false;
- this.btnRemoveFromAutoParty.SingleColor = System.Drawing.Color.Empty;
this.btnRemoveFromAutoParty.Size = new System.Drawing.Size(78, 23);
this.btnRemoveFromAutoParty.TabIndex = 10;
this.btnRemoveFromAutoParty.Text = "Remove";
@@ -381,14 +369,8 @@ private void InitializeComponent()
//
// btnAddToAutoParty
//
- this.btnAddToAutoParty.Depth = 0;
- this.btnAddToAutoParty.Icon = null;
this.btnAddToAutoParty.Location = new System.Drawing.Point(92, 304);
- this.btnAddToAutoParty.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnAddToAutoParty.Name = "btnAddToAutoParty";
- this.btnAddToAutoParty.Primary = false;
- this.btnAddToAutoParty.Raised = false;
- this.btnAddToAutoParty.SingleColor = System.Drawing.Color.Empty;
this.btnAddToAutoParty.Size = new System.Drawing.Size(82, 23);
this.btnAddToAutoParty.TabIndex = 10;
this.btnAddToAutoParty.Text = "Add";
@@ -626,14 +608,8 @@ private void InitializeComponent()
//
// btnPartyRefresh
//
- this.btnPartyRefresh.Depth = 0;
- this.btnPartyRefresh.Icon = null;
this.btnPartyRefresh.Location = new System.Drawing.Point(608, 13);
- this.btnPartyRefresh.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnPartyRefresh.Name = "btnPartyRefresh";
- this.btnPartyRefresh.Primary = false;
- this.btnPartyRefresh.Raised = false;
- this.btnPartyRefresh.SingleColor = System.Drawing.Color.Empty;
this.btnPartyRefresh.Size = new System.Drawing.Size(78, 21);
this.btnPartyRefresh.TabIndex = 4;
this.btnPartyRefresh.Text = "Refresh";
@@ -642,14 +618,8 @@ private void InitializeComponent()
//
// btnPartySearch
//
- this.btnPartySearch.Depth = 0;
- this.btnPartySearch.Icon = null;
this.btnPartySearch.Location = new System.Drawing.Point(515, 13);
- this.btnPartySearch.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnPartySearch.Name = "btnPartySearch";
- this.btnPartySearch.Primary = false;
- this.btnPartySearch.Raised = false;
- this.btnPartySearch.SingleColor = System.Drawing.Color.Empty;
this.btnPartySearch.Size = new System.Drawing.Size(77, 21);
this.btnPartySearch.TabIndex = 4;
this.btnPartySearch.Text = "Search";
@@ -779,15 +749,9 @@ private void InitializeComponent()
//
// btnPartyMatchDeleteEntry
//
- this.btnPartyMatchDeleteEntry.Depth = 0;
this.btnPartyMatchDeleteEntry.Enabled = false;
- this.btnPartyMatchDeleteEntry.Icon = null;
this.btnPartyMatchDeleteEntry.Location = new System.Drawing.Point(635, 14);
- this.btnPartyMatchDeleteEntry.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnPartyMatchDeleteEntry.Name = "btnPartyMatchDeleteEntry";
- this.btnPartyMatchDeleteEntry.Primary = false;
- this.btnPartyMatchDeleteEntry.Raised = false;
- this.btnPartyMatchDeleteEntry.SingleColor = System.Drawing.Color.Empty;
this.btnPartyMatchDeleteEntry.Size = new System.Drawing.Size(87, 23);
this.btnPartyMatchDeleteEntry.TabIndex = 16;
this.btnPartyMatchDeleteEntry.Text = "Delete Entry";
@@ -796,15 +760,9 @@ private void InitializeComponent()
//
// btnPartyMatchChangeEntry
//
- this.btnPartyMatchChangeEntry.Depth = 0;
this.btnPartyMatchChangeEntry.Enabled = false;
- this.btnPartyMatchChangeEntry.Icon = null;
this.btnPartyMatchChangeEntry.Location = new System.Drawing.Point(542, 14);
- this.btnPartyMatchChangeEntry.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnPartyMatchChangeEntry.Name = "btnPartyMatchChangeEntry";
- this.btnPartyMatchChangeEntry.Primary = false;
- this.btnPartyMatchChangeEntry.Raised = false;
- this.btnPartyMatchChangeEntry.SingleColor = System.Drawing.Color.Empty;
this.btnPartyMatchChangeEntry.Size = new System.Drawing.Size(87, 23);
this.btnPartyMatchChangeEntry.TabIndex = 15;
this.btnPartyMatchChangeEntry.Text = "Change Entry";
@@ -813,14 +771,8 @@ private void InitializeComponent()
//
// btnPartyMatchForm
//
- this.btnPartyMatchForm.Depth = 0;
- this.btnPartyMatchForm.Icon = null;
this.btnPartyMatchForm.Location = new System.Drawing.Point(446, 14);
- this.btnPartyMatchForm.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnPartyMatchForm.Name = "btnPartyMatchForm";
- this.btnPartyMatchForm.Primary = false;
- this.btnPartyMatchForm.Raised = false;
- this.btnPartyMatchForm.SingleColor = System.Drawing.Color.Empty;
this.btnPartyMatchForm.Size = new System.Drawing.Size(90, 23);
this.btnPartyMatchForm.TabIndex = 14;
this.btnPartyMatchForm.Text = "Form Party";
@@ -829,15 +781,9 @@ private void InitializeComponent()
//
// btnAutoMatchParty
//
- this.btnAutoMatchParty.Depth = 0;
this.btnAutoMatchParty.Enabled = false;
- this.btnAutoMatchParty.Icon = null;
this.btnAutoMatchParty.Location = new System.Drawing.Point(180, 14);
- this.btnAutoMatchParty.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnAutoMatchParty.Name = "btnAutoMatchParty";
- this.btnAutoMatchParty.Primary = false;
- this.btnAutoMatchParty.Raised = false;
- this.btnAutoMatchParty.SingleColor = System.Drawing.Color.Empty;
this.btnAutoMatchParty.Size = new System.Drawing.Size(96, 23);
this.btnAutoMatchParty.TabIndex = 10;
this.btnAutoMatchParty.Text = "Auto Match";
@@ -845,15 +791,9 @@ private void InitializeComponent()
//
// btnWhisperPartyMaster
//
- this.btnWhisperPartyMaster.Depth = 0;
this.btnWhisperPartyMaster.Enabled = false;
- this.btnWhisperPartyMaster.Icon = null;
this.btnWhisperPartyMaster.Location = new System.Drawing.Point(99, 14);
- this.btnWhisperPartyMaster.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnWhisperPartyMaster.Name = "btnWhisperPartyMaster";
- this.btnWhisperPartyMaster.Primary = false;
- this.btnWhisperPartyMaster.Raised = false;
- this.btnWhisperPartyMaster.SingleColor = System.Drawing.Color.Empty;
this.btnWhisperPartyMaster.Size = new System.Drawing.Size(75, 23);
this.btnWhisperPartyMaster.TabIndex = 9;
this.btnWhisperPartyMaster.Text = "Whisper";
@@ -861,14 +801,8 @@ private void InitializeComponent()
//
// btnJoinFormedParty
//
- this.btnJoinFormedParty.Depth = 0;
- this.btnJoinFormedParty.Icon = null;
this.btnJoinFormedParty.Location = new System.Drawing.Point(18, 14);
- this.btnJoinFormedParty.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnJoinFormedParty.Name = "btnJoinFormedParty";
- this.btnJoinFormedParty.Primary = false;
- this.btnJoinFormedParty.Raised = false;
- this.btnJoinFormedParty.SingleColor = System.Drawing.Color.Empty;
this.btnJoinFormedParty.Size = new System.Drawing.Size(75, 23);
this.btnJoinFormedParty.TabIndex = 8;
this.btnJoinFormedParty.Text = "Join Party";
@@ -877,17 +811,11 @@ private void InitializeComponent()
//
// btnPrev
//
- this.btnPrev.Depth = 0;
this.btnPrev.Enabled = false;
this.btnPrev.Font = new System.Drawing.Font("Arial", 11.25F);
this.btnPrev.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.btnPrev.Icon = null;
this.btnPrev.Location = new System.Drawing.Point(315, 14);
- this.btnPrev.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnPrev.Name = "btnPrev";
- this.btnPrev.Primary = false;
- this.btnPrev.Raised = false;
- this.btnPrev.SingleColor = System.Drawing.Color.Empty;
this.btnPrev.Size = new System.Drawing.Size(23, 23);
this.btnPrev.TabIndex = 11;
this.btnPrev.Text = "◀";
@@ -896,17 +824,11 @@ private void InitializeComponent()
//
// btnNext
//
- this.btnNext.Depth = 0;
this.btnNext.Enabled = false;
this.btnNext.Font = new System.Drawing.Font("Arial", 11.25F);
this.btnNext.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.btnNext.Icon = null;
this.btnNext.Location = new System.Drawing.Point(387, 14);
- this.btnNext.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnNext.Name = "btnNext";
- this.btnNext.Primary = false;
- this.btnNext.Raised = false;
- this.btnNext.SingleColor = System.Drawing.Color.Empty;
this.btnNext.Size = new System.Drawing.Size(23, 23);
this.btnNext.TabIndex = 12;
this.btnNext.Text = "▶";
@@ -956,15 +878,9 @@ private void InitializeComponent()
// btnAddBuffToMember
//
this.btnAddBuffToMember.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnAddBuffToMember.Depth = 0;
this.btnAddBuffToMember.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btnAddBuffToMember.Icon = null;
this.btnAddBuffToMember.Location = new System.Drawing.Point(6, 219);
- this.btnAddBuffToMember.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnAddBuffToMember.Name = "btnAddBuffToMember";
- this.btnAddBuffToMember.Primary = true;
- this.btnAddBuffToMember.Raised = true;
- this.btnAddBuffToMember.SingleColor = System.Drawing.Color.Empty;
this.btnAddBuffToMember.Size = new System.Drawing.Size(75, 21);
this.btnAddBuffToMember.TabIndex = 11;
this.btnAddBuffToMember.Text = "Add Buff";
@@ -974,16 +890,10 @@ private void InitializeComponent()
// buttonRemoveCharFromBuffing
//
this.buttonRemoveCharFromBuffing.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonRemoveCharFromBuffing.Depth = 0;
this.buttonRemoveCharFromBuffing.Font = new System.Drawing.Font("Webdings", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
this.buttonRemoveCharFromBuffing.ForeColor = System.Drawing.Color.Transparent;
- this.buttonRemoveCharFromBuffing.Icon = null;
this.buttonRemoveCharFromBuffing.Location = new System.Drawing.Point(179, 187);
- this.buttonRemoveCharFromBuffing.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonRemoveCharFromBuffing.Name = "buttonRemoveCharFromBuffing";
- this.buttonRemoveCharFromBuffing.Primary = true;
- this.buttonRemoveCharFromBuffing.Raised = true;
- this.buttonRemoveCharFromBuffing.SingleColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.buttonRemoveCharFromBuffing.Size = new System.Drawing.Size(22, 19);
this.buttonRemoveCharFromBuffing.TabIndex = 12;
this.buttonRemoveCharFromBuffing.Text = "r";
@@ -993,15 +903,9 @@ private void InitializeComponent()
// btnRemoveBuffFromMember
//
this.btnRemoveBuffFromMember.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnRemoveBuffFromMember.Depth = 0;
this.btnRemoveBuffFromMember.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btnRemoveBuffFromMember.Icon = null;
this.btnRemoveBuffFromMember.Location = new System.Drawing.Point(115, 219);
- this.btnRemoveBuffFromMember.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnRemoveBuffFromMember.Name = "btnRemoveBuffFromMember";
- this.btnRemoveBuffFromMember.Primary = true;
- this.btnRemoveBuffFromMember.Raised = true;
- this.btnRemoveBuffFromMember.SingleColor = System.Drawing.Color.Crimson;
this.btnRemoveBuffFromMember.Size = new System.Drawing.Size(86, 21);
this.btnRemoveBuffFromMember.TabIndex = 12;
this.btnRemoveBuffFromMember.Text = "Remove Buff";
@@ -1052,15 +956,9 @@ private void InitializeComponent()
// buttonAddGroup
//
this.buttonAddGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.buttonAddGroup.Depth = 0;
this.buttonAddGroup.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonAddGroup.Icon = null;
this.buttonAddGroup.Location = new System.Drawing.Point(6, 140);
- this.buttonAddGroup.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonAddGroup.Name = "buttonAddGroup";
- this.buttonAddGroup.Primary = true;
- this.buttonAddGroup.Raised = true;
- this.buttonAddGroup.SingleColor = System.Drawing.Color.Empty;
this.buttonAddGroup.Size = new System.Drawing.Size(63, 21);
this.buttonAddGroup.TabIndex = 0;
this.buttonAddGroup.Text = "Create";
@@ -1070,15 +968,9 @@ private void InitializeComponent()
// buttonRemoveGroup
//
this.buttonRemoveGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonRemoveGroup.Depth = 0;
this.buttonRemoveGroup.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonRemoveGroup.Icon = null;
this.buttonRemoveGroup.Location = new System.Drawing.Point(129, 140);
- this.buttonRemoveGroup.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.buttonRemoveGroup.Name = "buttonRemoveGroup";
- this.buttonRemoveGroup.Primary = true;
- this.buttonRemoveGroup.Raised = true;
- this.buttonRemoveGroup.SingleColor = System.Drawing.Color.Crimson;
this.buttonRemoveGroup.Size = new System.Drawing.Size(72, 21);
this.buttonRemoveGroup.TabIndex = 0;
this.buttonRemoveGroup.Text = "Remove";
@@ -1237,14 +1129,14 @@ private void InitializeComponent()
private System.Windows.Forms.TabControl tabMain;
private System.Windows.Forms.TabPage tabCurrentParty;
- private Theme.Controls.ListView listParty;
+ private System.Windows.Forms.ListView listParty;
private System.Windows.Forms.ColumnHeader colMemberName;
private System.Windows.Forms.ColumnHeader colLevel;
private System.Windows.Forms.ColumnHeader colGuild;
private System.Windows.Forms.ColumnHeader colMasteries;
private System.Windows.Forms.Label lblLeader;
private System.Windows.Forms.Label label1;
- private Theme.Material.Button btnLeaveParty;
+ private System.Windows.Forms.Button btnLeaveParty;
private System.Windows.Forms.CheckBox checkCurrentAutoShareItems;
private System.Windows.Forms.CheckBox checkCurrentAutoShareEXP;
private System.Windows.Forms.CheckBox checkCurrentAllowInvitations;
@@ -1259,8 +1151,8 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox checkAutoItemAutoShare;
private System.Windows.Forms.CheckBox checkAutoExpAutoShare;
private System.Windows.Forms.ListBox listAutoParty;
- private Theme.Material.Button btnAddToAutoParty;
- private Theme.Material.Button btnRemoveFromAutoParty;
+ private System.Windows.Forms.Button btnAddToAutoParty;
+ private System.Windows.Forms.Button btnRemoveFromAutoParty;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.CheckBox checkInviteFromList;
private System.Windows.Forms.CheckBox checkInviteAll;
@@ -1269,16 +1161,16 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox checkAcceptAtTrainingPlace;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.GroupBox groupBox3;
- private Theme.Controls.HorizontalPanel bottomPartyPanel;
- private Theme.Material.Button btnPartyMatchDeleteEntry;
- private Theme.Material.Button btnPartyMatchChangeEntry;
- private Theme.Material.Button btnPartyMatchForm;
- private Theme.Material.Button btnAutoMatchParty;
- private Theme.Material.Button btnWhisperPartyMaster;
- private Theme.Material.Button btnJoinFormedParty;
- public Theme.Material.Button btnPrev;
- public Theme.Material.Button btnNext;
- public Theme.Controls.ListView lvPartyMatching;
+ private System.Windows.Forms.Panel bottomPartyPanel;
+ private System.Windows.Forms.Button btnPartyMatchDeleteEntry;
+ private System.Windows.Forms.Button btnPartyMatchChangeEntry;
+ private System.Windows.Forms.Button btnPartyMatchForm;
+ private System.Windows.Forms.Button btnAutoMatchParty;
+ private System.Windows.Forms.Button btnWhisperPartyMaster;
+ private System.Windows.Forms.Button btnJoinFormedParty;
+ public System.Windows.Forms.Button btnPrev;
+ public System.Windows.Forms.Button btnNext;
+ public System.Windows.Forms.ListView lvPartyMatching;
private System.Windows.Forms.ColumnHeader chPartyMatchNo;
private System.Windows.Forms.ColumnHeader chPartyMatchRace;
private System.Windows.Forms.ColumnHeader chPartyMatchName;
@@ -1292,8 +1184,8 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox tbPartySearchName;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
- private Theme.Material.Button btnPartyRefresh;
- private Theme.Material.Button btnPartySearch;
+ private System.Windows.Forms.Button btnPartyRefresh;
+ private System.Windows.Forms.Button btnPartySearch;
private System.Windows.Forms.NumericUpDown nudPartySearchMax;
private System.Windows.Forms.NumericUpDown nudPartySearchMin;
private System.Windows.Forms.Label label6;
@@ -1303,26 +1195,26 @@ private void InitializeComponent()
private System.Windows.Forms.ColumnHeader colLocation;
private System.Windows.Forms.TabPage tpPartyBuffing;
private System.Windows.Forms.GroupBox groupBox1;
- private Theme.Controls.ListView listPartyBuffSkills;
+ private System.Windows.Forms.ListView listPartyBuffSkills;
private System.Windows.Forms.ColumnHeader columnName;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.GroupBox groupBox5;
- private Theme.Controls.ListView selectedMemberBuffs;
+ private System.Windows.Forms.ListView selectedMemberBuffs;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.CheckBox checkHideLowerLevelSkills;
private System.Windows.Forms.ColumnHeader columnLimit;
- private Theme.Controls.ListView listViewPartyMembers;
+ private System.Windows.Forms.ListView listViewPartyMembers;
private System.Windows.Forms.ColumnHeader chPlayerName;
private System.Windows.Forms.ColumnHeader chPlayerLevel;
private System.Windows.Forms.GroupBox groupBox6;
- private Theme.Material.Button buttonAddGroup;
- private Theme.Material.Button buttonRemoveGroup;
- private Theme.Controls.ListView listViewGroups;
+ private System.Windows.Forms.Button buttonAddGroup;
+ private System.Windows.Forms.Button buttonRemoveGroup;
+ private System.Windows.Forms.ListView listViewGroups;
private System.Windows.Forms.ColumnHeader columnHeaderGroupName;
private System.Windows.Forms.ColumnHeader columnHeaderMembersCount;
- private Theme.Material.Button btnAddBuffToMember;
- private Theme.Material.Button btnRemoveBuffFromMember;
+ private System.Windows.Forms.Button btnAddBuffToMember;
+ private System.Windows.Forms.Button btnRemoveBuffFromMember;
private System.Windows.Forms.MenuItem menuItemAddToBuffing;
- private Theme.Material.Button buttonRemoveCharFromBuffing;
+ private System.Windows.Forms.Button buttonRemoveCharFromBuffing;
}
}
diff --git a/Plugins/RSBot.Shopping/RSBot.Items.csproj b/Plugins/RSBot.Shopping/RSBot.Items.csproj
index ce498986..bd707db7 100644
--- a/Plugins/RSBot.Shopping/RSBot.Items.csproj
+++ b/Plugins/RSBot.Shopping/RSBot.Items.csproj
@@ -61,11 +61,6 @@
RSBot.Core
False
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Plugins/RSBot.Shopping/Views/Main.Designer.cs b/Plugins/RSBot.Shopping/Views/Main.Designer.cs
index dc6b35c3..e9cc2b5f 100644
--- a/Plugins/RSBot.Shopping/Views/Main.Designer.cs
+++ b/Plugins/RSBot.Shopping/Views/Main.Designer.cs
@@ -35,7 +35,7 @@ private void InitializeComponent()
System.Windows.Forms.ListViewGroup listViewGroup4 = new System.Windows.Forms.ListViewGroup("Weapon trader", System.Windows.Forms.HorizontalAlignment.Left);
System.Windows.Forms.ListViewGroup listViewGroup5 = new System.Windows.Forms.ListViewGroup("Accessory trader", System.Windows.Forms.HorizontalAlignment.Left);
this.comboStore = new System.Windows.Forms.ComboBox();
- this.listShoppingList = new RSBot.Theme.Controls.ListView();
+ this.listShoppingList = new System.Windows.Forms.ListView();
this.colName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colAmount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.contextShoppingList = new System.Windows.Forms.ContextMenuStrip(this.components);
@@ -43,7 +43,7 @@ private void InitializeComponent()
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.menuRemoveItem = new System.Windows.Forms.ToolStripMenuItem();
this.imgShoppingList = new System.Windows.Forms.ImageList(this.components);
- this.listAvailableProducts = new RSBot.Theme.Controls.ListView();
+ this.listAvailableProducts = new System.Windows.Forms.ListView();
this.colAvailableName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.contextAvailableProducts = new System.Windows.Forms.ContextMenuStrip(this.components);
this.menuAddToShoppingList = new System.Windows.Forms.ToolStripMenuItem();
@@ -62,7 +62,7 @@ private void InitializeComponent()
this.checkRepairGear = new System.Windows.Forms.CheckBox();
this.checkEnable = new System.Windows.Forms.CheckBox();
this.tabSellFilter = new System.Windows.Forms.TabPage();
- this.listFilter = new RSBot.Theme.Controls.ListView();
+ this.listFilter = new System.Windows.Forms.ListView();
this.colItemName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colItemLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colGender = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@@ -128,9 +128,9 @@ private void InitializeComponent()
this.panel3 = new System.Windows.Forms.Panel();
this.panel7 = new System.Windows.Forms.Panel();
this.labelResult = new System.Windows.Forms.Label();
- this.btnResetFilter = new RSBot.Theme.Material.Button();
- this.btnSearch = new RSBot.Theme.Material.Button();
- this.btnReload = new RSBot.Theme.Material.Button();
+ this.btnResetFilter = new System.Windows.Forms.Button();
+ this.btnSearch = new System.Windows.Forms.Button();
+ this.btnReload = new System.Windows.Forms.Button();
this.txtSellSearch = new System.Windows.Forms.TextBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.tabPage1 = new System.Windows.Forms.TabPage();
@@ -1144,14 +1144,8 @@ private void InitializeComponent()
//
// btnResetFilter
//
- this.btnResetFilter.Depth = 0;
- this.btnResetFilter.Icon = null;
this.btnResetFilter.Location = new System.Drawing.Point(12, 7);
- this.btnResetFilter.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnResetFilter.Name = "btnResetFilter";
- this.btnResetFilter.Primary = false;
- this.btnResetFilter.Raised = false;
- this.btnResetFilter.SingleColor = System.Drawing.Color.Empty;
this.btnResetFilter.Size = new System.Drawing.Size(96, 23);
this.btnResetFilter.TabIndex = 39;
this.btnResetFilter.Text = "Reset";
@@ -1161,15 +1155,9 @@ private void InitializeComponent()
// btnSearch
//
this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnSearch.Depth = 0;
this.btnSearch.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
- this.btnSearch.Icon = null;
this.btnSearch.Location = new System.Drawing.Point(655, 7);
- this.btnSearch.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnSearch.Name = "btnSearch";
- this.btnSearch.Primary = true;
- this.btnSearch.Raised = true;
- this.btnSearch.SingleColor = System.Drawing.Color.CadetBlue;
this.btnSearch.Size = new System.Drawing.Size(75, 23);
this.btnSearch.TabIndex = 21;
this.btnSearch.Text = "Search";
@@ -1178,14 +1166,8 @@ private void InitializeComponent()
//
// btnReload
//
- this.btnReload.Depth = 0;
- this.btnReload.Icon = null;
this.btnReload.Location = new System.Drawing.Point(112, 7);
- this.btnReload.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnReload.Name = "btnReload";
- this.btnReload.Primary = true;
- this.btnReload.Raised = true;
- this.btnReload.SingleColor = System.Drawing.Color.Empty;
this.btnReload.Size = new System.Drawing.Size(137, 23);
this.btnReload.TabIndex = 39;
this.btnReload.Text = "Apply";
@@ -1353,10 +1335,10 @@ private void InitializeComponent()
#endregion
private System.Windows.Forms.ComboBox comboStore;
- private Theme.Controls.ListView listShoppingList;
+ private System.Windows.Forms.ListView listShoppingList;
private System.Windows.Forms.ColumnHeader colName;
private System.Windows.Forms.ColumnHeader colAmount;
- private Theme.Controls.ListView listAvailableProducts;
+ private System.Windows.Forms.ListView listAvailableProducts;
private System.Windows.Forms.ColumnHeader colAvailableName;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.SplitContainer splitContainer1;
@@ -1371,7 +1353,7 @@ private void InitializeComponent()
private System.Windows.Forms.TabPage tabBuyFilter;
private System.Windows.Forms.TabPage tabSellFilter;
private System.Windows.Forms.TextBox txtShopSearch;
- private Theme.Controls.ListView listFilter;
+ private System.Windows.Forms.ListView listFilter;
private System.Windows.Forms.ColumnHeader colItemName;
private System.Windows.Forms.ColumnHeader colItemLevel;
private System.Windows.Forms.ColumnHeader colSell;
@@ -1381,7 +1363,7 @@ private void InitializeComponent()
private System.Windows.Forms.ContextMenuStrip contextList;
private System.Windows.Forms.ToolStripMenuItem btnAddToSell;
private System.Windows.Forms.ToolStripMenuItem btnAddToStore;
- private Theme.Material.Button btnSearch;
+ private System.Windows.Forms.Button btnSearch;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem btnDontSell;
private System.Windows.Forms.ToolStripMenuItem btnDontStore;
@@ -1391,7 +1373,7 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox checkOther;
private System.Windows.Forms.GroupBox groupClothes;
private System.Windows.Forms.GroupBox groupWeapons;
- private Theme.Material.Button btnReload;
+ private System.Windows.Forms.Button btnReload;
private System.Windows.Forms.CheckBox checkBlade;
private System.Windows.Forms.CheckBox checkSword;
private System.Windows.Forms.CheckBox checkSpear;
@@ -1434,7 +1416,7 @@ private void InitializeComponent()
private System.Windows.Forms.ColumnHeader colPickup;
private System.Windows.Forms.CheckBox checkPickupRare;
private System.Windows.Forms.CheckBox checkEnableAbilityPet;
- private Theme.Material.Button btnResetFilter;
+ private System.Windows.Forms.Button btnResetFilter;
private System.Windows.Forms.ImageList imgShoppingListNPC;
private System.Windows.Forms.ImageList imgShoppingList;
private System.Windows.Forms.CheckBox checkShowEquipment;
diff --git a/Plugins/RSBot.Skills/RSBot.Skills.csproj b/Plugins/RSBot.Skills/RSBot.Skills.csproj
index 20f0bc17..979f796f 100644
--- a/Plugins/RSBot.Skills/RSBot.Skills.csproj
+++ b/Plugins/RSBot.Skills/RSBot.Skills.csproj
@@ -57,11 +57,6 @@
RSBot.Core
False
-
- {9e2a3ce3-d977-4e96-9f56-49288cf7d6b3}
- RSBot.Theme
- False
-
diff --git a/Plugins/RSBot.Skills/Views/Main.Designer.cs b/Plugins/RSBot.Skills/Views/Main.Designer.cs
index e83f49d0..705d394a 100644
--- a/Plugins/RSBot.Skills/Views/Main.Designer.cs
+++ b/Plugins/RSBot.Skills/Views/Main.Designer.cs
@@ -29,23 +29,23 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.listAttackingSkills = new RSBot.Theme.Controls.ListView();
+ this.listAttackingSkills = new System.Windows.Forms.ListView();
this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.label2 = new System.Windows.Forms.Label();
this.comboMonsterType = new System.Windows.Forms.ComboBox();
- this.btnMoveAttackSkillDown = new RSBot.Theme.Material.Button();
- this.btnMoveAttackSkillUp = new RSBot.Theme.Material.Button();
- this.btnRemoveAttackSkill = new RSBot.Theme.Material.Button();
+ this.btnMoveAttackSkillDown = new System.Windows.Forms.Button();
+ this.btnMoveAttackSkillUp = new System.Windows.Forms.Button();
+ this.btnRemoveAttackSkill = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.listBuffs = new RSBot.Theme.Controls.ListView();
+ this.listBuffs = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.btnMoveBuffSkillDown = new RSBot.Theme.Material.Button();
+ this.btnMoveBuffSkillDown = new System.Windows.Forms.Button();
this.comboImbue = new System.Windows.Forms.ComboBox();
- this.btnMoveBuffSkillUp = new RSBot.Theme.Material.Button();
+ this.btnMoveBuffSkillUp = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
- this.btnRemoveBuffSkill = new RSBot.Theme.Material.Button();
+ this.btnRemoveBuffSkill = new System.Windows.Forms.Button();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
@@ -59,7 +59,7 @@ private void InitializeComponent()
this.checkCastBuffsInTowns = new System.Windows.Forms.CheckBox();
this.tabControl2 = new System.Windows.Forms.TabControl();
this.tabPage3 = new System.Windows.Forms.TabPage();
- this.listSkills = new RSBot.Theme.Controls.ListView();
+ this.listSkills = new System.Windows.Forms.ListView();
this.colName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.panel1 = new System.Windows.Forms.Panel();
@@ -68,7 +68,7 @@ private void InitializeComponent()
this.checkShowAttacks = new System.Windows.Forms.CheckBox();
this.checkShowBuffs = new System.Windows.Forms.CheckBox();
this.tabPage4 = new System.Windows.Forms.TabPage();
- this.listActiveBuffs = new RSBot.Theme.Controls.ListView();
+ this.listActiveBuffs = new System.Windows.Forms.ListView();
this.colActiveName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.colActiveLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.skillContextMenu = new System.Windows.Forms.ContextMenu();
@@ -158,15 +158,9 @@ private void InitializeComponent()
//
// btnMoveAttackSkillDown
//
- this.btnMoveAttackSkillDown.Depth = 0;
this.btnMoveAttackSkillDown.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
- this.btnMoveAttackSkillDown.Icon = null;
this.btnMoveAttackSkillDown.Location = new System.Drawing.Point(327, 79);
- this.btnMoveAttackSkillDown.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnMoveAttackSkillDown.Name = "btnMoveAttackSkillDown";
- this.btnMoveAttackSkillDown.Primary = true;
- this.btnMoveAttackSkillDown.Raised = true;
- this.btnMoveAttackSkillDown.SingleColor = System.Drawing.Color.LightSlateGray;
this.btnMoveAttackSkillDown.Size = new System.Drawing.Size(24, 24);
this.btnMoveAttackSkillDown.TabIndex = 1;
this.btnMoveAttackSkillDown.Text = "6";
@@ -175,15 +169,9 @@ private void InitializeComponent()
//
// btnMoveAttackSkillUp
//
- this.btnMoveAttackSkillUp.Depth = 0;
this.btnMoveAttackSkillUp.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
- this.btnMoveAttackSkillUp.Icon = null;
this.btnMoveAttackSkillUp.Location = new System.Drawing.Point(327, 49);
- this.btnMoveAttackSkillUp.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnMoveAttackSkillUp.Name = "btnMoveAttackSkillUp";
- this.btnMoveAttackSkillUp.Primary = true;
- this.btnMoveAttackSkillUp.Raised = true;
- this.btnMoveAttackSkillUp.SingleColor = System.Drawing.Color.Empty;
this.btnMoveAttackSkillUp.Size = new System.Drawing.Size(24, 24);
this.btnMoveAttackSkillUp.TabIndex = 1;
this.btnMoveAttackSkillUp.Text = "5";
@@ -192,15 +180,10 @@ private void InitializeComponent()
//
// btnRemoveAttackSkill
//
- this.btnRemoveAttackSkill.Depth = 0;
this.btnRemoveAttackSkill.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
- this.btnRemoveAttackSkill.Icon = null;
- this.btnRemoveAttackSkill.Location = new System.Drawing.Point(327, 19);
- this.btnRemoveAttackSkill.MouseState = RSBot.Theme.IMatMouseState.HOVER;
+
+ this.btnRemoveAttackSkill.Location = new System.Drawing.Point(327, 19);
this.btnRemoveAttackSkill.Name = "btnRemoveAttackSkill";
- this.btnRemoveAttackSkill.Primary = true;
- this.btnRemoveAttackSkill.Raised = true;
- this.btnRemoveAttackSkill.SingleColor = System.Drawing.Color.Red;
this.btnRemoveAttackSkill.Size = new System.Drawing.Size(24, 24);
this.btnRemoveAttackSkill.TabIndex = 1;
this.btnRemoveAttackSkill.Text = "r";
@@ -248,15 +231,9 @@ private void InitializeComponent()
//
// btnMoveBuffSkillDown
//
- this.btnMoveBuffSkillDown.Depth = 0;
this.btnMoveBuffSkillDown.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
- this.btnMoveBuffSkillDown.Icon = null;
this.btnMoveBuffSkillDown.Location = new System.Drawing.Point(327, 79);
- this.btnMoveBuffSkillDown.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnMoveBuffSkillDown.Name = "btnMoveBuffSkillDown";
- this.btnMoveBuffSkillDown.Primary = true;
- this.btnMoveBuffSkillDown.Raised = true;
- this.btnMoveBuffSkillDown.SingleColor = System.Drawing.Color.LightSlateGray;
this.btnMoveBuffSkillDown.Size = new System.Drawing.Size(24, 24);
this.btnMoveBuffSkillDown.TabIndex = 8;
this.btnMoveBuffSkillDown.Text = "6";
@@ -275,15 +252,9 @@ private void InitializeComponent()
//
// btnMoveBuffSkillUp
//
- this.btnMoveBuffSkillUp.Depth = 0;
this.btnMoveBuffSkillUp.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
- this.btnMoveBuffSkillUp.Icon = null;
this.btnMoveBuffSkillUp.Location = new System.Drawing.Point(327, 49);
- this.btnMoveBuffSkillUp.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnMoveBuffSkillUp.Name = "btnMoveBuffSkillUp";
- this.btnMoveBuffSkillUp.Primary = true;
- this.btnMoveBuffSkillUp.Raised = true;
- this.btnMoveBuffSkillUp.SingleColor = System.Drawing.Color.Empty;
this.btnMoveBuffSkillUp.Size = new System.Drawing.Size(24, 24);
this.btnMoveBuffSkillUp.TabIndex = 9;
this.btnMoveBuffSkillUp.Text = "5";
@@ -301,15 +272,9 @@ private void InitializeComponent()
//
// btnRemoveBuffSkill
//
- this.btnRemoveBuffSkill.Depth = 0;
this.btnRemoveBuffSkill.Font = new System.Drawing.Font("Webdings", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
- this.btnRemoveBuffSkill.Icon = null;
this.btnRemoveBuffSkill.Location = new System.Drawing.Point(327, 19);
- this.btnRemoveBuffSkill.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnRemoveBuffSkill.Name = "btnRemoveBuffSkill";
- this.btnRemoveBuffSkill.Primary = true;
- this.btnRemoveBuffSkill.Raised = true;
- this.btnRemoveBuffSkill.SingleColor = System.Drawing.Color.Red;
this.btnRemoveBuffSkill.Size = new System.Drawing.Size(24, 24);
this.btnRemoveBuffSkill.TabIndex = 5;
this.btnRemoveBuffSkill.Text = "r";
@@ -641,12 +606,12 @@ private void InitializeComponent()
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
- private Theme.Material.Button btnRemoveAttackSkill;
- private Theme.Material.Button btnMoveAttackSkillDown;
- private Theme.Material.Button btnMoveAttackSkillUp;
+ private System.Windows.Forms.Button btnRemoveAttackSkill;
+ private System.Windows.Forms.Button btnMoveAttackSkillDown;
+ private System.Windows.Forms.Button btnMoveAttackSkillUp;
private System.Windows.Forms.ComboBox comboImbue;
private System.Windows.Forms.Label label1;
- private Theme.Material.Button btnRemoveBuffSkill;
+ private System.Windows.Forms.Button btnRemoveBuffSkill;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox comboMonsterType;
private System.Windows.Forms.TabControl tabControl1;
@@ -665,21 +630,21 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox checkShowAttacks;
private System.Windows.Forms.CheckBox checkShowBuffs;
private System.Windows.Forms.CheckBox checkHideLowerLevelSkills;
- private Theme.Controls.ListView listSkills;
+ private System.Windows.Forms.ListView listSkills;
private System.Windows.Forms.ColumnHeader colName;
private System.Windows.Forms.ColumnHeader colLevel;
private System.Windows.Forms.TabPage tabPage4;
- private Theme.Controls.ListView listActiveBuffs;
+ private System.Windows.Forms.ListView listActiveBuffs;
private System.Windows.Forms.ColumnHeader colActiveName;
private System.Windows.Forms.ColumnHeader colActiveLevel;
- private Theme.Material.Button btnMoveBuffSkillDown;
- private Theme.Material.Button btnMoveBuffSkillUp;
+ private System.Windows.Forms.Button btnMoveBuffSkillDown;
+ private System.Windows.Forms.Button btnMoveBuffSkillUp;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
- private Theme.Controls.ListView listAttackingSkills;
+ private System.Windows.Forms.ListView listAttackingSkills;
private System.Windows.Forms.ColumnHeader columnName;
private System.Windows.Forms.ColumnHeader columnLevel;
- private Theme.Controls.ListView listBuffs;
+ private System.Windows.Forms.ListView listBuffs;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ContextMenu skillContextMenu;
diff --git a/Plugins/RSBot.Statistics/Views/Main.Designer.cs b/Plugins/RSBot.Statistics/Views/Main.Designer.cs
index b5bd48d1..0d2fd94c 100644
--- a/Plugins/RSBot.Statistics/Views/Main.Designer.cs
+++ b/Plugins/RSBot.Statistics/Views/Main.Designer.cs
@@ -36,11 +36,11 @@ private void InitializeComponent()
this.panelStaticFilters = new System.Windows.Forms.Panel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.panelLiveFilters = new System.Windows.Forms.Panel();
- this.lvStatistics = new RSBot.Theme.Controls.ListView();
+ this.lvStatistics = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.panel1 = new System.Windows.Forms.Panel();
- this.btnReset = new RSBot.Theme.Material.Button();
+ this.btnReset = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -154,14 +154,8 @@ private void InitializeComponent()
//
// btnReset
//
- this.btnReset.Depth = 0;
- this.btnReset.Icon = null;
this.btnReset.Location = new System.Drawing.Point(406, 17);
- this.btnReset.MouseState = RSBot.Theme.IMatMouseState.HOVER;
this.btnReset.Name = "btnReset";
- this.btnReset.Primary = false;
- this.btnReset.Raised = false;
- this.btnReset.SingleColor = System.Drawing.Color.Empty;
this.btnReset.Size = new System.Drawing.Size(75, 23);
this.btnReset.TabIndex = 0;
this.btnReset.Text = "Reset ";
@@ -191,9 +185,9 @@ private void InitializeComponent()
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
- private Theme.Controls.ListView lvStatistics;
+ private System.Windows.Forms.ListView lvStatistics;
private System.Windows.Forms.Panel panel1;
- private Theme.Material.Button btnReset;
+ private System.Windows.Forms.Button btnReset;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.GroupBox groupBox1;
diff --git a/RSBot.sln b/RSBot.sln
index 979b50c5..0d752a3e 100644
--- a/RSBot.sln
+++ b/RSBot.sln
@@ -11,8 +11,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RSBot.Core", "Library\RSBot
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RSBot.Pk2", "Library\RSBot.Pk2\RSBot.Pk2.csproj", "{B62C693A-62E0-4D29-8702-DD8B3B6B308B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RSBot.Theme", "Library\RSBot.Theme\RSBot.Theme.csproj", "{9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RSBot.Chat", "Plugins\RSBot.Chat\RSBot.Chat.csproj", "{10CB2A7E-46CC-4427-986C-D2CCEE919DFB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RSBot.General", "Plugins\RSBot.General\RSBot.General.csproj", "{1912F216-0ED6-45D5-A54D-6E5DCD3609B2}"
@@ -79,18 +77,6 @@ Global
{B62C693A-62E0-4D29-8702-DD8B3B6B308B}.Release|x64.Build.0 = Release|Any CPU
{B62C693A-62E0-4D29-8702-DD8B3B6B308B}.Release|x86.ActiveCfg = Release|Any CPU
{B62C693A-62E0-4D29-8702-DD8B3B6B308B}.Release|x86.Build.0 = Release|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Debug|x64.ActiveCfg = Debug|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Debug|x64.Build.0 = Debug|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Debug|x86.ActiveCfg = Debug|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Debug|x86.Build.0 = Debug|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Release|Any CPU.Build.0 = Release|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Release|x64.ActiveCfg = Release|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Release|x64.Build.0 = Release|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Release|x86.ActiveCfg = Release|Any CPU
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3}.Release|x86.Build.0 = Release|Any CPU
{10CB2A7E-46CC-4427-986C-D2CCEE919DFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{10CB2A7E-46CC-4427-986C-D2CCEE919DFB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{10CB2A7E-46CC-4427-986C-D2CCEE919DFB}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -266,7 +252,6 @@ Global
GlobalSection(NestedProjects) = preSolution
{84323C14-EB9F-44D9-8980-89C9F82DB4EE} = {06762F99-9EA8-4E3E-91E8-73F2ED402CFB}
{B62C693A-62E0-4D29-8702-DD8B3B6B308B} = {06762F99-9EA8-4E3E-91E8-73F2ED402CFB}
- {9E2A3CE3-D977-4E96-9F56-49288CF7D6B3} = {06762F99-9EA8-4E3E-91E8-73F2ED402CFB}
{10CB2A7E-46CC-4427-986C-D2CCEE919DFB} = {50ECA1E3-A0CF-4DC6-B0D9-AB5668D17EC3}
{1912F216-0ED6-45D5-A54D-6E5DCD3609B2} = {50ECA1E3-A0CF-4DC6-B0D9-AB5668D17EC3}
{0CD455EA-A75D-4273-BE3E-DA570C783726} = {50ECA1E3-A0CF-4DC6-B0D9-AB5668D17EC3}