Fixed compile errors

pull/2/head
Nathan Crawford 2012-09-30 01:26:32 +00:00
rodzic a10c80ed33
commit 09cc4aaa68
5 zmienionych plików z 73 dodań i 76 usunięć

Wyświetl plik

@ -50,72 +50,74 @@ namespace PesFile
public class PesColors
{
public static int[][] colorMap = new int[65][];
colorValues[1] = new int[] {14, 31, 124};
colorValues[2] = new int[] {10, 85, 163};
colorValues[3] = new int[] {48, 135, 119};
colorValues[4] = new int[] {75, 107, 175};
colorValues[5] = new int[] {237, 23, 31};
colorValues[6] = new int[] {209, 92, 0};
colorValues[7] = new int[] {145, 54, 151};
colorValues[8] = new int[] {228, 154, 203};
colorValues[9] = new int[] {145, 95, 172};
colorValues[10] = new int[] {157, 214, 125};
colorValues[11] = new int[] {232, 169, 0};
colorValues[12] = new int[] {254, 186, 53};
colorValues[13] = new int[] {255, 255, 0};
colorValues[14] = new int[] {112, 188, 31};
colorValues[15] = new int[] {186, 152, 0};
colorValues[16] = new int[] {168, 168, 168};
colorValues[17] = new int[] {123, 111, 0};
colorValues[18] = new int[] {255, 255, 179};
colorValues[19] = new int[] {79, 85, 86};
colorValues[20] = new int[] {0, 0, 0};
colorValues[21] = new int[] {11, 61, 145};
colorValues[22] = new int[] {119, 1, 118};
colorValues[23] = new int[] {41, 49, 51};
colorValues[24] = new int[] {42, 19, 1};
colorValues[25] = new int[] {246, 74, 138};
colorValues[26] = new int[] {178, 118, 36};
colorValues[27] = new int[] {252, 187, 196};
colorValues[28] = new int[] {254, 55, 15};
colorValues[29] = new int[] {240, 240, 240};
colorValues[30] = new int[] {106, 28, 138};
colorValues[31] = new int[] {168, 221, 196};
colorValues[32] = new int[] {37, 132, 187};
colorValues[33] = new int[] {254, 179, 67};
colorValues[34] = new int[] {255, 240, 141};
colorValues[35] = new int[] {208, 166, 96};
colorValues[36] = new int[] {209, 84, 0};
colorValues[37] = new int[] {102, 186, 73};
colorValues[38] = new int[] {19, 74, 70};
colorValues[39] = new int[] {135, 135, 135};
colorValues[40] = new int[] {216, 202, 198};
colorValues[41] = new int[] {67, 86, 7};
colorValues[42] = new int[] {254, 227, 197};
colorValues[43] = new int[] {249, 147, 188};
colorValues[44] = new int[] {0, 56, 34};
colorValues[45] = new int[] {178, 175, 212};
colorValues[46] = new int[] {104, 106, 176};
colorValues[47] = new int[] {239, 227, 185};
colorValues[48] = new int[] {247, 56, 102};
colorValues[49] = new int[] {181, 76, 100};
colorValues[50] = new int[] {19, 43, 26};
colorValues[51] = new int[] {199, 1, 85};
colorValues[52] = new int[] {254, 158, 50};
colorValues[53] = new int[] {168, 222, 235};
colorValues[54] = new int[] {0, 103, 26};
colorValues[55] = new int[] {78, 41, 144};
colorValues[56] = new int[] {47, 126, 32};
colorValues[57] = new int[] {253, 217, 222};
colorValues[58] = new int[] {255, 217, 17};
colorValues[59] = new int[] {9, 91, 166};
colorValues[60] = new int[] {240, 249, 112};
colorValues[61] = new int[] {227, 243, 91};
colorValues[62] = new int[] {255, 200, 100};
colorValues[63] = new int[] {255, 200, 150};
colorValues[64] = new int[] {255, 200, 200};
public static int[,] colorMap = new int[,] {
//red grn blu
{ 0, 0, 0}, // 0 Not used
{ 14, 31, 124}, // 1
{ 10, 85, 163}, // 2
{ 48, 135, 119}, // 3
{ 75, 107, 175}, // 4
{237, 23, 31}, // 5
{209, 92, 0}, // 6
{145, 54, 151}, // 7
{228, 154, 203}, // 8
{145, 95, 172}, // 9
{157, 214, 125}, // 10
{232, 169, 0}, // 11
{254, 186, 53}, // 12
{255, 255, 0}, // 13
{112, 188, 31}, // 14
{186, 152, 0}, // 15
{168, 168, 168}, // 16
{123, 111, 0}, // 17
{255, 255, 179}, // 18
{ 79, 85, 86}, // 19
{ 0, 0, 0}, // 20
{ 11, 61, 145}, // 21
{119, 1, 118}, // 22
{ 41, 49, 51}, // 23
{ 42, 19, 1}, // 24
{246, 74, 138}, // 25
{178, 118, 36}, // 26
{252, 187, 196}, // 27
{254, 55, 15}, // 28
{240, 240, 240}, // 29
{106, 28, 138}, // 30
{168, 221, 196}, // 31
{ 37, 132, 187}, // 32
{254, 179, 67}, // 33
{255, 240, 141}, // 34
{208, 166, 96}, // 35
{209, 84, 0}, // 36
{102, 186, 73}, // 37
{ 19, 74, 70}, // 38
{135, 135, 135}, // 39
{216, 202, 198}, // 40
{ 67, 86, 7}, // 41
{254, 227, 197}, // 42
{249, 147, 188}, // 43
{ 0, 56, 34}, // 44
{178, 175, 212}, // 45
{104, 106, 176}, // 46
{239, 227, 185}, // 47
{247, 56, 102}, // 48
{181, 76, 100}, // 49
{ 19, 43, 26}, // 50
{199, 1, 85}, // 51
{254, 158, 50}, // 52
{168, 222, 235}, // 53
{ 0, 103, 26}, // 54
{ 78, 41, 144}, // 55
{ 47, 126, 32}, // 56
{253, 217, 222}, // 57
{255, 217, 17}, // 58
{ 9, 91, 166}, // 59
{240, 249, 112}, // 60
{227, 243, 91}, // 61
{255, 200, 100}, // 62
{255, 200, 150}, // 63
{255, 200, 200} // 64
};
}
public class PesFile
@ -632,9 +634,9 @@ namespace PesFile
if(index >= 1 && index <= 64)
{
return Color.FromArgb(
PesColors.colorMap[index][0],
PesColors.colorMap[index][1],
PesColors.colorMap[index][2]
PesColors.colorMap[index,0],
PesColors.colorMap[index,1],
PesColors.colorMap[index,2]
);
}
else

Wyświetl plik

@ -55,5 +55,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.1.0.7")]
[assembly: AssemblyFileVersion("1.1.0.7")]
[assembly: AssemblyVersion("1.1.0.8")]
[assembly: AssemblyFileVersion("1.1.0.8")]

Wyświetl plik

@ -66,9 +66,6 @@
<Name>PesFile</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>

Wyświetl plik

@ -112,7 +112,6 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings-2010.Designer.cs</LastGenOutput>

Wyświetl plik

@ -81,7 +81,6 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings-2010.Designer.cs</LastGenOutput>