|
@@ -11,8 +11,10 @@ ButtonLit = 3
|
|
|
ButtonDown = 4
|
|
ButtonDown = 4
|
|
|
ButtonInactive = 5
|
|
ButtonInactive = 5
|
|
|
Sign = 6
|
|
Sign = 6
|
|
|
-ScrollTitle = 7
|
|
|
|
|
-ScrollItem = 8
|
|
|
|
|
|
|
+SignBlack = 7
|
|
|
|
|
+ScrollTitle = 8
|
|
|
|
|
+ScrollItem = 9
|
|
|
|
|
+
|
|
|
|
|
|
|
|
def textLabel(string, style,
|
|
def textLabel(string, style,
|
|
|
scale = 0.1,
|
|
scale = 0.1,
|
|
@@ -91,6 +93,11 @@ def textLabelAndText(string, style,
|
|
|
text.setTextColor(1., 0., 0., 1.)
|
|
text.setTextColor(1., 0., 0., 1.)
|
|
|
text.clearCard()
|
|
text.clearCard()
|
|
|
|
|
|
|
|
|
|
+ elif style == SignBlack:
|
|
|
|
|
+ # For a black sign, we want black text with no background card.
|
|
|
|
|
+ text.setTextColor(0., 0., 0., 1.)
|
|
|
|
|
+ text.clearCard()
|
|
|
|
|
+
|
|
|
elif style == ScrollTitle:
|
|
elif style == ScrollTitle:
|
|
|
text.setTextColor(1., 0., 0., 1.)
|
|
text.setTextColor(1., 0., 0., 1.)
|
|
|
text.setCardColor(1., 1., 1., 0.)
|
|
text.setCardColor(1., 1., 1., 0.)
|