WIP: test icons

This commit is contained in:
Ray 2020-03-31 20:53:50 +01:00
parent 42dca92454
commit c426c207e9
6 changed files with 135 additions and 57 deletions

View File

@ -57,6 +57,11 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Windows\Forms\AForm.cs">
<SubType>Form</SubType>
</Compile>
@ -87,13 +92,7 @@
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Windows\Forms\HeadingPanel.resx">
<DependentUpon>HeadingPanel.cs</DependentUpon>
</EmbeddedResource>
@ -131,5 +130,8 @@
<ItemGroup>
<None Include="Resources\mail-ea-32.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\folder-ea-32.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

102
MainForm.Designer.cs generated
View File

@ -36,7 +36,6 @@
this.panel5 = new System.Windows.Forms.Panel();
this.titlePanel1 = new AppLauncher.Windows.Forms.TitlePanel();
this.headingPanel1 = new AppLauncher.Windows.Forms.HeadingPanel();
this.panel4 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.panel7 = new System.Windows.Forms.Panel();
this.panel8 = new System.Windows.Forms.Panel();
@ -47,12 +46,13 @@
this.panel13 = new System.Windows.Forms.Panel();
this.panel14 = new System.Windows.Forms.Panel();
this.panel15 = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel();
this.button2 = new System.Windows.Forms.Button();
this.panel16 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.tilePanel1 = new AppLauncher.Windows.Forms.TilePanel();
this.tilePanel2 = new AppLauncher.Windows.Forms.TilePanel();
this.tilePanel1 = new AppLauncher.Windows.Forms.TilePanel();
this.panel16 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel();
this.flowLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
@ -135,17 +135,6 @@
this.headingPanel1.TabIndex = 9;
this.headingPanel1.TitleText = "Featured";
//
// panel4
//
this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
this.panel4.BackgroundImage = global::AppLauncher.Properties.Resources.mail_ea_32;
this.panel4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel4.Location = new System.Drawing.Point(87, 90);
this.panel4.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(70, 70);
this.panel4.TabIndex = 10;
//
// panel6
//
this.panel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
@ -246,17 +235,6 @@
this.panel15.Size = new System.Drawing.Size(70, 70);
this.panel15.TabIndex = 17;
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
this.panel1.BackgroundImage = global::AppLauncher.Properties.Resources.chrome_ea_32;
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel1.Location = new System.Drawing.Point(14, 90);
this.panel1.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(70, 70);
this.panel1.TabIndex = 3;
//
// button2
//
this.button2.Location = new System.Drawing.Point(160, 340);
@ -267,17 +245,6 @@
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// panel16
//
this.panel16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
this.panel16.BackgroundImage = global::AppLauncher.Properties.Resources.mail_ea_32;
this.panel16.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel16.Location = new System.Drawing.Point(365, 120);
this.panel16.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
this.panel16.Name = "panel16";
this.panel16.Size = new System.Drawing.Size(70, 70);
this.panel16.TabIndex = 22;
//
// label1
//
this.label1.AutoEllipsis = true;
@ -290,6 +257,22 @@
this.label1.Text = "OpenOffice OpenOffice";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tilePanel2
//
this.tilePanel2.AutoScrollMargin = new System.Drawing.Size(0, 0);
this.tilePanel2.AutoScrollMinSize = new System.Drawing.Size(0, 0);
this.tilePanel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
this.tilePanel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234)))));
this.tilePanel2.IconImage = global::AppLauncher.Properties.Resources.folder_ea_32;
this.tilePanel2.Location = new System.Drawing.Point(394, 236);
this.tilePanel2.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
this.tilePanel2.MaximumSize = new System.Drawing.Size(70, 70);
this.tilePanel2.MinimumSize = new System.Drawing.Size(70, 70);
this.tilePanel2.Name = "tilePanel2";
this.tilePanel2.Size = new System.Drawing.Size(70, 70);
this.tilePanel2.TabIndex = 25;
this.tilePanel2.TitleText = "Accessories";
//
// tilePanel1
//
this.tilePanel1.AutoScrollMargin = new System.Drawing.Size(0, 0);
@ -306,21 +289,38 @@
this.tilePanel1.TabIndex = 24;
this.tilePanel1.TitleText = "Mail";
//
// tilePanel2
// panel16
//
this.tilePanel2.AutoScrollMargin = new System.Drawing.Size(0, 0);
this.tilePanel2.AutoScrollMinSize = new System.Drawing.Size(0, 0);
this.tilePanel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
this.tilePanel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234)))));
this.tilePanel2.IconImage = global::AppLauncher.Properties.Resources.mail_ea_32;
this.tilePanel2.Location = new System.Drawing.Point(394, 236);
this.tilePanel2.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
this.tilePanel2.MaximumSize = new System.Drawing.Size(70, 70);
this.tilePanel2.MinimumSize = new System.Drawing.Size(70, 70);
this.tilePanel2.Name = "tilePanel2";
this.tilePanel2.Size = new System.Drawing.Size(70, 70);
this.tilePanel2.TabIndex = 25;
this.tilePanel2.TitleText = "Mail";
this.panel16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
this.panel16.BackgroundImage = global::AppLauncher.Properties.Resources.mail_ea_32;
this.panel16.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel16.Location = new System.Drawing.Point(365, 120);
this.panel16.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
this.panel16.Name = "panel16";
this.panel16.Size = new System.Drawing.Size(70, 70);
this.panel16.TabIndex = 22;
//
// panel4
//
this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
this.panel4.BackgroundImage = global::AppLauncher.Properties.Resources.mail_ea_32;
this.panel4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel4.Location = new System.Drawing.Point(87, 90);
this.panel4.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(70, 70);
this.panel4.TabIndex = 10;
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
this.panel1.BackgroundImage = global::AppLauncher.Properties.Resources.chrome_ea_32;
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.panel1.Location = new System.Drawing.Point(14, 90);
this.panel1.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(70, 70);
this.panel1.TabIndex = 3;
//
// MainForm
//

View File

@ -80,6 +80,16 @@ namespace AppLauncher.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap folder_ea_32 {
get {
object obj = ResourceManager.GetObject("folder_ea_32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View File

@ -124,6 +124,9 @@
<data name="chrome_ea_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\chrome-ea-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="folder_ea_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\folder-ea-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="grid_ea_24" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\grid-ea-24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>

BIN
Resources/folder-ea-32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

63
Resources/raw/folder.svg Normal file
View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="feather feather-folder"
version="1.1"
id="svg4530"
sodipodi:docname="folder.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata
id="metadata4536">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs4534" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview4532"
showgrid="false"
inkscape:zoom="35.333333"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="1072"
inkscape:window-y="843"
inkscape:window-maximized="1"
inkscape:current-layer="svg4530" />
<path
d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"
id="path4528"
style="stroke:#eaeaea;stroke-opacity:1"
inkscape:export-filename="L:\gitlab-hiimray\linear-app-launcher\Resources\folder-ea-32.png"
inkscape:export-xdpi="122.18182"
inkscape:export-ydpi="122.18182" />
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB