Changeset 2387


Ignore:
Timestamp:
Jan 19, 2011, 12:51:28 PM (10 years ago)
Author:
kopal
Message:

added nice gradient to p2peditor

Location:
trunk/CrypPlugins/P2PEditor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/P2PEditor/Converters/ForegroundColorConverter.cs

    r2376 r2387  
    2020            {
    2121                SolidColorBrush brush = new SolidColorBrush();
    22                 brush.Color = Color.FromArgb(255, 200, 200, 200);
     22                brush.Color = Color.FromArgb(255, 200, 200, 255);
    2323                return brush;
    2424            }
  • trunk/CrypPlugins/P2PEditor/GUI/P2PEditorPresentation.xaml

    r2372 r2387  
    33        <Converters:ConnectivityToVisibilityConverter x:Key="ConnectivityToVisibilityConverter" />
    44        </GUI:P2PUserControl.Resources>
    5         <Grid Background="White">
     5        <Grid>
     6        <Grid.Background>
     7            <RadialGradientBrush RadiusX="1.1" RadiusY="2.8" Center="0.524,1.2" GradientOrigin="0.524,1.2">
     8                <GradientStop Color="#add3f5" Offset="0.0" />
     9                <GradientStop Color="#293955" Offset="1" />
     10            </RadialGradientBrush>
     11        </Grid.Background>
    612                    <controls:JobDisplay x:Name="JobDisplay" Jobs="{Binding Jobs, ElementName=P2PEditorControl}" Visibility="Hidden"/>
    713            <controls:JobCreation x:Name="JobCreation" Visibility="Hidden"/>
Note: See TracChangeset for help on using the changeset viewer.