Skip to content

Commit 9489ac2

Browse files
committed
Added tooltips to compression options. closes #339
1 parent e2c6b10 commit 9489ac2

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

CompactGUI/Views/MainWindow.xaml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,18 @@
835835
<ComboBoxItem>
836836
<TextBlock Text="LZX" FontSize="14" FontWeight="SemiBold" Foreground="#98A9B9"/>
837837
</ComboBoxItem>
838+
838839
</ComboBox>
840+
<Grid.ToolTip>
841+
<ToolTip >
842+
<StackPanel Orientation="Vertical">
843+
<TextBlock Text="XPRESS 4K: Fast compression speed, but weaker compression" TextWrapping="Wrap" Margin="2,5,2,0"/>
844+
<TextBlock Text="XPRESS 8K: Good balance between speed and compression strength" TextWrapping="Wrap" Margin="2,5,2,0"/>
845+
<TextBlock Text="XPRESS 16K: Slow compression speed, but stronger compression" TextWrapping="Wrap" Margin="2,5,2,0"/>
846+
<TextBlock Text="LZX: Slowest compression speed, but strongest compression - note this has a higher CPU overhead when running your program/game" TextWrapping="Wrap" Margin="2,5,2,0"/>
847+
</StackPanel>
848+
</ToolTip>
849+
</Grid.ToolTip>
839850
</Grid>
840851

841852
<Grid Height="65">
@@ -853,7 +864,14 @@
853864
</Style>
854865
</TextBlock.Style>
855866
</TextBlock>
856-
867+
<Grid.ToolTip>
868+
<ToolTip >
869+
<StackPanel Orientation="Vertical">
870+
<TextBlock Text="Skips filetypes that are in:" TextWrapping="Wrap"/>
871+
<TextBlock Text="Options > Manage local skipped filetypes" Background="#3073808C" Padding="3,1,3,1" TextWrapping="Wrap" Margin="2,5,2,0"/>
872+
</StackPanel>
873+
</ToolTip>
874+
</Grid.ToolTip>
857875
</Grid>
858876
<Grid Height="65">
859877
<TextBlock Text="skip user-submitted filetypes" FontSize="20" Foreground="#73808C" VerticalAlignment="Center" Margin="0,-2,0,0"/>
@@ -873,12 +891,25 @@
873891
</Style>
874892
</TextBlock.Style>
875893
</TextBlock>
894+
<Grid.ToolTip>
895+
<ToolTip >
896+
<StackPanel Orientation="Vertical">
897+
<TextBlock Text="Skips filetypes that have been identified to be poorly compressible based on user submitted results." TextWrapping="Wrap"/>
898+
</StackPanel>
899+
</ToolTip>
900+
</Grid.ToolTip>
876901
</Grid>
877902
<Grid Height="65">
878903
<TextBlock Text="watch folder for changes" FontSize="20" Foreground="#73808C" VerticalAlignment="Center" Margin="0,-2,0,0"/>
879904

880905
<CheckBox x:Name="uiChkWatchFolder" HorizontalAlignment="Right" Style="{StaticResource RoundedCheckBox}" IsChecked="{Binding BindableSettings.WatchFolderForChanges}" />
881-
906+
<Grid.ToolTip>
907+
<ToolTip >
908+
<StackPanel Orientation="Vertical">
909+
<TextBlock Text="Adds this folder to the Watch list tab, which will monitor the folder's compression state (modifying a compressed folder will uncompress it over time)" TextWrapping="Wrap"/>
910+
</StackPanel>
911+
</ToolTip>
912+
</Grid.ToolTip>
882913
</Grid>
883914

884915
</StackPanel>

0 commit comments

Comments
 (0)