jonathan: thuban ChangeLog,1.795,1.796

cvs@intevation.de cvs at intevation.de
Wed Mar 23 16:30:29 CET 2005


Author: jonathan

Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv32375

Modified Files:
	ChangeLog 
Log Message:
Add support for adjusting the opacity of a raster layer.


Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.795
retrieving revision 1.796
diff -u -d -r1.795 -r1.796
--- ChangeLog	16 Mar 2005 14:55:21 -0000	1.795
+++ ChangeLog	23 Mar 2005 15:30:27 -0000	1.796
@@ -1,3 +1,30 @@
+2005-03-23  Jonathan Coles <jonathan at intevation.de>
+
+	These changes add support for adjusting the opacity of a raster layer.
+
+	* Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity.
+	(RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers
+	a LAYER_CHANGED event if the opacity actually changes.
+
+	* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added
+	layer parameter needed in the implementation of this method in
+	renderer.py.
+
+	* Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed
+	typo 00 -> 0.
+
+	* Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added
+	control to adjust opacity.
+
+	* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the 
+	alpha data based on the opacity level of the layer. 
+
+	* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now
+	accepts a layer parameter.
+
+	* test/test_layer.py (TestLayerModification.test_raster_layer): 
+	Rename opacity method calls and add test for LAYER_CHANGED.
+
 2005-03-16  Bernhard Herzog  <bh at intevation.de>
 
 	* test/test_connector.py (DeletionTestMixin.check_deletions)





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)