add MultiColorLabel
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 10 Jun 2008 07:43:48 +0000 (07:43 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 10 Jun 2008 07:43:48 +0000 (07:43 +0000)
commit1efbb50d3ab02af155035404ffc107c275799f8d
tree0a45347b4e83fa56f57adb272b956c157b1950b8
parent3d8ffc3281925011e894d57a9f51423736ee891a
add MultiColorLabel
in the skin you can set multiple colors with foregroundColors="#8c7c93,black,#f23d21"
and/or backgroundColors="#012345,#081501,green,#078753"
in python code the you can switch colors with
self["blasel"].setForegroundColorNum(x) or
self["blubber"].setBackgroundColorNum(y)
lib/python/Components/Label.py