/[svn]/gigedit/trunk/src/gigedit/regionchooser.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/regionchooser.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2694 by schoenebeck, Wed Jul 2 23:53:21 2014 UTC revision 2695 by schoenebeck, Tue Jan 6 18:11:27 2015 UTC
# Line 1  Line 1 
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
# Line 621  gig::Region* RegionChooser::get_region(i Line 621  gig::Region* RegionChooser::get_region(i
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;

Legend:
Removed from v.2694  
changed lines
  Added in v.2695

  ViewVC Help
Powered by ViewVC