mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Add Hyperion mockup bootstrapper style
This commit is contained in:
parent
39d919811f
commit
15d81cf8a7
@ -14,6 +14,8 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Resource Include="Bloxstrap.ico" />
|
||||
<Resource Include="Resources\CancelButtonSmall.png" />
|
||||
<Resource Include="Resources\WordmarkRoblox.png" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -6,6 +6,7 @@
|
||||
LegacyDialog2009,
|
||||
LegacyDialog2011,
|
||||
ProgressDialog,
|
||||
FluentDialog
|
||||
FluentDialog,
|
||||
HyperionDialog
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ namespace Bloxstrap.Extensions
|
||||
BootstrapperStyle.LegacyDialog2011 => new LegacyDialog2011(),
|
||||
BootstrapperStyle.ProgressDialog => new ProgressDialog(),
|
||||
BootstrapperStyle.FluentDialog => new FluentDialog(),
|
||||
BootstrapperStyle.HyperionDialog => new HyperionDialog(),
|
||||
_ => new FluentDialog()
|
||||
};
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ namespace Bloxstrap.ViewModels
|
||||
private void PreviewBootstrapper()
|
||||
{
|
||||
IBootstrapperDialog dialog = App.Settings.Prop.BootstrapperStyle.GetNew();
|
||||
dialog.Message = "Style preview - Click Cancel to close";
|
||||
dialog.Message = (App.Settings.Prop.BootstrapperStyle == BootstrapperStyle.HyperionDialog) ? "Style preview - Click the X button on top right to close" : "Style preview - Click Cancel to close";
|
||||
dialog.CancelEnabled = true;
|
||||
dialog.ShowBootstrapper();
|
||||
}
|
||||
@ -71,6 +71,7 @@ namespace Bloxstrap.ViewModels
|
||||
public IReadOnlyDictionary<string, BootstrapperStyle> Dialogs { get; set; } = new Dictionary<string, BootstrapperStyle>()
|
||||
{
|
||||
{ "Fluent", BootstrapperStyle.FluentDialog },
|
||||
{ "Hyperion", BootstrapperStyle.HyperionDialog },
|
||||
{ "Progress (~2014)", BootstrapperStyle.ProgressDialog },
|
||||
{ "Legacy (2011 - 2014)", BootstrapperStyle.LegacyDialog2011 },
|
||||
{ "Legacy (2009 - 2011)", BootstrapperStyle.LegacyDialog2009 },
|
||||
|
Loading…
Reference in New Issue
Block a user