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]> |
2002-04-29 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the |