From 1eb4230ec7478e95e70b7f869684efcd34b48938 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Tue, 9 Feb 2021 11:09:34 -0600 Subject: tweaks --- Source/Main.hx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Source') diff --git a/Source/Main.hx b/Source/Main.hx index 6a34ee8..d060bc9 100644 --- a/Source/Main.hx +++ b/Source/Main.hx @@ -35,8 +35,9 @@ typedef BoxConfig = class Button extends SimpleButton { - static var upColor:Int = 0xdddddd; - static var downAndOverColor:Int = 0xeeeeee; + static var overColor:Int = 0xdddddd; + static var upColor:Int = 0xeeeeee; + static var downColor:Int = 0xcccccc; static function textBox (text:String, @@ -81,10 +82,11 @@ class Button extends SimpleButton { var textFormat = new TextFormat(null, 25); - var over = textBox(text, downAndOverColor, textFormat, 10.0, 50, 2 ); - var up = textBox(text, upColor, textFormat, 10.0, 50, 2 ); + var over = textBox(text, overColor, textFormat, 10.0, 50, 2 ); + var up = textBox(text, upColor, textFormat, 10.0, 50, 2); + var down = textBox(text, downColor, textFormat, 10.0, 50, 2); - super( up , over, over, over); + super( up , over, down, over); this.enabled = true; } -- cgit v1.2.3