Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
Bonzomatic
Commits
0bf06f63
Commit
0bf06f63
authored
Jan 24, 2015
by
Gargaj
Browse files
mouse support
parent
380ea221
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform_w32_dx9/Renderer.cpp
View file @
0bf06f63
#include <windows.h>
#include <windowsx.h>
#include <tchar.h>
#include <d3d9.h>
#include <d3dx9.h>
...
...
@@ -185,7 +186,10 @@ namespace Renderer
case
WM_LBUTTONDOWN
:
{
//nLeftMouse = 1;
mouseEventBuffer
[
mouseEventBufferCount
].
button
=
MOUSEBUTTON_LEFT
;
mouseEventBuffer
[
mouseEventBufferCount
].
x
=
GET_X_LPARAM
(
lParam
);
mouseEventBuffer
[
mouseEventBufferCount
].
y
=
GET_Y_LPARAM
(
lParam
);
mouseEventBufferCount
++
;
}
break
;
case
WM_LBUTTONUP
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment