1 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
4 |
|
the 'E' because it's less likely to interfere with other menu |
5 |
|
entries. |
6 |
|
|
7 |
|
2002-09-10 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
10 |
|
(_tool_command): Add sensitive parameter |
11 |
|
(_has_visible_map): Sensitivity callback to tools and other |
12 |
|
commands that require a visible map. Use it in map_zoom_in_tool, |
13 |
|
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool |
14 |
|
and map_full_extent |
15 |
|
|
16 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
17 |
|
|
18 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
19 |
|
VIEW_POSITION |
20 |
|
|
21 |
|
2002-09-04 Frank Koormann <[email protected]> |
22 |
|
|
23 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
24 |
|
|
25 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
26 |
|
|
27 |
|
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
28 |
|
wxWindows already and our implementation doesn't work correctly |
29 |
|
with wxGTK 2.3: |
30 |
|
(MapCanvas.__init__): Remove the instance variable |
31 |
|
(MapCanvas.OnPaint): Always call do_redraw when there's a map to |
32 |
|
be drawin |
33 |
|
(MapCanvas.OnIdle): Removed. |
34 |
|
|
35 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
36 |
|
a parameter to determine the size of the rectangle. |
37 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
38 |
|
layer by layer basis and make the size depend on the shape type. |
39 |
|
This solves a problem with the selection of point shapes at the |
40 |
|
border of the layer's bounding box |
41 |
|
|
42 |
2002-08-30 Bernhard Herzog <[email protected]> |
2002-08-30 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
45 |
|
for the sensitivity of remove layer. |
46 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
47 |
|
(Command layer_remove): Use _can_remove_layer |
48 |
|
|
49 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
50 |
|
determine whether a given layer can be deleted. |
51 |
|
|
52 |
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
53 |
(MapCanvas.do_redraw): Get rid of the unused update_region |
(MapCanvas.do_redraw): Get rid of the unused update_region |
54 |
instance variable |
instance variable |