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>
|
<ItemGroup>
|
||||||
<Resource Include="Bloxstrap.ico" />
|
<Resource Include="Bloxstrap.ico" />
|
||||||
|
<Resource Include="Resources\CancelButtonSmall.png" />
|
||||||
|
<Resource Include="Resources\WordmarkRoblox.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
LegacyDialog2009,
|
LegacyDialog2009,
|
||||||
LegacyDialog2011,
|
LegacyDialog2011,
|
||||||
ProgressDialog,
|
ProgressDialog,
|
||||||
FluentDialog
|
FluentDialog,
|
||||||
|
HyperionDialog
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ namespace Bloxstrap.Extensions
|
|||||||
BootstrapperStyle.LegacyDialog2011 => new LegacyDialog2011(),
|
BootstrapperStyle.LegacyDialog2011 => new LegacyDialog2011(),
|
||||||
BootstrapperStyle.ProgressDialog => new ProgressDialog(),
|
BootstrapperStyle.ProgressDialog => new ProgressDialog(),
|
||||||
BootstrapperStyle.FluentDialog => new FluentDialog(),
|
BootstrapperStyle.FluentDialog => new FluentDialog(),
|
||||||
|
BootstrapperStyle.HyperionDialog => new HyperionDialog(),
|
||||||
_ => new FluentDialog()
|
_ => new FluentDialog()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ namespace Bloxstrap.ViewModels
|
|||||||
private void PreviewBootstrapper()
|
private void PreviewBootstrapper()
|
||||||
{
|
{
|
||||||
IBootstrapperDialog dialog = App.Settings.Prop.BootstrapperStyle.GetNew();
|
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.CancelEnabled = true;
|
||||||
dialog.ShowBootstrapper();
|
dialog.ShowBootstrapper();
|
||||||
}
|
}
|
||||||
@ -71,6 +71,7 @@ namespace Bloxstrap.ViewModels
|
|||||||
public IReadOnlyDictionary<string, BootstrapperStyle> Dialogs { get; set; } = new Dictionary<string, BootstrapperStyle>()
|
public IReadOnlyDictionary<string, BootstrapperStyle> Dialogs { get; set; } = new Dictionary<string, BootstrapperStyle>()
|
||||||
{
|
{
|
||||||
{ "Fluent", BootstrapperStyle.FluentDialog },
|
{ "Fluent", BootstrapperStyle.FluentDialog },
|
||||||
|
{ "Hyperion", BootstrapperStyle.HyperionDialog },
|
||||||
{ "Progress (~2014)", BootstrapperStyle.ProgressDialog },
|
{ "Progress (~2014)", BootstrapperStyle.ProgressDialog },
|
||||||
{ "Legacy (2011 - 2014)", BootstrapperStyle.LegacyDialog2011 },
|
{ "Legacy (2011 - 2014)", BootstrapperStyle.LegacyDialog2011 },
|
||||||
{ "Legacy (2009 - 2011)", BootstrapperStyle.LegacyDialog2009 },
|
{ "Legacy (2009 - 2011)", BootstrapperStyle.LegacyDialog2009 },
|
||||||
|
Loading…
Reference in New Issue
Block a user