[cig-commits] r14725 - cs/pythia/trunk/journal/colors
leif at geodynamics.org
leif at geodynamics.org
Wed Apr 15 16:14:06 PDT 2009
Author: leif
Date: 2009-04-15 16:14:06 -0700 (Wed, 15 Apr 2009)
New Revision: 14725
Added:
cs/pythia/trunk/journal/colors/none.odb
Log:
Issue118: "using Pyre apps with light backgrounds". Allow the user to
turn off colorized messages; e.g.:
[CitcomS.journal]
device.renderer.color-scheme = none
(The other options are "dark-bg" [default] and "light-bg".)
Added: cs/pythia/trunk/journal/colors/none.odb
===================================================================
--- cs/pythia/trunk/journal/colors/none.odb (rev 0)
+++ cs/pythia/trunk/journal/colors/none.odb 2009-04-15 23:14:06 UTC (rev 14725)
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+# California Institute of Technology
+# (C) 2006 All Rights Reserved
+#
+# {LicenseText}
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+
+
+def colorScheme():
+ from journal.colors import ColorScheme
+ return ColorScheme("none")
+
+
+# end of file
More information about the CIG-COMMITS
mailing list