mirror of
https://github.com/lltcggie/waifu2x-caffe.git
synced 2025-06-26 13:42:48 +00:00
GUIにアイコン追加
This commit is contained in:
parent
f738c3c0c1
commit
bb13740260
@ -3048,6 +3048,9 @@ void DialogEvent::AppSetting(HWND hWnd, WPARAM wParam, LPARAM lParam, LPVOID lpD
|
|||||||
{
|
{
|
||||||
dh = hWnd;
|
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();
|
SetWindowTextLang();
|
||||||
|
|
||||||
if (tAutoMode == TEXT("one"))
|
if (tAutoMode == TEXT("one"))
|
||||||
|
Binary file not shown.
BIN
waifu2x-caffe-gui/W2X.ico
Normal file
BIN
waifu2x-caffe-gui/W2X.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 335 KiB |
BIN
waifu2x-caffe-gui/W2Xアイコン.png
Normal file
BIN
waifu2x-caffe-gui/W2Xアイコン.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
Binary file not shown.
@ -126,6 +126,9 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Manifest Include="manifest.manifest" />
|
<Manifest Include="manifest.manifest" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Image Include="W2X.ico" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
@ -97,4 +97,9 @@
|
|||||||
<Filter>リソース ファイル</Filter>
|
<Filter>リソース ファイル</Filter>
|
||||||
</Manifest>
|
</Manifest>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Image Include="W2X.ico">
|
||||||
|
<Filter>リソース ファイル</Filter>
|
||||||
|
</Image>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
Loading…
x
Reference in New Issue
Block a user