Skip to content

Commit

Permalink
还是用最初的方案了
Browse files Browse the repository at this point in the history
  • Loading branch information
xfgryujk committed Jan 5, 2017
1 parent 3cd042f commit e0e3070
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 359 deletions.
2 changes: 0 additions & 2 deletions CustomDesktop/CustomDesktop.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@
<ClInclude Include="Global.h" />
<ClInclude Include="HookDesktop.h" />
<ClInclude Include="IATHook.h" />
<ClInclude Include="InlineHook.h" />
<ClInclude Include="PluginManager.h" />
<ClInclude Include="Singleton.h" />
<ClInclude Include="stdafx.h" />
Expand All @@ -192,7 +191,6 @@
</PrecompiledHeader>
</ClCompile>
<ClCompile Include="CDEvents.cpp" />
<ClCompile Include="InlineHook.cpp" />
<ClCompile Include="PluginManager.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
Expand Down
6 changes: 0 additions & 6 deletions CustomDesktop/CustomDesktop.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@
<ClInclude Include="Global.h">
<Filter>头文件\Module</Filter>
</ClInclude>
<ClInclude Include="InlineHook.h">
<Filter>头文件\Helper</Filter>
</ClInclude>
<ClInclude Include="CheckCovered.h">
<Filter>头文件\Module</Filter>
</ClInclude>
Expand Down Expand Up @@ -104,9 +101,6 @@
<ClCompile Include="HookDesktop.cpp">
<Filter>源文件\Module</Filter>
</ClCompile>
<ClCompile Include="InlineHook.cpp">
<Filter>源文件\Helper</Filter>
</ClCompile>
<ClCompile Include="CheckCovered.cpp">
<Filter>源文件\Module</Filter>
</ClCompile>
Expand Down
130 changes: 0 additions & 130 deletions CustomDesktop/InlineHook.cpp

This file was deleted.

24 changes: 0 additions & 24 deletions CustomDesktop/InlineHook.h

This file was deleted.

2 changes: 1 addition & 1 deletion Data/WIMC.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
字䥍䍝ਊ㯊ﴊ乵浢敲佦䍵牳潲猠㴠㔰《

;�����
NumberOfCursors = 50
NumberOfCursors = 500
4 changes: 4 additions & 0 deletions Plugin/WIMC/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ Config::Config()
void Config::LoadConfig(LPCWSTR path)
{
m_nCursors = GetPrivateProfileIntW(APPNAME, L"NumberOfCursors", m_nCursors, path);
if (m_nCursors < 0)
m_nCursors = 0;
else if (m_nCursors > 10000)
m_nCursors = 10000;
}
2 changes: 1 addition & 1 deletion Plugin/WIMC/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ static const TCHAR APPNAME[] = _T("WIMC");
class Config final
{
public:
int m_nCursors = 50;
int m_nCursors = 500;


Config();
Expand Down
140 changes: 0 additions & 140 deletions Plugin/WIMC/CursorRenderer.cpp

This file was deleted.

29 changes: 0 additions & 29 deletions Plugin/WIMC/CursorRenderer.h

This file was deleted.

Loading

0 comments on commit e0e3070

Please sign in to comment.