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