mirror of
https://github.com/lltcggie/waifu2x-caffe.git
synced 2025-06-26 05:32:47 +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;
|
||||
|
||||
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
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>
|
||||
<Manifest Include="manifest.manifest" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="W2X.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
|
@ -97,4 +97,9 @@
|
||||
<Filter>リソース ファイル</Filter>
|
||||
</Manifest>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="W2X.ico">
|
||||
<Filter>リソース ファイル</Filter>
|
||||
</Image>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
x
Reference in New Issue
Block a user