Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
9adbdd80
Commit
9adbdd80
authored
Sep 13, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing functions for checking type of keyboard event
parent
782867f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
tool_event.h
include/tool/tool_event.h
+10
-0
No files found.
include/tool/tool_event.h
View file @
9adbdd80
...
...
@@ -229,6 +229,16 @@ public:
return
m_keyCode
;
}
bool
IsKeyUp
()
const
{
return
m_actions
==
TA_KeyUp
;
}
bool
IsKeyDown
()
const
{
return
m_actions
==
TA_KeyDown
;
}
void
Ignore
();
void
SetMouseDragOrigin
(
const
VECTOR2D
&
aP
)
...
...
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