mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
I forgot to update the VS2005 and Code::Blocks projects in last commit :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1418 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
76de05af61
commit
d1ba056b0f
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_workspace_file>
|
||||
<Workspace title="SFML workspace">
|
||||
<Project filename="sfml-system.cbp" />
|
||||
<Project filename="sfml-system.cbp" active="1" />
|
||||
<Project filename="sfml-window.cbp" />
|
||||
<Project filename="sfml-network.cbp" />
|
||||
<Project filename="sfml-graphics.cbp" />
|
||||
<Project filename="sfml-audio.cbp" />
|
||||
<Project filename="sfml-main.cbp" active="1" />
|
||||
<Project filename="sfml-main.cbp" />
|
||||
<Project filename="..\..\samples\build\codeblocks\ftp.cbp" />
|
||||
<Project filename="..\..\samples\build\codeblocks\opengl.cbp" />
|
||||
<Project filename="..\..\samples\build\codeblocks\pong.cbp" />
|
||||
|
@ -90,6 +90,7 @@
|
||||
<Add directory="..\..\include" />
|
||||
</Compiler>
|
||||
<Unit filename="..\..\include\SFML\System\Clock.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\Err.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\Lock.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\Mutex.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\NonCopyable.hpp" />
|
||||
@ -110,6 +111,7 @@
|
||||
<Unit filename="..\..\include\SFML\System\Vector3.hpp" />
|
||||
<Unit filename="..\..\include\SFML\System\Vector3.inl" />
|
||||
<Unit filename="..\..\src\SFML\System\Clock.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Err.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Lock.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Mutex.cpp" />
|
||||
<Unit filename="..\..\src\SFML\System\Platform.hpp" />
|
||||
|
@ -382,6 +382,14 @@
|
||||
RelativePath="..\..\include\SFML\System\Clock.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Err.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\SFML\System\Err.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\SFML\System\Lock.cpp"
|
||||
>
|
||||
|
@ -674,7 +674,7 @@ Key::Code WindowImplWin32::VirtualKeyCodeToSF(WPARAM key, LPARAM flags)
|
||||
case VK_SHIFT :
|
||||
{
|
||||
static UINT lShift = MapVirtualKey(VK_LSHIFT, MAPVK_VK_TO_VSC);
|
||||
UINT scancode = (flags & (0xFF << 16)) >> 16;
|
||||
UINT scancode = static_cast<UINT>((flags & (0xFF << 16)) >> 16);
|
||||
return scancode == lShift ? Key::LShift : Key::RShift;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user