1 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
4 |
|
wxWindows already and our implementation doesn't work correctly |
5 |
|
with wxGTK 2.3: |
6 |
|
(MapCanvas.__init__): Remove the instance variable |
7 |
|
(MapCanvas.OnPaint): Always call do_redraw when there's a map to |
8 |
|
be drawin |
9 |
|
(MapCanvas.OnIdle): Removed. |
10 |
|
|
11 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
12 |
|
a parameter to determine the size of the rectangle. |
13 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
14 |
|
layer by layer basis and make the size depend on the shape type. |
15 |
|
This solves a problem with the selection of point shapes at the |
16 |
|
border of the layer's bounding box |
17 |
|
|
18 |
|
2002-08-30 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
21 |
|
for the sensitivity of remove layer. |
22 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
23 |
|
(Command layer_remove): Use _can_remove_layer |
24 |
|
|
25 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
26 |
|
determine whether a given layer can be deleted. |
27 |
|
|
28 |
|
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
29 |
|
(MapCanvas.do_redraw): Get rid of the unused update_region |
30 |
|
instance variable |
31 |
|
|
32 |
|
* Thuban/UI/view.py: Add/update some doc-strings. |
33 |
|
|
34 |
|
* test/: new subdirectory with a bunch of unit tests. |
35 |
|
|
36 |
|
* test/README, test/test_table.py, test/test_save.py, |
37 |
|
test/test_menu.py, test/test_load.py: Initial set of tests and |
38 |
|
brief instructions on how to run them |
39 |
|
|
40 |
2002-08-29 Bernhard Herzog <[email protected]> |
2002-08-29 Bernhard Herzog <[email protected]> |
41 |
|
|
42 |
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |