Skip to content

Commit 5bdac10

Browse files
committed
Add option to use classic Bloxstrap logo
for those afraid of change
1 parent a121e14 commit 5bdac10

File tree

5 files changed

+20
-1
lines changed

5 files changed

+20
-1
lines changed

Bloxstrap/Enums/BootstrapperIcon.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ public enum BootstrapperIcon
1717
[EnumName(StaticName = "2022")]
1818
Icon2022,
1919
[EnumName(FromTranslation = "Common.Custom")]
20-
IconCustom
20+
IconCustom,
21+
[EnumName(FromTranslation = "Enums.BootstrapperStyle.ClassicFluentDialog")]
22+
IconBloxstrapClassic
2123
}
2224
}

Bloxstrap/Extensions/BootstrapperIconEx.cs

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ static class BootstrapperIconEx
1414
BootstrapperIcon.IconEarly2015,
1515
BootstrapperIcon.Icon2011,
1616
BootstrapperIcon.Icon2008,
17+
BootstrapperIcon.IconBloxstrapClassic,
1718
BootstrapperIcon.IconCustom
1819
};
1920

@@ -61,6 +62,7 @@ public static Icon GetIcon(this BootstrapperIcon icon)
6162
BootstrapperIcon.Icon2017 => Properties.Resources.Icon2017,
6263
BootstrapperIcon.Icon2019 => Properties.Resources.Icon2019,
6364
BootstrapperIcon.Icon2022 => Properties.Resources.Icon2022,
65+
BootstrapperIcon.IconBloxstrapClassic => Properties.Resources.IconBloxstrapClassic,
6466
_ => Properties.Resources.IconBloxstrap
6567
};
6668
}

Bloxstrap/Properties/Resources.Designer.cs

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Bloxstrap/Properties/Resources.resx

+3
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,7 @@
154154
<data name="IconLate2015" type="System.Resources.ResXFileRef, System.Windows.Forms">
155155
<value>..\Resources\IconLate2015.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
156156
</data>
157+
<data name="IconBloxstrapClassic" type="System.Resources.ResXFileRef, System.Windows.Forms">
158+
<value>..\Resources\IconBloxstrapClassic.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
159+
</data>
157160
</root>
99.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)