Skip to content

Commit

Permalink
Merge pull request #2 from PatWie/master
Browse files Browse the repository at this point in the history
add new shortcut
  • Loading branch information
JoakimSoderberg committed Oct 28, 2014
2 parents a5172d1 + d244b28 commit a0b8888
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/imageclipper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,12 @@ void key_callback( const ArgParam* arg, CvCallbackParam* param )
//
// Rectangle Movement (Vi like hotkeys).
//
case 'w':
param->rect.x =0;
param->rect.y =0;
param->rect.width = param->img->width;
param->rect.height = param->img->height;
break;

// Left.
case 29:
Expand Down

0 comments on commit a0b8888

Please sign in to comment.