1 |
|
2002-05-02 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/view.py: Keep the temporary bitmap used during drawing |
4 |
|
around to speed up most redraws: |
5 |
|
(MapCanvas.__init__): New instance variable bitmap which holds the |
6 |
|
bitmap |
7 |
|
(MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use |
8 |
|
self.bitmap to draw. |
9 |
|
(MapCanvas.full_redraw): New method to force a full redraw |
10 |
|
including the bitmap |
11 |
|
(MapCanvas.SetMap): Subscribe full_redraw instead of redraw to |
12 |
|
make sure the bitmap is redrawn. |
13 |
|
(MapCanvas.projection_changed, MapCanvas.set_view_transform, |
14 |
|
MapCanvas.shape_selected): Call full_redraw instead of readraw to |
15 |
|
make sure the bitmap is redrawn. |
16 |
|
(MapCanvas.OnSize): New method to handle size events so that the |
17 |
|
bitmap can be redrawn. |
18 |
|
|
19 |
|
2002-04-29 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the |
22 |
|
canvas' VIEW_POSITION event |
23 |
|
(MainWindow.view_position_changed): Handler for VIEW_POSITION. |
24 |
|
Update the text in the status-bar accordingly. |
25 |
|
|
26 |
|
* Thuban/UI/view.py (MapCanvas): Derive from Publisher as well |
27 |
|
(MapCanvas.__del__): Implement because Publisher.__del__ has to be |
28 |
|
called. |
29 |
|
(MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize |
30 |
|
current_position |
31 |
|
(MapCanvas.set_current_position): New method to set |
32 |
|
current_position. Issue a VIEW_POSITION event |
33 |
|
(MapCanvas.CurrentPosition): New public method to return the value |
34 |
|
of current_position. Should be called when the VIEW_POSITION event |
35 |
|
is processed. |
36 |
|
(MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion): |
37 |
|
Update the position. |
38 |
|
(MapCanvas.OnLeaveWindow): Set the position to None. |
39 |
|
|
40 |
|
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
41 |
|
position in the statusbar |
42 |
|
|
43 |
|
2002-04-26 Frank Koormann <[email protected]> |
44 |
|
|
45 |
|
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
46 |
|
|
47 |
|
2002-04-24 Frank Koormann <[email protected]> |
48 |
|
|
49 |
|
* Resources/Bitmaps/identify.xpm: shadow added |
50 |
|
|
51 |
|
* Resources/Bitmaps/fullextent.xpm: new |
52 |
|
|
53 |
|
2002-04-22 Jan-Oliver Wagner <[email protected]> |
54 |
|
|
55 |
|
* Thuban/UI/tree.py (update_tree): added test for None on map bounding box |
56 |
|
|
57 |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
58 |
|
|
59 |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |