Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion RunCat/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ public RunCatApplicationContext()
new ToolStripMenuItem("Parrot", null, SetRunner)
{
Checked = runner.Equals("parrot")
},
new ToolStripMenuItem("Horse", null, SetRunner)
{
Checked = runner.Equals("horse")
}
});

Expand Down Expand Up @@ -170,7 +174,16 @@ private void SetIcons()
{
string prefix = 0 < manualTheme.Length ? manualTheme : systemTheme;
ResourceManager rm = Resources.ResourceManager;
int capacity = runner.Equals("cat") ? 5 : 10;
// default runner is cat
int capacity = 5;
if (runner.Equals("parrot"))
{
capacity = 10;
}
else if (runner.Equals("horse"))
{
capacity = 14;
}
List<Icon> list = new List<Icon>(capacity);
for (int i = 0; i < capacity; i++)
{
Expand Down
252 changes: 252 additions & 0 deletions RunCat/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading