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
fad836df
Commit
fad836df
authored
Mar 27, 2017
by
Davis King
Browse files
Made it so you can remove images by pressing ctrl+r.
parent
df5a087b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
tools/imglab/src/main.cpp
tools/imglab/src/main.cpp
+1
-1
tools/imglab/src/metadata_editor.cpp
tools/imglab/src/metadata_editor.cpp
+8
-1
No files found.
tools/imglab/src/main.cpp
View file @
fad836df
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include <dlib/dir_nav.h>
#include <dlib/dir_nav.h>
const
char
*
VERSION
=
"1.
8
"
;
const
char
*
VERSION
=
"1.
9
"
;
const
int
JPEG_QUALITY
=
90
;
const
int
JPEG_QUALITY
=
90
;
...
...
tools/imglab/src/metadata_editor.cpp
View file @
fad836df
...
@@ -336,6 +336,12 @@ on_keydown (
...
@@ -336,6 +336,12 @@ on_keydown (
last_keyboard_jump_pos_update
=
0
;
last_keyboard_jump_pos_update
=
0
;
}
}
if
(
key
==
'r'
&&
(
state
&
base_window
::
KBD_MOD_CONTROL
))
{
remove_selected_images
();
}
return
;
return
;
}
}
...
@@ -571,7 +577,8 @@ display_about(
...
@@ -571,7 +577,8 @@ display_about(
"by hitting the tab key. Double clicking "
"by hitting the tab key. Double clicking "
"a rectangle selects it and the delete key removes it. You can also mark "
"a rectangle selects it and the delete key removes it. You can also mark "
"a rectangle as ignored by hitting the i key when it is selected. Ignored "
"a rectangle as ignored by hitting the i key when it is selected. Ignored "
"rectangles are visually displayed with an X through them."
"rectangles are visually displayed with an X through them. You can remove an image "
"entirely by selecting it in the list on the left and pressing ctrl+r."
,
0
,
0
)
<<
endl
<<
endl
;
,
0
,
0
)
<<
endl
<<
endl
;
sout
<<
wrap_string
(
"It is also possible to label object parts by selecting a rectangle and "
sout
<<
wrap_string
(
"It is also possible to label object parts by selecting a rectangle and "
...
...
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