Changeset 2297


Ignore:
Timestamp:
Jan 7, 2011, 6:24:19 PM (11 years ago)
Author:
sauer
Message:

Wizard:

  • added images to the categories
Location:
trunk/CrypPlugins/Wizard
Files:
35 added
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Wizard/Config/Analysis/wizard.config.analysis.xml

    r2294 r2297  
    1212
    1313  <!-- Classic Encryption Category -->
    14   <category id ="ClassicEn" image="somepath">
     14  <category id ="ClassicEn" image="Classic">
    1515    <name lang="en" >Classic Encryption</name>
    1616    <description lang="en" >
     
    2121
    2222  <!-- Modern Encryption Category -->
    23   <category id ="ModernEn" image="somepath">
     23  <category id ="ModernEn" image="Modern">
    2424    <name lang="en" >Modern Encryption</name>
    2525    <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/Analysis/wizard.config.classicEn.xml

    r2294 r2297  
    1212
    1313  <!-- Caesar Item -->
    14   <item id ="CaesarEn" image="somepath">
     14  <item id ="CaesarEn" image="Caesar">
    1515    <name lang="en" >Caesar</name>
    1616    <description lang="en" >
     
    2020
    2121  <!-- Vigenère Item -->
    22   <item id ="VigenereEn" image="somepath">
     22  <item id ="VigenereEn" image="Vigenere">
    2323    <name lang="en" >Vigenère</name>
    2424    <description lang="en" >
     
    2828
    2929  <!-- Substitution Item -->
    30   <item id ="SubstitutionEn" image="somepath">
     30  <item id ="SubstitutionEn" image="Substitution">
    3131    <name lang="en" >Substitution</name>
    3232    <description lang="en" >
     
    3636
    3737  <!-- Enigma Item -->
    38   <item id ="EnigmaEn" image="somepath">
     38  <item id ="EnigmaEn" image="Enigma">
    3939    <name lang="en" >Enigma</name>
    4040    <description lang="en" >
     
    4444
    4545  <!-- Playfair Item -->
    46   <item id ="PlayfairEn" image="somepath">
     46  <item id ="PlayfairEn" image="Playfair">
    4747    <name lang="en" >Playfair</name>
    4848    <description lang="en" >
     
    5252
    5353  <!-- ADFGVX Item -->
    54   <item id ="ADFGVXEn" image="somepath">
     54  <item id ="ADFGVXEn" image="ADFGVX">
    5555    <name lang="en" >ADFGVX</name>
    5656    <description lang="en" >
     
    6060
    6161  <!-- XOR Item -->
    62   <item id ="XOREn" image="somepath">
     62  <item id ="XOREn" image="XOR">
    6363    <name lang="en" >XOR</name>
    6464    <description lang="en" >
     
    6868
    6969  <!-- Vernam Item -->
    70   <item id ="VernamEn" image="somepath">
     70  <item id ="VernamEn" image="Vernam">
    7171    <name lang="en" >Vernam</name>
    7272    <description lang="en" >
     
    7676
    7777  <!-- Transposition Item -->
    78   <item id ="TranspositionEn" image="somepath">
     78  <item id ="TranspositionEn" image="Transposition">
    7979    <name lang="en" >Transposition</name>
    8080    <description lang="en" >
     
    8484
    8585  <!-- Scytale Item -->
    86   <item id ="ScytaleEn" image="somepath">
     86  <item id ="ScytaleEn" image="Scytale">
    8787    <name lang="en" >Scytale</name>
    8888    <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/Analysis/wizard.config.modernEn.xml

    r2294 r2297  
    1212
    1313  <!-- Symmetric Encryption Category -->
    14   <category id ="SymAn" image="somepath">
     14  <category id ="SymAn" image="Sym">
    1515    <name lang="en" >Symmetric Encryption</name>
    1616    <description lang="en" >
     
    2121
    2222  <!-- Asymmetric Encryption Category -->
    23   <category id ="AsymAn" image="somepath">
     23  <category id ="AsymAn" image="Asym">
    2424    <name lang="en" >Asymmetric Encryption</name>
    2525    <description lang="en" >
     
    3434   
    3535    <!-- RSA Item -->
    36     <item id="RSAEn" image="imagepath" >
     36    <item id="RSAEn" image="RSA" >
    3737      <name lang="en" >RSA</name>
    3838      <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/Analysis/wizard.config.modernSymEn.xml

    r2294 r2297  
    1212
    1313  <!-- AES Item -->
    14   <item id="AESEn" image="imagepath" >
     14  <item id="AESEn" image="AES" >
    1515    <name lang="en" >AES</name>
    1616    <description lang="en" >
     
    2020
    2121  <!-- DES Item -->
    22   <item id="DESEn" image="imagepath" >
     22  <item id="DESEn" image="DES" >
    2323    <name lang="en" >DES</name>
    2424    <description lang="en" >
     
    2828
    2929  <!-- SDES Item -->
    30   <item id="SDESEn" image="imagepath" >
     30  <item id="SDESEn" image="SDES" >
    3131    <name lang="en" >SDES</name>
    3232    <description lang="en" >
     
    3636
    3737  <!-- Twofish Item -->
    38   <item id="TwoEn" image="imagepath" >
     38  <item id="TwoEn" image="Twofish" >
    3939    <name lang="en" >Twofish</name>
    4040    <description lang="en" >
     
    4444
    4545  <!-- Trivium Item -->
    46   <item id="TriEn" image="imagepath" >
     46  <item id="TriEn" image="Trivium" >
    4747    <name lang="en" >Trivium</name>
    4848    <description lang="en" >
     
    5252
    5353  <!-- TEA Item -->
    54   <item id="TEAEn" image="imagepath" >
     54  <item id="TEAEn" image="TEA" >
    5555    <name lang="en" >TEA</name>
    5656    <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/EnDeCrypt/wizard.config.classicEnDe.xml

    r2294 r2297  
    1212
    1313  <!-- Caesar Item -->
    14   <item id ="Caesar" image="somepath">
     14  <item id ="Caesar" image="Caesar">
    1515    <name lang="en" >Caesar</name>
    1616    <description lang="en" >
     
    2020
    2121  <!-- Vigenère Item -->
    22   <item id ="Vigenere" image="somepath">
     22  <item id ="Vigenere" image="Vigenere">
    2323    <name lang="en" >Vigenère</name>
    2424    <description lang="en" >
     
    2828
    2929  <!-- Substitution Item -->
    30   <item id ="Substitution" image="somepath">
     30  <item id ="Substitution" image="Substitution">
    3131    <name lang="en" >Substitution</name>
    3232    <description lang="en" >
     
    3636
    3737  <!-- Enigma Item -->
    38   <item id ="Enigma" image="somepath">
     38  <item id ="Enigma" image="Enigma">
    3939    <name lang="en" >Enigma</name>
    4040    <description lang="en" >
     
    4444
    4545  <!-- Playfair Item -->
    46   <item id ="Playfair" image="somepath">
     46  <item id ="Playfair" image="Playfair">
    4747    <name lang="en" >Playfair</name>
    4848    <description lang="en" >
     
    5252
    5353  <!-- ADFGVX Item -->
    54   <item id ="ADFGVX" image="somepath">
     54  <item id ="ADFGVX" image="ADFGVX">
    5555    <name lang="en" >ADFGVX</name>
    5656    <description lang="en" >
     
    6060
    6161  <!-- XOR Item -->
    62   <item id ="XOR" image="somepath">
     62  <item id ="XOR" image="XOR">
    6363    <name lang="en" >XOR</name>
    6464    <description lang="en" >
     
    6868
    6969  <!-- Vernam Item -->
    70   <item id ="Vernam" image="somepath">
     70  <item id ="Vernam" image="Vernam">
    7171    <name lang="en" >Vernam</name>
    7272    <description lang="en" >
     
    7676
    7777  <!-- Transposition Item -->
    78   <item id ="Transposition" image="somepath">
     78  <item id ="Transposition" image="Transposition">
    7979    <name lang="en" >Transposition</name>
    8080    <description lang="en" >
     
    8484
    8585  <!-- Scytale Item -->
    86   <item id ="Scytale" image="somepath">
     86  <item id ="Scytale" image="Scytale">
    8787    <name lang="en" >Scytale</name>
    8888    <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/EnDeCrypt/wizard.config.enDe.xml

    r2294 r2297  
    1212
    1313  <!-- Classic Encryption/Decryption Category -->
    14   <category id ="Classic" image="somepath">
     14  <category id ="Classic" image="Classic">
    1515    <name lang="en" >Classic Encryption/Decryption</name>
    1616    <description lang="en" >
     
    2121
    2222  <!-- Modern Encryption/Decryption Category -->
    23   <category id ="Modern" image="somepath">
     23  <category id ="Modern" image="Modern">
    2424    <name lang="en" >Modern Encryption/Decryption</name>
    2525    <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/EnDeCrypt/wizard.config.modernEnDe.xml

    r2294 r2297  
    1212
    1313  <!-- Symmetric Encryption/Decryption Category -->
    14   <category id ="Sym" image="somepath">
     14  <category id ="Sym" image="Sym">
    1515    <name lang="en" >Symmetric Encryption/Decryption</name>
    1616    <description lang="en" >
     
    2121
    2222  <!-- Asymmetric Encryption/Decryption Category -->
    23   <category id ="Asym" image="somepath">
     23  <category id ="Asym" image="Asym">
    2424    <name lang="en" >Asymmetric Encryption/Decryption</name>
    2525    <description lang="en" >
     
    3434   
    3535    <!-- RSA Item -->
    36     <item id="RSA" image="imagepath" >
     36    <item id="RSA" image="RSA" >
    3737      <name lang="en" >RSA</name>
    3838      <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/EnDeCrypt/wizard.config.modernSymEnDe.xml

    r2294 r2297  
    1212
    1313  <!-- AES Item -->
    14   <item id="AESEnDe" image="imagepath" >
     14  <item id="AESEnDe" image="AES" >
    1515    <name lang="en" >AES</name>
    1616    <description lang="en" >
     
    2020
    2121  <!-- DES Item -->
    22   <item id="DESEnDe" image="imagepath" >
     22  <item id="DESEnDe" image="DES" >
    2323    <name lang="en" >DES</name>
    2424    <description lang="en" >
     
    2828
    2929  <!-- SDES Item -->
    30   <item id="SDESEnDe" image="imagepath" >
     30  <item id="SDESEnDe" image="SDES" >
    3131    <name lang="en" >SDES</name>
    3232    <description lang="en" >
     
    3636
    3737  <!-- Twofish Item -->
    38   <item id="Two" image="imagepath" >
     38  <item id="Two" image="Twofish" >
    3939    <name lang="en" >Twofish</name>
    4040    <description lang="en" >
     
    4444
    4545  <!-- Trivium Item -->
    46   <item id="Tri" image="imagepath" >
     46  <item id="Tri" image="Trivium" >
    4747    <name lang="en" >Trivium</name>
    4848    <description lang="en" >
     
    5252
    5353  <!-- TEA Item -->
    54   <item id="TEA" image="imagepath" >
     54  <item id="TEA" image="TEA" >
    5555    <name lang="en" >TEA</name>
    5656    <description lang="en" >
     
    5959  </item>
    6060
     61  <!-- RC2 Item -->
     62  <item id="RC2" image="RC2" >
     63    <name lang="en" >RC2</name>
     64    <description lang="en" >
     65      RC2 is a symmetric modern algorithm to encrypt plaintext or to decrypt ciphertext... (add instead some really helpful text).
     66    </description>
     67  </item>
     68
    6169</step>
  • trunk/CrypPlugins/Wizard/Config/Indiv/wizard.config.hash.xml

    r2294 r2297  
    1212
    1313  <!-- MD5 Item -->
    14   <item id="MD5" image="imagepath" >
     14  <item id="MD5" image="MD5" >
    1515    <name lang="en" >MD5</name>
    1616    <description lang="en" >
     
    2020
    2121  <!-- SHA Item -->
    22   <item id="SHA" image="imagepath" >
     22  <item id="SHA" image="SHA" >
    2323    <name lang="en" >SHA</name>
    2424    <description lang="en" >
     
    2828
    2929  <!-- RIPEMD160 Item -->
    30   <item id="RIPEMD160" image="imagepath" >
     30  <item id="RIPEMD160" image="RIPEMD160" >
    3131    <name lang="en" >RIPEMD160</name>
    3232    <description lang="en" >
     
    3636
    3737  <!-- Tiger Item -->
    38   <item id="Tiger" image="imagepath" >
     38  <item id="Tiger" image="Tiger" >
    3939    <name lang="en" >Tiger</name>
    4040    <description lang="en" >
     
    4444
    4545  <!-- Whirlpool Item -->
    46   <item id="Whirlpool" image="imagepath" >
     46  <item id="Whirlpool" image="Whirlpool" >
    4747    <name lang="en" >Whirlpool</name>
    4848    <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/Indiv/wizard.config.indiv.xml

    r2294 r2297  
    1212
    1313  <!-- Hash Functions Category -->
    14   <category id ="Hash" image="somepath">
     14  <category id ="Hash" image="Hash">
    1515    <name lang="en" >Hash Functions</name>
    1616    <description lang="en" >
     
    2121
    2222  <!-- Prime Number Operations Category -->
    23   <category id ="Prime" image="somepath">
     23  <category id ="Prime" image="Primes">
    2424    <name lang="en" >Prime Number Operations</name>
    2525    <description lang="en" >
     
    3030
    3131  <!-- Key Exchange Category -->
    32   <category id ="Key" image="somepath">
     32  <category id ="Key" image="Key">
    3333    <name lang="en" >Key Exchange</name>
    3434    <description lang="en" >
     
    4343
    4444    <!-- Diffie Hellman Item -->
    45     <item id="Diffie" image="imagepath" >
     45    <item id="Diffie" image="Key" >
    4646      <name lang="en" >Diffie Hellman</name>
    4747      <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/Indiv/wizard.config.prime.xml

    r2294 r2297  
    1212
    1313  <!-- Factorization Item -->
    14   <item id="Factorization" image="imagepath" >
     14  <item id="Factorization" image="Primes" >
    1515    <name lang="en" >Prime Number Factorization</name>
    1616    <description lang="en" >
     
    2020
    2121  <!-- Generation Item -->
    22   <item id="Generation" image="imagepath" >
     22  <item id="Generation" image="Primes" >
    2323    <name lang="en" >Prime Number Generation</name>
    2424    <description lang="en" >
     
    2828
    2929  <!-- Test Item -->
    30   <item id="Test" image="imagepath" >
     30  <item id="Test" image="Primes" >
    3131    <name lang="en" >Prime Number Test</name>
    3232    <description lang="en" >
  • trunk/CrypPlugins/Wizard/Config/wizard.config.start.xml

    r2291 r2297  
    1212 
    1313  <!-- Encryption/Decryption Category -->
    14   <category id ="EnDeCrypt" image="somepath">
     14  <category id ="EnDeCrypt" image="EnDeCrypt">
    1515    <name lang="en" >Encryption/Decryption</name>
    1616    <description lang="en" >
     
    2121
    2222  <!-- Cryptanalysis Category -->
    23   <category id ="Analysis" image="somepath">
     23  <category id ="Analysis" image="Analyse">
    2424    <name lang="en" >Cryptanalysis</name>
    2525    <description lang="en" >
     
    3030
    3131  <!-- Individual Procedures Category -->
    32   <category id ="Indiv" image="somepath">
     32  <category id ="Indiv" image="Indiv">
    3333    <name lang="en" >Individual Procedures</name>
    3434    <description lang="en" >
  • trunk/CrypPlugins/Wizard/Wizard.csproj

    r2294 r2297  
    178178  </ItemGroup>
    179179  <ItemGroup>
    180     <EmbeddedResource Include="Config\Analysis\wizard.config.analysis.xml" />
     180    <EmbeddedResource Include="Config\Analysis\wizard.config.analysis.xml">
     181      <SubType>Designer</SubType>
     182    </EmbeddedResource>
    181183    <EmbeddedResource Include="Config\Analysis\wizard.config.modernEn.xml" />
    182184    <EmbeddedResource Include="Config\EnDeCrypt\wizard.config.enDe.xml">
     
    204206  <ItemGroup>
    205207    <EmbeddedResource Include="Config\Indiv\wizard.config.prime.xml" />
     208  </ItemGroup>
     209  <ItemGroup>
     210    <Resource Include="Images\Calc.png" />
     211    <Resource Include="Images\EnDeCrypt.png" />
     212    <Resource Include="Images\Indiv.png" />
     213    <Resource Include="Images\Key.png" />
     214  </ItemGroup>
     215  <ItemGroup>
     216    <Resource Include="Images\Analyse.png" />
     217    <Resource Include="Images\Classic.png" />
     218    <Resource Include="Images\Hash.png" />
     219    <Resource Include="Images\Modern.png" />
     220  </ItemGroup>
     221  <ItemGroup>
     222    <Resource Include="Images\ADFGVX.png" />
     223    <Resource Include="Images\AES.png" />
     224    <Resource Include="Images\Caesar.png" />
     225    <Resource Include="Images\DES.png" />
     226    <Resource Include="Images\Enigma.png" />
     227    <Resource Include="Images\MD5.png" />
     228    <Resource Include="Images\Playfair.png" />
     229    <Resource Include="Images\Primes.png" />
     230    <Resource Include="Images\RIPEMD160.png" />
     231    <Resource Include="Images\RSA.png" />
     232    <Resource Include="Images\Scytale.png" />
     233    <Resource Include="Images\SDES.png" />
     234    <Resource Include="Images\SHA.png" />
     235    <Resource Include="Images\Substitution.png" />
     236    <Resource Include="Images\TEA.png" />
     237    <Resource Include="Images\Tiger.png" />
     238    <Resource Include="Images\Transposition.png" />
     239    <Resource Include="Images\Trivium.png" />
     240    <Resource Include="Images\Twofish.png" />
     241    <Resource Include="Images\Vernam.png" />
     242    <Resource Include="Images\Vigenere.png" />
     243    <Resource Include="Images\Whirlpool.png" />
     244    <Resource Include="Images\XOR.png" />
     245  </ItemGroup>
     246  <ItemGroup>
     247    <Resource Include="Images\RC2.png" />
     248  </ItemGroup>
     249  <ItemGroup>
     250    <Resource Include="Images\Asym.png" />
     251    <Resource Include="Images\Sym.png" />
    206252  </ItemGroup>
    207253  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  • trunk/CrypPlugins/Wizard/WizardControl.xaml

    r2294 r2297  
    66             mc:Ignorable="d"
    77             d:DesignHeight="300" d:DesignWidth="600">
     8    <UserControl.Resources>
     9        <BitmapImage x:Key="Analyse" UriSource="Images/Analyse.png"/>
     10        <BitmapImage x:Key="Classic" UriSource="Images/Classic.png"/>
     11        <BitmapImage x:Key="Modern" UriSource="Images/Modern.png"/>
     12        <BitmapImage x:Key="Indiv" UriSource="Images/Indiv.png"/>
     13        <BitmapImage x:Key="Calc" UriSource="Images/Calc.png"/>
     14        <BitmapImage x:Key="EnDeCrypt" UriSource="Images/EnDeCrypt.png"/>
     15        <BitmapImage x:Key="Key" UriSource="Images/Key.png"/>
     16        <BitmapImage x:Key="Hash" UriSource="Images/Hash.png"/>
     17        <BitmapImage x:Key="ADFGVX" UriSource="Images/ADFGVX.png"/>
     18        <BitmapImage x:Key="AES" UriSource="Images/AES.png"/>
     19        <BitmapImage x:Key="DES" UriSource="Images/DES.png"/>
     20        <BitmapImage x:Key="Enigma" UriSource="Images/Enigma.png"/>
     21        <BitmapImage x:Key="MD5" UriSource="Images/MD5.png"/>
     22        <BitmapImage x:Key="Playfair" UriSource="Images/Playfair.png"/>
     23        <BitmapImage x:Key="Primes" UriSource="Images/Primes.png"/>
     24        <BitmapImage x:Key="RIPEMD160" UriSource="Images/RIPEMD160.png"/>
     25        <BitmapImage x:Key="RSA" UriSource="Images/RSA.png"/>
     26        <BitmapImage x:Key="Scytale" UriSource="Images/Scytale.png"/>
     27        <BitmapImage x:Key="SDES" UriSource="Images/SDES.png"/>
     28        <BitmapImage x:Key="SHA" UriSource="Images/SHA.png"/>
     29        <BitmapImage x:Key="Substitution" UriSource="Images/Substitution.png"/>
     30        <BitmapImage x:Key="TEA" UriSource="Images/TEA.png"/>
     31        <BitmapImage x:Key="Tiger" UriSource="Images/Tiger.png"/>
     32        <BitmapImage x:Key="Transposition" UriSource="Images/Transposition.png"/>
     33        <BitmapImage x:Key="Trivium" UriSource="Images/Trivium.png"/>
     34        <BitmapImage x:Key="Twofish" UriSource="Images/Twofish.png"/>
     35        <BitmapImage x:Key="Vernam" UriSource="Images/Vernam.png"/>
     36        <BitmapImage x:Key="Vigenere" UriSource="Images/Vigenere.png"/>
     37        <BitmapImage x:Key="Whirlpool" UriSource="Images/Whirlpool.png"/>
     38        <BitmapImage x:Key="XOR" UriSource="Images/XOR.png"/>
     39        <BitmapImage x:Key="RC2" UriSource="Images/RC2.png"/>
     40        <BitmapImage x:Key="Caesar" UriSource="Images/Caesar.png"/>
     41        <BitmapImage x:Key="Sym" UriSource="Images/Sym.png"/>
     42        <BitmapImage x:Key="Asym" UriSource="Images/Asym.png"/>
     43    </UserControl.Resources>
    844    <Grid>
    945        <Grid.RowDefinitions>
  • trunk/CrypPlugins/Wizard/WizardControl.xaml.cs

    r2294 r2297  
    1717using System.Windows.Threading;
    1818using System.Threading;
     19using System.Collections;
    1920
    2021namespace Wizard
     
    134135                {
    135136                    Label l = new Label();
     137                    Image i = new Image();
     138                    StackPanel sp = new StackPanel();
     139
    136140                    l.Height = 30;
    137141                    XElement label = FindElementInElement(ele, "name");
     
    139143                        l.Content = label.Value;
    140144
    141                     //Image i = new Image(); TODO
    142 
    143                     StackPanel sp = new StackPanel();
     145                    i.Width = 26;
     146                    string image = (string)ele.Attribute("image");
     147                    if (image != null)
     148                    {
     149                        ImageSource ims = (ImageSource)TryFindResource(image);
     150                        if (ims != null)
     151                        {
     152                            i.Source = ims;
     153                            sp.Children.Add(i);
     154                        }
     155                    }
     156
    144157                    sp.VerticalAlignment = VerticalAlignment.Stretch;
    145158                    sp.HorizontalAlignment = HorizontalAlignment.Stretch;
    146159                    sp.Orientation = Orientation.Horizontal;
    147                     //add image
    148160                    sp.Children.Add(l);
    149161
Note: See TracChangeset for help on using the changeset viewer.