GUIにアイコン追加

This commit is contained in:
lltcggie 2016-09-11 13:59:53 +09:00
parent f738c3c0c1
commit bb13740260
7 changed files with 11 additions and 0 deletions

View File

@ -3048,6 +3048,9 @@ void DialogEvent::AppSetting(HWND hWnd, WPARAM wParam, LPARAM lParam, LPVOID lpD
{
dh = hWnd;
HICON hIcon = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_ICON_W2X), IMAGE_ICON, 16, 16, 0);
SendMessage(hWnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
SetWindowTextLang();
if (tAutoMode == TEXT("one"))

Binary file not shown.

BIN
waifu2x-caffe-gui/W2X.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

View File

@ -126,6 +126,9 @@
<ItemGroup>
<Manifest Include="manifest.manifest" />
</ItemGroup>
<ItemGroup>
<Image Include="W2X.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View File

@ -97,4 +97,9 @@
<Filter>リソース ファイル</Filter>
</Manifest>
</ItemGroup>
<ItemGroup>
<Image Include="W2X.ico">
<Filter>リソース ファイル</Filter>
</Image>
</ItemGroup>
</Project>