Change large text box to Text20

rabi_display
wcko87 8 years ago
parent 9cc32bcfc5
commit a8f7400e20
  1. 12
      rabi_splitter_WPF/MainContext.cs
  2. 2
      rabi_splitter_WPF/MainWindow.xaml
  3. 2
      rabi_splitter_WPF/RabiRibiDisplay.cs

@ -241,6 +241,7 @@ namespace rabi_splitter_WPF
private string _text17; private string _text17;
private string _text18; private string _text18;
private string _text19; private string _text19;
private string _text20;
public string Text1 public string Text1
{ {
@ -451,6 +452,17 @@ namespace rabi_splitter_WPF
} }
} }
public string Text20
{
get { return _text20; }
set
{
if (value == _text20) return;
_text20 = value;
OnPropertyChanged(nameof(Text20));
}
}
public int ServerPort public int ServerPort
{ {
get { return _serverPort; } get { return _serverPort; }

@ -64,7 +64,7 @@
<TextBlock Grid.Row="4" Grid.Column="2" TextWrapping="Wrap" Text="{Binding Text14}" FontSize="16"/> <TextBlock Grid.Row="4" Grid.Column="2" TextWrapping="Wrap" Text="{Binding Text14}" FontSize="16"/>
<ScrollViewer Grid.Row="5" Grid.RowSpan="5" Grid.ColumnSpan="2" Grid.Column="0" > <ScrollViewer Grid.Row="5" Grid.RowSpan="5" Grid.ColumnSpan="2" Grid.Column="0" >
<TextBlock TextWrapping="Wrap" Text="{Binding Text16}" FontSize="16"/> <TextBlock TextWrapping="Wrap" Text="{Binding Text20}" FontSize="16"/>
</ScrollViewer> </ScrollViewer>
<TextBlock Grid.Row="5" Grid.Column="2" TextWrapping="Wrap" Text="{Binding Text15}" FontSize="16"/> <TextBlock Grid.Row="5" Grid.Column="2" TextWrapping="Wrap" Text="{Binding Text15}" FontSize="16"/>

@ -243,7 +243,7 @@ namespace rabi_splitter_WPF
bosstext += "[" + boss.entityArrayIndex + "] " + StaticData.GetBossName(boss.id) + ": " + boss.hp + "/" + boss.maxHp + "\n"; bosstext += "[" + boss.entityArrayIndex + "] " + StaticData.GetBossName(boss.id) + ": " + boss.hp + "/" + boss.maxHp + "\n";
} }
mainContext.Text16 = bosstext; mainContext.Text20 = bosstext;
} }
} }

Loading…
Cancel
Save