-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from new-frontiers-14/manifest_destiny
Station Records Job Customization
- Loading branch information
Showing
8 changed files
with
149 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<PanelContainer xmlns="https://spacestation14.io" | ||
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client" | ||
HorizontalExpand="True"> | ||
<BoxContainer Orientation="Horizontal" | ||
HorizontalExpand="True"> | ||
<Label Name="JobName" | ||
Access="Public" | ||
MinWidth="210" /> | ||
<Button Name="DecreaseJobSlot" | ||
Access="Public" | ||
ToolTip="" | ||
Text="-" | ||
StyleClasses="OptionLeft" /> | ||
<Label Name="JobAmount" | ||
Margin="6 0 0 0" | ||
Access="Public" | ||
MinWidth="22"/> | ||
<Button Name="IncreaseJobSlot" | ||
Access="Public" | ||
ToolTip="" | ||
Text="+" | ||
StyleClasses="OptionRight" /> | ||
</BoxContainer> | ||
</PanelContainer> |
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 @@ | ||
using Content.Shared.Shipyard; | ||
using Content.Shared.Shipyard.Prototypes; | ||
using Robust.Client.AutoGenerated; | ||
using Robust.Client.UserInterface.Controls; | ||
using Robust.Client.UserInterface.XAML; | ||
|
||
namespace Content.Client.StationRecords; | ||
|
||
[GenerateTypedNameReferences] | ||
public sealed partial class JobRow : PanelContainer | ||
{ | ||
public string? Job; | ||
public JobRow() | ||
{ | ||
RobustXamlLoader.Load(this); | ||
} | ||
} |
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