1 |
/* |
/* |
2 |
* Copyright (C) 2006-2014 Andreas Persson |
* Copyright (C) 2006-2015 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
621 |
return 0; |
return 0; |
622 |
} |
} |
623 |
|
|
624 |
|
void RegionChooser::set_region(gig::Region* region) { |
625 |
|
this->region = region; |
626 |
|
queue_draw(); |
627 |
|
region_selected(); |
628 |
|
dimensionManager.set_region(region); |
629 |
|
} |
630 |
|
|
631 |
void RegionChooser::motion_resize_region(int x, int y) |
void RegionChooser::motion_resize_region(int x, int y) |
632 |
{ |
{ |
633 |
const int w = get_width() - 1; |
const int w = get_width() - 1; |