-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Surgery * translate strings * ru translate * second ru translate * fix * fix pizza icon * пу-пу-пу * fix damageeeee * fix * fix x2)
- Loading branch information
Showing
156 changed files
with
5,118 additions
and
137 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -306,3 +306,4 @@ Resources/MapImages | |
|
||
# Direnv stuff | ||
.direnv/ | ||
.idea/ |
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,17 @@ | ||
<ui:ChoiceControl | ||
xmlns="https://spacestation14.io" | ||
xmlns:ui="clr-namespace:Content.Client._Sunrise"> | ||
<BoxContainer Orientation="Horizontal"> | ||
<Button Name="Button" Access="Public" | ||
HorizontalExpand="True" VerticalExpand="False" | ||
StyleClasses="ButtonSquare" Margin="0"> | ||
<BoxContainer Orientation="Horizontal" Margin="0"> | ||
<TextureRect Name="Texture" Access="Public" | ||
HorizontalExpand="False" VerticalExpand="False" | ||
Margin="1"/> | ||
<Control MinWidth="5"/> | ||
<RichTextLabel Name="NameLabel" Access="Public" VerticalAlignment="Center"/> | ||
</BoxContainer> | ||
</Button> | ||
</BoxContainer> | ||
</ui:ChoiceControl> |
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,27 @@ | ||
using Robust.Client.AutoGenerated; | ||
using Robust.Client.Graphics; | ||
using Robust.Client.UserInterface; | ||
using Robust.Client.UserInterface.XAML; | ||
using Robust.Shared.Utility; | ||
// Taken from RMC14 build. | ||
// https://github.com/RMC-14/RMC-14 | ||
namespace Content.Client._Sunrise; | ||
|
||
[GenerateTypedNameReferences] | ||
[Virtual] | ||
public partial class ChoiceControl : Control | ||
{ | ||
public ChoiceControl() => RobustXamlLoader.Load(this); | ||
|
||
public void Set(string name, Texture? texture) | ||
{ | ||
NameLabel.SetMessage(name); | ||
Texture.Texture = texture; | ||
} | ||
|
||
public void Set(FormattedMessage msg, Texture? texture) | ||
{ | ||
NameLabel.SetMessage(msg); | ||
Texture.Texture = texture; | ||
} | ||
} |
Oops, something went wrong.