Ignore:
Timestamp:
Oct 11, 2010, 1:07:43 PM (11 years ago)
Author:
matkovic
Message:

-added configuration into PluginContainerView (experimental)
-several style changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/Container/PluginContainerView.xaml

    r1892 r1970  
    109109            <Grid Name="MainGrid">
    110110                <Grid Name="ConnectorPanel" Panel.ZIndex="11111111">
    111                     <StackPanel x:Name="West" Panel.ZIndex="1111" Background="{StaticResource ResourceKey=CheatBrush}" Orientation="Vertical" HorizontalAlignment="Left" Width="20" Height="{Binding ElementName=Window, Path=ActualHeight}"></StackPanel>
     111                    <StackPanel x:Name="West" Panel.ZIndex="1111" Background="{StaticResource ResourceKey=CheatBrush}" Orientation="Vertical" HorizontalAlignment="Left" Width="20" Height="{Binding ElementName=Window, Path=ActualHeight}" Margin="5,0,0,0"></StackPanel>
    112112                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
    113                         <StackPanel Orientation="Vertical">
     113                        <!--<StackPanel Orientation="Vertical">
    114114                            <Thumb Panel.ZIndex="200" Name="RightDelta" IsEnabled="False" Opacity="0.01" HorizontalAlignment="Right" VerticalAlignment="Stretch" Cursor="SizeWE" DragDelta="Thumb_DragDelta" Width="2.5" Height="{Binding ElementName=Window, Path=ActualHeight}"></Thumb>
    115                             <Thumb Panel.ZIndex="200" Name="BottomRightDelta" IsEnabled="False" Opacity="0.01" HorizontalAlignment="Right" VerticalAlignment="Bottom" Cursor="SizeNWSE" Height="5" Width="7" DragDelta="Thumb_DragDelta"></Thumb>
    116                         </StackPanel>
    117                         <StackPanel x:Name="East" Panel.ZIndex="11112" Background="{StaticResource ResourceKey=CheatBrush}" Orientation="Vertical" Width="18" Height="{Binding ElementName=Window, Path=ActualHeight}"></StackPanel>
     115                        </StackPanel>-->
     116                        <StackPanel x:Name="East" Panel.ZIndex="11112" Background="{StaticResource ResourceKey=CheatBrush}" Orientation="Vertical" Width="18" Height="{Binding ElementName=Window, Path=ActualHeight}" Margin="0,0,5,0"></StackPanel>
    118117                    </StackPanel>
    119118
    120                     <StackPanel x:Name="North" Panel.ZIndex="1111" Background="{StaticResource ResourceKey=CheatBrush}" Orientation="Horizontal" VerticalAlignment="Top" Height="20" Width="{Binding ElementName=Window, Path=ActualWidth}"></StackPanel>
     119                    <StackPanel x:Name="North" Panel.ZIndex="1111" Background="{StaticResource ResourceKey=CheatBrush}" Orientation="Horizontal" VerticalAlignment="Top" Height="20" Width="{Binding ElementName=Window, Path=ActualWidth}" Margin="0,5,0,0"></StackPanel>
    121120                    <StackPanel Orientation="Vertical" VerticalAlignment="Bottom">
    122                         <Thumb Panel.ZIndex="200" Name="BottomDelta" IsEnabled="False" Opacity="0.01" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Cursor="SizeNS" DragDelta="Thumb_DragDelta" Height="2.5"></Thumb>
    123                         <StackPanel x:Name="South" Panel.ZIndex="1111" Background="{StaticResource ResourceKey=CheatBrush}" Orientation="Horizontal" Height="18" Width="{Binding ElementName=Window, Path=ActualWidth}"></StackPanel>
     121                        <!--<Thumb Panel.ZIndex="200" Name="BottomDelta" IsEnabled="False" Opacity="0.01" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Cursor="SizeNS" DragDelta="Thumb_DragDelta" Height="2.5"></Thumb>-->
     122                        <StackPanel x:Name="South" Panel.ZIndex="1111" Background="{StaticResource ResourceKey=CheatBrush}" Orientation="Horizontal" Height="18" Width="{Binding ElementName=Window, Path=ActualWidth}" Margin="0,0,0,5"></StackPanel>
    124123                    </StackPanel>
    125                  
    126 
     124
     125                    <Thumb Panel.ZIndex="2000" Name="BottomRightDelta" Style="{StaticResource ResourceKey=ImageWrapperThumbStyle}" IsEnabled="False" Background="Transparent" Opacity="0.6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Cursor="SizeNWSE" Height="15" Width="15" DragDelta="Thumb_DragDelta" Margin="0,0,17,17"></Thumb>
    127126                </Grid>
    128127                <Grid Margin="3">
    129128                    <Border Name="Window" BorderThickness="0" BorderBrush="Transparent" Margin="8">
    130                        
    131129                        <Grid>
    132130                            <Grid x:Name="ProgressbarRoot">
    133131                                <Grid x:Name="ProgressbarParent">
    134                                     <ProgressBar VerticalAlignment="Stretch" Margin="0,0,0,0" x:Name="ProgressBar" Height="auto" Width="Auto" Background="Transparent" Style="{StaticResource ResourceKey=ProgressbarStyle}" Maximum="1" Foreground="{StaticResource ResourceKey=ProgressbarLinearGradientBrush}">
     132                                    <ProgressBar VerticalAlignment="Stretch" Margin="0,0,0,0" x:Name="ProgressBar" Height="auto" Width="Auto" Background="Transparent" Style="{StaticResource ResourceKey=ProgressbarStyle}" Maximum="1" Foreground="ForestGreen">
    135133                                    </ProgressBar>
    136                                     <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,0">
    137                                         <StackPanel.RenderTransform>
    138                                             <TranslateTransform Y="4"></TranslateTransform>
    139                                         </StackPanel.RenderTransform>
    140                                         <TextBlock x:Name="Percentage" FontFamily="IrisUPC" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="WhiteSmoke" Text="{Binding ElementName=ProgressBar, Path=Value, Converter={StaticResource ResourceKey=PercentageConverter}, FallbackValue=error}" />
    141                                         <TextBlock FontSize="20" FontFamily="IrisUPC" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="WhiteSmoke" Text="%"/>
    142                                     </StackPanel>
    143134                                </Grid>
     135                            </Grid>
     136                            <Grid Panel.ZIndex="1000" x:Name="ProgressPercentageRoot">
     137                                <StackPanel Margin="2" x:Name="ProgressPercentage" Orientation="Horizontal"  HorizontalAlignment="Center" VerticalAlignment="Bottom">
     138                                    <StackPanel.RenderTransform>
     139                                        <TranslateTransform Y="4"></TranslateTransform>
     140                                    </StackPanel.RenderTransform>
     141                                    <TextBlock Name="Percentage" FontFamily="IrisUPC" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="WhiteSmoke" Text="{Binding ElementName=ProgressBar, Path=Value, Converter={StaticResource ResourceKey=PercentageConverter}, FallbackValue=error}" />
     142                                    <TextBlock FontSize="20" FontFamily="IrisUPC" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="WhiteSmoke" Text="%"/>
     143                                </StackPanel>
    144144                            </Grid>
    145145                            <DockPanel LastChildFill="True" Margin="5">
     
    239239                                            <Grid Name="ViewPanel" Width="Auto" Height="Auto" Visibility="Collapsed" Margin="5,5,5,5">
    240240                                                <Border x:Name="SettingsPanel" Panel.ZIndex="{Binding Path=ViewState, Converter={StaticResource ResourceKey=OverlapConverter}, ConverterParameter=SettingsPanel}" Visibility="{Binding Path=ViewState, Converter={StaticResource ResourceKey=ViewStateConverter}, ConverterParameter=SettingsPanel}"></Border>
    241                                                 <Border x:Name="PresentationPanel" Panel.ZIndex="{Binding Path=ViewState, Converter={StaticResource ResourceKey=OverlapConverter}, ConverterParameter=PresentationPanel}" Visibility="{Binding Path=ViewState, Converter={StaticResource ResourceKey=ViewStateConverter}, ConverterParameter=PresentationPanel}"></Border>
     241                                                <Border x:Name="PresentationPanel" Panel.ZIndex="{Binding Path=ViewState, Converter={StaticResource ResourceKey=OverlapConverter}, ConverterParameter=PresentationPanel}" Visibility="{Binding Path=ViewState, Converter={StaticResource ResourceKey=ViewStateConverter}, ConverterParameter=PresentationPanel}">
     242                                                   
     243                                                </Border>
    242244                                                <Border x:Name="LogPanel" Panel.ZIndex="{Binding Path=ViewState, Converter={StaticResource ResourceKey=OverlapConverter}, ConverterParameter=LogPanel}" Visibility="{Binding Path=ViewState, Converter={StaticResource ResourceKey=ViewStateConverter}, ConverterParameter=LogPanel}">
    243245                                                    <e:LogPresentation></e:LogPresentation>
Note: See TracChangeset for help on using the changeset viewer.