Skip to content
Permalink
Browse files

Mac: Added new icons for buttons.

Related to issue #381.
  • Loading branch information...
ycastonguay committed Aug 18, 2013
1 parent 5a57ac9 commit 173cbd2f7c2ec998bc755fa5729a2b6fc15020fe
@@ -114,11 +114,17 @@ static ImageResources()
};

Icons = new List<NSImage>() {
NSImage.ImageNamed("icon_button_add"),
NSImage.ImageNamed("icon_button_cancel"),
NSImage.ImageNamed("icon_button_connect"),
NSImage.ImageNamed("icon_button_delete"),
NSImage.ImageNamed("icon_button_download"),
NSImage.ImageNamed("icon_button_refresh"),
NSImage.ImageNamed("icon_button_reset"),
NSImage.ImageNamed("icon_button_save"),
NSImage.ImageNamed("icon_button_speaker"),
NSImage.ImageNamed("icon_android"),
NSImage.ImageNamed("icon_artists"),
NSImage.ImageNamed("icon_linux"),
NSImage.ImageNamed("icon_osx"),
NSImage.ImageNamed("icon_phone"),
@@ -438,5 +438,17 @@
<BundleResource Include="Resources\icon_android%402x.png" />
<BundleResource Include="Resources\icon_song.png" />
<BundleResource Include="Resources\icon_song%402x.png" />
<BundleResource Include="Resources\icon_artists.png" />
<BundleResource Include="Resources\icon_artists%402x.png" />
<BundleResource Include="Resources\icon_button_add.png" />
<BundleResource Include="Resources\icon_button_add%402x.png" />
<BundleResource Include="Resources\icon_button_delete.png" />
<BundleResource Include="Resources\icon_button_delete%402x.png" />
<BundleResource Include="Resources\icon_button_save.png" />
<BundleResource Include="Resources\icon_button_save%402x.png" />
<BundleResource Include="Resources\icon_button_reset%402x.png" />
<BundleResource Include="Resources\icon_button_reset.png" />
<BundleResource Include="Resources\icon_button_speaker.png" />
<BundleResource Include="Resources\icon_button_speaker%402x.png" />
</ItemGroup>
</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -84,11 +84,11 @@ private void LoadFontsAndImages()
lblScaleMinus6.Font = NSFont.FromFontName("Junction", 11f);
txtName.Font = NSFont.FromFontName("Junction", 11f);

btnNewPreset.Image = ImageResources.images16x16.FirstOrDefault(x => x.Name == "16_fam_exclamation");
btnAutoLevel.Image = ImageResources.images16x16.FirstOrDefault(x => x.Name == "16_fam_shape_align_middle");
btnDelete.Image = ImageResources.images16x16.FirstOrDefault(x => x.Name == "16_fam_delete");
btnSave.Image = ImageResources.images16x16.FirstOrDefault(x => x.Name == "16_fam_tick");
btnReset.Image = ImageResources.images16x16.FirstOrDefault(x => x.Name == "16_fam_exclamation");
btnNewPreset.Image = ImageResources.Icons.FirstOrDefault(x => x.Name == "icon_button_add");
btnAutoLevel.Image = ImageResources.Icons.FirstOrDefault(x => x.Name == "icon_button_reset");
btnDelete.Image = ImageResources.Icons.FirstOrDefault(x => x.Name == "icon_button_delete");
btnSave.Image = ImageResources.Icons.FirstOrDefault(x => x.Name == "icon_button_save");
btnReset.Image = ImageResources.Icons.FirstOrDefault(x => x.Name == "icon_button_reset");

SetTheme();
}

0 comments on commit 173cbd2

Please sign in to comment.
You can’t perform that action at this time.