Commit 66a5a9c4 authored by Davis King's avatar Davis King

merged

parents 9a8f3121 2f531f11
...@@ -354,8 +354,19 @@ on_keydown ( ...@@ -354,8 +354,19 @@ on_keydown (
select_image(image_pos); select_image(image_pos);
} }
// Make 'w' and 's' act like KEY_UP and KEY_DOWN
return; 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) if (key == base_window::KEY_UP)
...@@ -636,6 +647,9 @@ display_about( ...@@ -636,6 +647,9 @@ display_about(
"command line. An example would be '--parts \"leye reye nose mouth\"'." "command line. An example would be '--parts \"leye reye nose mouth\"'."
,0,0) << endl << endl; ,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 " 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 " "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. " "left clicking a rectangle will give it the label from the Next Label field. "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment