-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
2,811 additions
and
3,070 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Content.Client.Eui; | ||
|
||
namespace Content.Client.Revolutionary.UI; | ||
|
||
public sealed class DeconvertedEui : BaseEui | ||
{ | ||
private readonly DeconvertedMenu _menu; | ||
|
||
public DeconvertedEui() | ||
{ | ||
_menu = new DeconvertedMenu(); | ||
} | ||
|
||
public override void Opened() | ||
{ | ||
_menu.OpenCentered(); | ||
} | ||
|
||
public override void Closed() | ||
{ | ||
base.Closed(); | ||
|
||
_menu.Close(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<controls:FancyWindow xmlns="https://spacestation14.io" | ||
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls" | ||
Title="{Loc 'rev-deconverted-title'}"> | ||
<BoxContainer Orientation="Vertical" Margin="5"> | ||
<Label Text="{Loc 'rev-deconverted-text'}"/> | ||
<BoxContainer Orientation="Horizontal" Align="Center"> | ||
<Button Name="ConfirmButton" Text="{Loc 'rev-deconverted-confirm'}"/> | ||
</BoxContainer> | ||
</BoxContainer> | ||
</controls:FancyWindow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Content.Client.UserInterface.Controls; | ||
using Robust.Client.AutoGenerated; | ||
using Robust.Client.UserInterface.XAML; | ||
|
||
namespace Content.Client.Revolutionary.UI; | ||
|
||
[GenerateTypedNameReferences] | ||
public sealed partial class DeconvertedMenu : FancyWindow | ||
{ | ||
public DeconvertedMenu() | ||
{ | ||
RobustXamlLoader.Load(this); | ||
|
||
ConfirmButton.OnPressed += _ => Close(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.