forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 9
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
78 changed files
with
9,028 additions
and
280 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 |
---|---|---|
@@ -1,10 +1,77 @@ | ||
<Control xmlns="https://spacestation14.io" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<BoxContainer Name="Container" Orientation="Horizontal"> | ||
<Button | ||
Name="PreferenceButton" | ||
ToggleMode="True" | ||
VerticalAlignment="Center" | ||
StyleClasses="OpenLeft" /> | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:graphics="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client" | ||
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"> | ||
<BoxContainer Name="Container" Orientation="Vertical" HorizontalExpand="True"> | ||
<controls:StyledButtonGroup Name="ButtonGroup" Orientation="Horizontal" HorizontalExpand="True"> | ||
<Button | ||
Name="PreferenceButton" | ||
Access="Public" | ||
ToggleMode="True" | ||
VerticalAlignment="Center" /> | ||
|
||
<Button | ||
Name="HeirloomButton" | ||
Access="Public" | ||
Text="{Loc 'humanoid-profile-editor-loadouts-heirloom'}" | ||
ToolTip="{Loc 'humanoid-profile-editor-loadouts-heirloom-tooltip'}" | ||
ToggleMode="True" | ||
VerticalAlignment="Center" /> | ||
|
||
<!-- Yes I know I can use a TextureButton, but I'm doing this for style --> | ||
<Button | ||
Name="GuidebookButton" | ||
ToolTip="{Loc 'humanoid-profile-editor-loadouts-guidebook-button-tooltip'}" | ||
VerticalAlignment="Center" | ||
StyleClasses="OpenLeft"> | ||
<TextureRect | ||
Name="GuidebookButtonIcon" | ||
TexturePath="/Textures/Interface/VerbIcons/information.svg.192dpi.png" | ||
TextureScale="0.4 0.4" | ||
VerticalAlignment="Center" | ||
Margin="5" /> | ||
</Button> | ||
</controls:StyledButtonGroup> | ||
|
||
|
||
<Collapsible Name="SpecialMenu" HorizontalExpand="True"> | ||
<Button Name="HeadingButton" Text="{Loc 'humanoid-profile-editor-loadouts-customize'}" ToggleMode="True" /> | ||
|
||
<CollapsibleBody HorizontalExpand="True" Margin="0 0 0 5"> | ||
<PanelContainer HorizontalExpand="True"> | ||
<PanelContainer.PanelOverride> | ||
<graphics:StyleBoxFlat BackgroundColor="#2f2f2f" BorderColor="#2f2f2faf" BorderThickness="1" /> | ||
</PanelContainer.PanelOverride> | ||
|
||
<BoxContainer Orientation="Vertical" Margin="3" HorizontalExpand="True"> | ||
<BoxContainer Name="SpecialName" Orientation="Vertical" HorizontalExpand="True"> | ||
<Label Text="{Loc 'humanoid-profile-editor-loadouts-customize-name'}" /> | ||
<LineEdit Name="NameEdit" HorizontalExpand="True" /> | ||
</BoxContainer> | ||
|
||
<BoxContainer Name="SpecialDescription" Orientation="Vertical" HorizontalExpand="True"> | ||
<Label Text="{Loc 'humanoid-profile-editor-loadouts-customize-description'}" /> | ||
<PanelContainer HorizontalExpand="True"> | ||
<PanelContainer.PanelOverride> | ||
<graphics:StyleBoxFlat BackgroundColor="#222222" /> | ||
</PanelContainer.PanelOverride> | ||
|
||
<controls:ResizableControl | ||
AllowedResizeDirection="Vertical" | ||
HorizontalExpand="True" | ||
MinSize="128 64"> | ||
<TextEdit Name="DescriptionEdit" HorizontalExpand="True" VerticalExpand="True" Margin="3" /> | ||
</controls:ResizableControl> | ||
</PanelContainer> | ||
</BoxContainer> | ||
|
||
<Button Name="SpecialColorTintToggle" Text="{Loc 'humanoid-profile-editor-loadouts-customize-color'}" ToggleMode="True" Margin="0 3 0 0" StyleClasses="OpenBoth" /> | ||
<ColorSelectorSliders Name="ColorEdit" Color="#fff" HorizontalExpand="True" /> | ||
|
||
<Button Name="SaveButton" Text="{Loc 'humanoid-profile-editor-loadouts-customize-save'}" HorizontalExpand="True" Margin="0 3 0 0" StyleClasses="OpenBoth" /> | ||
</BoxContainer> | ||
</PanelContainer> | ||
</CollapsibleBody> | ||
</Collapsible> | ||
</BoxContainer> | ||
</Control> |
Oops, something went wrong.