Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Release/
keycastow/n
11 changes: 8 additions & 3 deletions keycast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -999,12 +999,17 @@ LRESULT CALLBACK WindowFunc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPara
Shell_NotifyIcon( NIM_ADD, &nid );

hPopMenu = CreatePopupMenu();
AppendMenu( hPopMenu, MF_STRING, MENU_CONFIG, L"&Settings..." );
AppendMenu( hPopMenu, MF_STRING, MENU_RESTORE, L"&Restore default settings" );
// AppendMenu( hPopMenu, MF_STRING, MENU_CONFIG, L"&Settings..." );
AppendMenu( hPopMenu, MF_STRING, MENU_CONFIG, L"&设置" );
// AppendMenu( hPopMenu, MF_STRING, MENU_RESTORE, L"&Restore default settings" );
AppendMenu( hPopMenu, MF_STRING, MENU_RESTORE, L"&恢复默认设置" );
// TODO: 添加语言切换按钮
// AppendMenu( hPopMenu, MF_STRING, MENU_LANGUAGES, L"&Languages" );
#ifdef _DEBUG
AppendMenu( hPopMenu, MF_STRING, MENU_REPLAY, L"Re&play" );
#endif
AppendMenu( hPopMenu, MF_STRING, MENU_EXIT, L"E&xit" );
// AppendMenu( hPopMenu, MF_STRING, MENU_EXIT, L"E&xit" );
AppendMenu( hPopMenu, MF_STRING, MENU_EXIT, L"&退出" );
SetMenuDefaultItem( hPopMenu, MENU_CONFIG, FALSE );
}
break;
Expand Down
Binary file added keycastow-en.rc
Binary file not shown.
Binary file modified keycastow.rc
Binary file not shown.
4 changes: 2 additions & 2 deletions keycastow.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down