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]> |
58 |
|
|
59 |
|
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
60 |
|
|
61 |
|
* Thuban/UI/tree.py (update_tree): added added map extent |
62 |
|
|
63 |
|
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
64 |
|
icon; added map_full_extend as tool |
65 |
|
|
66 |
|
2002-04-19 Jan-Oliver Wagner <[email protected]> |
67 |
|
|
68 |
|
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
69 |
|
saving _new_ sessions |
70 |
|
|
71 |
|
* Thuban/Model/session.py (create_empty_session): new session |
72 |
|
don't have a filename (set to None) |
73 |
|
|
74 |
|
* Thuban/UI/tree.py (update_tree): added filename and modified flag |
75 |
|
|
76 |
|
* Thuban/Model/load.py (ProcessSession): convert projection |
77 |
|
parameters from unicode to regular string |
78 |
|
|
79 |
|
* Data/iceland_sample.session: Added UTM Zone 26 projection. |
80 |
|
|
81 |
|
2002-04-11 Bernhard Herzog <[email protected]> |
82 |
|
|
83 |
|
* extensions/shapelib/shapefil.h, extensions/shapelib/shpopen.c, |
84 |
|
extensions/shapelib/dbfopen.c: Update to the versions of shapelib |
85 |
|
1.2.9 |
86 |
|
|
87 |
|
* setup.py (Lib.wxproj extension): Don't link shpopen.c and put |
88 |
|
the pyshapelib directoy into the list of include dirs, so that |
89 |
|
pyshapelib_api.h can be found. |
90 |
|
|
91 |
|
* extensions/thuban/wxproj.cpp (pyshapelib_api): New variable that |
92 |
|
holds the pyshapelib C-API |
93 |
|
(draw_polygon_shape, point_in_polygon_shape, shape_centroid): Use |
94 |
|
pyshapelib_api to access the shapelib functions. |
95 |
|
(initwxproj): Import the c_api from the shapelib module and |
96 |
|
initialize pyshapelib_api. |
97 |
|
|
98 |
2002-04-04 Bernhard Herzog <[email protected]> |
2002-04-04 Bernhard Herzog <[email protected]> |
99 |
|
|
100 |
* setup.py (thuban_bdist_rpm.initialize_options): Use |
* setup.py (thuban_bdist_rpm.initialize_options): Use |