Skip to content

Commit

Permalink
Move client refreshing to Advanced tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Marlamin committed Aug 8, 2024
1 parent b0c1f90 commit 6711e0a
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions MapUpconverterGUI/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,7 @@
<Label Content="WDT FileDataID" HorizontalAlignment="Left" Margin="15,129,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="WDTFileDataID" PreviewTextInput="WDTFileDataID_PreviewTextInput" HorizontalAlignment="Left" Margin="113,133,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="330" TextChanged="WDTFileDataID_TextChanged" Height="20"/>
<Label Content="This is the FileDataID of an existing WDT file to override.&#10;Note that some IDs will behave differently than others,&#10;so follow a tutorial or something to pick a good one." HorizontalAlignment="Left" Margin="113,155,0,0" VerticalAlignment="Top" Width="330"/>
<CheckBox x:Name="ClientRefreshEnabled" HorizontalAlignment="Left" Margin="10,219,0,0" VerticalAlignment="Top" Click="ClientRefreshEnabled_Checked">
<TextBlock>
<Bold>Enable client refreshing?</Bold> (Requires Epsilon 9.2) <LineBreak /> Refreshes changed content in client when using convert-on-save mode.<LineBreak />Below Map ID field is recommended when using this feature but not required.
</TextBlock>
</CheckBox>
<Label Content="MapID" HorizontalAlignment="Left" Margin="63,272,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="MapID" PreviewTextInput="WDTFileDataID_PreviewTextInput" HorizontalAlignment="Left" Margin="113,275,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="330" TextChanged="MapID_TextChanged" Height="20"/>
</Grid>
</Grid>
</TabItem>
<TabItem Header="Arctium Settings">
<Grid>
Expand All @@ -90,6 +83,17 @@
<Label Content="This is the FileDataID of an existing WDT file to override.&#10;Note that some IDs will behave differently than others,&#10;so follow a tutorial or something to pick a good one." HorizontalAlignment="Left" Margin="113,135,0,0" VerticalAlignment="Top" Width="330"/>
</Grid>
</TabItem>
<TabItem Header="Advanced">
<Grid>
<CheckBox x:Name="ClientRefreshEnabled" HorizontalAlignment="Left" Margin="10,19,0,0" VerticalAlignment="Top" Click="ClientRefreshEnabled_Checked">
<TextBlock>
<Bold>Enable client refreshing?</Bold> (Requires Epsilon 9.2 or Arbiter hot-reloading) <LineBreak /> Refreshes changed content in client when using convert-on-save mode.<LineBreak />Below Map ID field is recommended when using this feature but not required.
</TextBlock>
</CheckBox>
<Label Content="MapID" HorizontalAlignment="Left" Margin="63,72,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="MapID" PreviewTextInput="WDTFileDataID_PreviewTextInput" HorizontalAlignment="Left" Margin="113,75,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="330" TextChanged="MapID_TextChanged" Height="20"/>
</Grid>
</TabItem>
</TabControl>
<Button x:Name="SaveButton" Content="Save settings" IsEnabled="False" HorizontalAlignment="Left" Margin="14,425,0,0" VerticalAlignment="Top" Height="32" Width="508" Click="SaveButton_Click"/>
<Button x:Name="StartButton" Content="Save &amp; Start converter" HorizontalAlignment="Left" Margin="539,425,0,0" VerticalAlignment="Top" Height="32" Width="222" FontWeight="Bold" Click="StartButton_Click"/>
Expand Down

0 comments on commit 6711e0a

Please sign in to comment.