demo_colors.py
changeset 70 db2eab0beb45
parent 62 2f61931520c9
--- a/demo_colors.py	Sun Jan 27 12:54:52 2013 +0100
+++ b/demo_colors.py	Sun Jan 27 23:51:59 2013 +0100
@@ -25,10 +25,10 @@
 
     def apply_theme(self):
         Application.apply_theme(self)
-        self.driver.setcolor('test-blink',              'cyan on blue, blink')
-        self.driver.setcolor('test-bold',               'cyan on blue, bold')
-        self.driver.setcolor('test-standout',           'cyan on blue, standout')
-        self.driver.setcolor('test-underline',          'cyan on blue, underline')
+        self.driver.defcolor('test-blink',              'cyan on blue, blink')
+        self.driver.defcolor('test-bold',               'cyan on blue, bold')
+        self.driver.defcolor('test-standout',           'cyan on blue, standout')
+        self.driver.defcolor('test-underline',          'cyan on blue, underline')
 
     def on_top_keypress(self, ev):
         if ev.keyname == 'escape':