*** empty log message ***

This commit is contained in:
David Rose 2001-03-30 23:41:18 +00:00
parent 4e9a2fec77
commit 989c4282d1

View File

@ -64,7 +64,13 @@ def textLabelAndText(string, style,
text.setCardAsMargin(0.1, 0.1, 0.0, 0.0) text.setCardAsMargin(0.1, 0.1, 0.0, 0.0)
text.setTransform(Mat4.scaleMat(scale)) text.setTransform(Mat4.scaleMat(scale))
if style == ButtonUp: # The style might *itself* be a four-component color.
if (isinstance(style, types.TupleType) or
isinstance(style, VBase4)):
# If the style is a tuple, it means black on the specified color.
text.setCardColor(style[0], style[1], style[2], style[3])
elif style == ButtonUp:
# This is the default: black on white. # This is the default: black on white.
pass pass