Mercurial > hg > mep
diff ExperimentGui.java @ 3:6108a8aa9d82
Add command line option to turn off clock.
Ignore-this: 1b88592bed48f4491e1563cccfbccbeb
author | Marcus Pearce <m.pearce@gold.ac.uk> |
---|---|
date | Mon, 21 Jun 2010 17:37:24 +0100 |
parents | 4031cbb02f08 |
children | 5080b65e6963 |
line wrap: on
line diff
--- a/ExperimentGui.java Mon Jun 14 13:28:18 2010 +0100 +++ b/ExperimentGui.java Mon Jun 21 17:37:24 2010 +0100 @@ -2,7 +2,7 @@ * File: ExperimentGui.java * Author: Marcus Pearce <m.pearce@gold.ac.uk> * Created: <2007-02-14 16:42:31 marcusp> - * Time-stamp: <2010-05-18 11:12:05 marcusp> + * Time-stamp: <2010-06-21 16:50:53 marcusp> *============================================================================= */ @@ -96,9 +96,11 @@ /* Show the Clock */ public void showClock() { - clock.showClock = true; - clock.showFullClock = false; - clock.repaint(); + if (exp.showClock()) { + clock.showClock = true; + clock.showFullClock = false; + clock.repaint(); + } } /* Show the Fixation Point */