1 |
|
2005-03-23 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
These changes add support for adjusting the opacity of a raster layer. |
4 |
|
|
5 |
|
* Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity. |
6 |
|
(RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers |
7 |
|
a LAYER_CHANGED event if the opacity actually changes. |
8 |
|
|
9 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added |
10 |
|
layer parameter needed in the implementation of this method in |
11 |
|
renderer.py. |
12 |
|
|
13 |
|
* Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed |
14 |
|
typo 00 -> 0. |
15 |
|
|
16 |
|
* Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added |
17 |
|
control to adjust opacity. |
18 |
|
|
19 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the |
20 |
|
alpha data based on the opacity level of the layer. |
21 |
|
|
22 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now |
23 |
|
accepts a layer parameter. |
24 |
|
|
25 |
|
* test/test_layer.py (TestLayerModification.test_raster_layer): |
26 |
|
Rename opacity method calls and add test for LAYER_CHANGED. |
27 |
|
|
28 |
2005-03-16 Bernhard Herzog <[email protected]> |
2005-03-16 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
* test/test_connector.py (DeletionTestMixin.check_deletions) |
* test/test_connector.py (DeletionTestMixin.check_deletions) |