1 |
|
2001-09-13 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to |
4 |
|
idle time when there actually is something to draw. If there's |
5 |
|
nothing to draw simply clear the window |
6 |
|
(MapCanvas.do_redraw): Call dc.EndDrawing and add some comments. |
7 |
|
(MapCanvas.SetMap): force a redraw in all cases because |
8 |
|
FitMapToWindow doesn't always do it. |
9 |
|
(MapCanvas.ZoomFactor): Add an optional parameter, center, to |
10 |
|
specify the point to move into the center of the window |
11 |
|
(ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't |
12 |
|
dragged, zoon in/out by a factor of 2 |
13 |
|
|
14 |
|
* Thuban/Model/session.py (create_empty_session): Unset the |
15 |
|
modified bit before returning it |
16 |
|
|
17 |
|
* Thuban/UI/mainwindow.py (MainWindow.NewSession): Use |
18 |
|
create_empty_session session to create the new, empty session. |
19 |
|
|
20 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of |
21 |
|
the tool bitmaps. |
22 |
|
(MainWindow.OnClose, MainWindow.save_modified_session): Separate |
23 |
|
the code that asks whether the session should be saved into the |
24 |
|
new method save_modified_session. |
25 |
|
(MainWindow.OpenSession, MainWindow.NewSession): Use the new |
26 |
|
method to save modified session here too. |
27 |
|
|
28 |
2001-09-11 Bernhard Herzog <[email protected]> |
2001-09-11 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
* setup.py (InnoIconItem): fix typo |
* setup.py (InnoIconItem): fix typo |