Mercurial > fife-parpg
comparison engine/extensions/pychan/__init__.py @ 218:724f3a5f3e96
Added selection_color, and darkened the default for it a bit.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 19 Mar 2009 17:14:56 +0000 |
parents | b0c4e6e41659 |
children | 756b895e1dab |
comparison
equal
deleted
inserted
replaced
217:68ae8f4234ca | 218:724f3a5f3e96 |
---|---|
151 'font' : 'console_small' | 151 'font' : 'console_small' |
152 } | 152 } |
153 } | 153 } |
154 | 154 |
155 A new style is added to pychan with L{internal.Manager.addStyle}. | 155 A new style is added to pychan with L{internal.Manager.addStyle}. |
156 You can set a new default style by adding a style with the name 'default'. | |
156 | 157 |
157 The font is set via a string identifier pulled from a font definition | 158 The font is set via a string identifier pulled from a font definition |
158 in a PyChan configuration file. You have to load these by calling | 159 in a PyChan configuration file. You have to load these by calling |
159 L{loadFonts} in your startup code:: | 160 L{loadFonts} in your startup code:: |
160 import pychan | 161 import pychan |