Remove encapsulation for previously protected XAML UI fields (#4975)
This commit is contained in:
@@ -7,25 +7,30 @@
|
||||
VerticalExpand="True"
|
||||
HorizontalExpand="True"
|
||||
MinSize="50 50">
|
||||
<RichTextLabel Name="PdaOwnerLabelProtected" />
|
||||
<RichTextLabel Name="PdaOwnerLabel" Access="Public" />
|
||||
<PanelContainer>
|
||||
<BoxContainer Orientation="Horizontal">
|
||||
<RichTextLabel Name="IdInfoLabelProtected"
|
||||
<RichTextLabel Name="IdInfoLabel"
|
||||
Access="Public"
|
||||
HorizontalExpand="True" />
|
||||
<Button Name="EjectIdButtonProtected"
|
||||
<Button Name="EjectIdButton"
|
||||
Access="Public"
|
||||
Text="{Loc 'comp-pda-ui-eject-id-button'}"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
<Button Name="EjectPenButtonProtected"
|
||||
<Button Name="EjectPenButton"
|
||||
Access="Public"
|
||||
Text="{Loc 'comp-pda-ui-eject-pen-button'}"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</BoxContainer>
|
||||
</PanelContainer>
|
||||
<Button Name="FlashLightToggleButtonProtected"
|
||||
<Button Name="FlashLightToggleButton"
|
||||
Access="Public"
|
||||
Text="{Loc 'comp-pda-ui-toggle-flashlight-button'}"
|
||||
ToggleMode="True" />
|
||||
<Button Name="ActivateUplinkButtonProtected"
|
||||
<Button Name="ActivateUplinkButton"
|
||||
Access="Public"
|
||||
Text="{Loc 'pda-bound-user-interface-uplink-tab-title'}" />
|
||||
</BoxContainer>
|
||||
</TabContainer>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
using Robust.Shared.Localization;
|
||||
@@ -9,15 +8,6 @@ namespace Content.Client.PDA
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class PDAMenu : SS14Window
|
||||
{
|
||||
public Button FlashLightToggleButton => FlashLightToggleButtonProtected;
|
||||
public Button EjectIdButton => EjectIdButtonProtected;
|
||||
public Button EjectPenButton => EjectPenButtonProtected;
|
||||
|
||||
public Button ActivateUplinkButton => ActivateUplinkButtonProtected;
|
||||
|
||||
public RichTextLabel PdaOwnerLabel => PdaOwnerLabelProtected;
|
||||
public RichTextLabel IdInfoLabel => IdInfoLabelProtected;
|
||||
|
||||
public PDAMenu()
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
|
||||
Reference in New Issue
Block a user