1 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
4 |
|
VIEW_POSITION |
5 |
|
|
6 |
|
2002-09-04 Frank Koormann <[email protected]> |
7 |
|
|
8 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
9 |
|
|
10 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
11 |
|
|
12 |
|
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
13 |
|
wxWindows already and our implementation doesn't work correctly |
14 |
|
with wxGTK 2.3: |
15 |
|
(MapCanvas.__init__): Remove the instance variable |
16 |
|
(MapCanvas.OnPaint): Always call do_redraw when there's a map to |
17 |
|
be drawin |
18 |
|
(MapCanvas.OnIdle): Removed. |
19 |
|
|
20 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
21 |
|
a parameter to determine the size of the rectangle. |
22 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
23 |
|
layer by layer basis and make the size depend on the shape type. |
24 |
|
This solves a problem with the selection of point shapes at the |
25 |
|
border of the layer's bounding box |
26 |
|
|
27 |
2002-08-30 Bernhard Herzog <[email protected]> |
2002-08-30 Bernhard Herzog <[email protected]> |
28 |
|
|
29 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
30 |
|
for the sensitivity of remove layer. |
31 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
32 |
|
(Command layer_remove): Use _can_remove_layer |
33 |
|
|
34 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
35 |
|
determine whether a given layer can be deleted. |
36 |
|
|
37 |
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
38 |
(MapCanvas.do_redraw): Get rid of the unused update_region |
(MapCanvas.do_redraw): Get rid of the unused update_region |
39 |
instance variable |
instance variable |