[Avida-cvs] [avida-svn] r892 - branches/developers/avida-edward/source/python/AvidaGui2
jclune at myxo.css.msu.edu
jclune at myxo.css.msu.edu
Wed Aug 23 15:09:50 PDT 2006
Author: jclune
Date: 2006-08-23 18:09:50 -0400 (Wed, 23 Aug 2006)
New Revision: 892
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/pyPetriDishCtrl.py
branches/developers/avida-edward/source/python/AvidaGui2/to-do_list
Log:
org highlighting pre-run is back
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyPetriDishCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyPetriDishCtrl.py 2006-08-23 21:37:00 UTC (rev 891)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyPetriDishCtrl.py 2006-08-23 22:09:50 UTC (rev 892)
@@ -251,7 +251,12 @@
#for speed efficiency. currenly it is checked every time a cell is updated
if ( (cell_info_item.pen().color() == QColor((Qt.gray))) & self.m_avida_has_started == True):
cell_info_item.setPen(QPen(Qt.NoPen))
- if not (cell_info_item.pen().color() == QColor(0,255,0)):
+
+ #if it is not the pre-run outline color (gray) or the org_clicked_on highlight
+ #color (bright green) then take away the outline (it will be added back later
+ #in this section if it is a cell that does a task)
+ if not (cell_info_item.pen().color() == QColor(0,255,0)\
+ or cell_info_item.pen().color() == QColor(Qt.gray)):
cell_info_item.setPen(QPen(Qt.NoPen))
if(self.m_avida.m_population.GetCell(cell_id).GetOrganism() is not None):
Modified: branches/developers/avida-edward/source/python/AvidaGui2/to-do_list
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/to-do_list 2006-08-23 21:37:00 UTC (rev 891)
+++ branches/developers/avida-edward/source/python/AvidaGui2/to-do_list 2006-08-23 22:09:50 UTC (rev 892)
@@ -63,8 +63,9 @@
Priority High
-make the org report give the name of the ancestor when they are clicked on
+-Provide the ability to click on an org and have its name pop up pre-run in stats view
+-bring the ability to see the org square outlined in gray back
-
Priority Medium
-Use warning system
More information about the Avida-cvs
mailing list