Skip to content

Commit

Permalink
Add project icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mqudsi committed Mar 11, 2020
1 parent c3ded06 commit 88f84a3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
Binary file added paste.ico
Binary file not shown.
Binary file added paste.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions paste/Resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ BEGIN
END
END


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "D:\\GIT\\paste\\Paste.ico"

#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////

Expand Down
3 changes: 3 additions & 0 deletions paste/paste.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@
<ItemGroup>
<ResourceCompile Include="Resource.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="..\Paste.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
4 changes: 3 additions & 1 deletion paste/resource.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Resource.rc
//
#define IDI_ICON1 102

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_RESOURCE_VALUE 103
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
Expand Down

0 comments on commit 88f84a3

Please # to comment.