Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
66a5a9c4
Commit
66a5a9c4
authored
Nov 22, 2017
by
Davis King
Browse files
merged
parents
9a8f3121
2f531f11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
tools/imglab/src/metadata_editor.cpp
tools/imglab/src/metadata_editor.cpp
+16
-2
No files found.
tools/imglab/src/metadata_editor.cpp
View file @
66a5a9c4
...
...
@@ -354,9 +354,20 @@ on_keydown (
select_image
(
image_pos
);
}
// Make 'w' and 's' act like KEY_UP and KEY_DOWN
if
((
key
==
'w'
||
key
==
'W'
)
&&
!
overlay_label
.
has_input_focus
())
{
key
=
base_window
::
KEY_UP
;
}
else
if
((
key
==
's'
||
key
==
'S'
)
&&
!
overlay_label
.
has_input_focus
())
{
key
=
base_window
::
KEY_DOWN
;
}
else
{
return
;
}
}
if
(
key
==
base_window
::
KEY_UP
)
{
...
...
@@ -636,6 +647,9 @@ display_about(
"command line. An example would be '--parts
\"
leye reye nose mouth
\"
'."
,
0
,
0
)
<<
endl
<<
endl
;
sout
<<
wrap_string
(
"Press the down or s key to select the next image in the list and the up or w "
"key to select the previous one."
,
0
,
0
)
<<
endl
<<
endl
;
sout
<<
wrap_string
(
"Additionally, you can hold ctrl and then scroll the mouse wheel to zoom. A normal left click "
"and drag allows you to navigate around the image. Holding ctrl and "
"left clicking a rectangle will give it the label from the Next Label field. "
...
...
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