Ignore:
Timestamp:
Sep 2, 2010, 10:06:52 AM (11 years ago)
Author:
matkovic
Message:

-Fullscreen enhanced
-TextInput added
-Picture scaling added
-Textinput scaling added
-Textinput format command added
-Several style changes
-Progressbar redesigned
-Last log message now appearing
-IControlContainer commenced
-Several icons added
-Plugin state now stored and loaded
-Plugin height and width now storing and loading
-Several misc changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/VisualComponents/ImageWrapper.xaml

    r1837 r1892  
    33             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    44             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    5              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     5             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     6             xmlns:e="clr-namespace:WorkspaceManager.View.VisualComponents"
     7             xmlns:z="clr-namespace:WorkspaceManager.View.Converter"
    68             mc:Ignorable="d"
    7              d:DesignHeight="300" d:DesignWidth="300">
    8     <Grid x:Name="root">
    9            
     9             d:DesignHeight="300" d:DesignWidth="300" MinHeight="50" MinWidth="50">
     10    <UserControl.Resources>
     11        <ResourceDictionary>
     12            <ResourceDictionary.MergedDictionaries>
     13                <ResourceDictionary Source="../Resource/Styles.xaml"/>
     14                <ResourceDictionary Source="../Resource/Animations.xaml"/>
     15            </ResourceDictionary.MergedDictionaries>
     16            <z:SelectedContentVisibilityConverter x:Key="SContentVisibilityConverter"></z:SelectedContentVisibilityConverter>
     17            <z:SelectedContentBrushConverter x:Key="SelectedContentBrushConverter"></z:SelectedContentBrushConverter>
     18            <z:ContextMenuFixUnfixConverter x:Key="ContextMenuFixUnfixConverter"></z:ContextMenuFixUnfixConverter>
     19        </ResourceDictionary>
     20    </UserControl.Resources>
     21    <UserControl.ContextMenu>
     22        <ContextMenu x:Name="ContextMenu">
     23            <MenuItem x:Name="DeleteMenuItem" Header="Delete" Click="MenuItem_Click"></MenuItem>
     24            <MenuItem x:Name="FixUnfixMenuItem" Click="MenuItem_Click_1"></MenuItem>
     25        </ContextMenu>
     26    </UserControl.ContextMenu>
     27    <Grid>
     28        <Grid x:Name="ParentPanel" Panel.ZIndex="201" IsEnabledChanged="IsEnabledChanged">
     29            <Grid x:Name="root" Margin="10">
     30                <Thumb x:Name="OverLayingControl" Opacity="0.01" DragDelta="OverLayingControl_DragDelta_Move" Panel.ZIndex="100" IsEnabled="{Binding Path=IsSelected}"></Thumb>
     31            </Grid>
     32            <Border x:Name="Border" Margin="4.5" BorderBrush="WhiteSmoke" BorderThickness="{Binding Path=IsSelected, Converter={StaticResource ResourceKey=SelectedContentBrushConverter}, FallbackValue=1}"></Border>
     33            <Thumb Margin="15" Panel.ZIndex="200" Style="{StaticResource ResourceKey=ImageWrapperThumbStyle}" Name="BottomRightDelta" Opacity="1" Visibility="{Binding Path=IsSelected, Converter={StaticResource ResourceKey=SContentVisibilityConverter}, FallbackValue=Visible}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Cursor="SizeNWSE" DragDelta="Thumb_DragDelta">
     34                <Thumb.Background>
     35                    <SolidColorBrush Opacity="0.01" Color="Black"></SolidColorBrush>
     36                </Thumb.Background>
     37            </Thumb>
     38        </Grid>
    1039    </Grid>
    1140</UserControl>
Note: See TracChangeset for help on using the changeset viewer.