Mercurial > fife-parpg
diff engine/extensions/pychan/widgets.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 | e281223a03a6 |
children | 756b895e1dab |
line wrap: on
line diff
--- a/engine/extensions/pychan/widgets.py Thu Mar 19 01:40:51 2009 +0000 +++ b/engine/extensions/pychan/widgets.py Thu Mar 19 17:14:56 2009 +0000 @@ -56,6 +56,7 @@ - base_color: Color - background_color: Color - foreground_color: Color + - selection_color: Color - font: String: This should identify a font that was loaded via L{loadFonts} before. - border_size: Integer: The size of the border in pixels. - position_technique: This can be either "automatic" or "explicit" - only L{Window} has this set to "automatic" which @@ -84,7 +85,7 @@ ATTRIBUTES = [ Attr('name'), PointAttr('position'), PointAttr('min_size'), PointAttr('size'), PointAttr('max_size'), - ColorAttr('base_color'),ColorAttr('background_color'),ColorAttr('foreground_color'), + ColorAttr('base_color'),ColorAttr('background_color'),ColorAttr('foreground_color'),ColorAttr('selection_color'), Attr('style'), Attr('font'),IntAttr('border_size') ]