T3D 1.1 Beta 3 - Gui Button Fill, Border, Text Highlight Selected Not Exhibiting Correct Behaviors - LOGGED - a bit Fixed a bit broken
by Steve Acaster · in Torque 3D Professional · 11/08/2010 (2:28 pm) · 3 replies
T3D 1.1 Beta 3
Win7 32bit
Target
GUI -> GuiButtonControl -> GuiMenuButtonProfile
Issue
GuiButtonControl -> GuiMenuButtonProfile (not using a bitmap), Fill and Border do not highlight with mouseover (fillColorHL and borderColorHL). They do highlight when selected/pressed - but not using border/fillColorSEL, instead using border/fillColorHL. border/fillColorSEL doesn't appear to do anything at all.
Now you could be forgiven for thinking that the button's fill/border are only supposed to use HL when pressed, but then FontColorHL highlights on mouseover without being pressed - and nothing changes when it is pressed, FontColorSEL doesn't appear to function.
Border Thickness is always 1, regardless of what it is set to.
Repeat
Make a GUIbutton with a GuiMenuButtonProfile (or a custom version) which doesn't use a bitmap.
Put different values in for normal/HL/SEL for fill/border/text. Also set border size to anything - see it always as 1. Mouseover buttons, press buttons, record results.
Suggest
All HL (highlight) values work on mouseover, all SEL (selected) work on button-press/mousedown, and border changes size beyond size 1.
Win7 32bit
Target
GUI -> GuiButtonControl -> GuiMenuButtonProfile
Issue
GuiButtonControl -> GuiMenuButtonProfile (not using a bitmap), Fill and Border do not highlight with mouseover (fillColorHL and borderColorHL). They do highlight when selected/pressed - but not using border/fillColorSEL, instead using border/fillColorHL. border/fillColorSEL doesn't appear to do anything at all.
Now you could be forgiven for thinking that the button's fill/border are only supposed to use HL when pressed, but then FontColorHL highlights on mouseover without being pressed - and nothing changes when it is pressed, FontColorSEL doesn't appear to function.
Border Thickness is always 1, regardless of what it is set to.
Repeat
Make a GUIbutton with a GuiMenuButtonProfile (or a custom version) which doesn't use a bitmap.
Put different values in for normal/HL/SEL for fill/border/text. Also set border size to anything - see it always as 1. Mouseover buttons, press buttons, record results.
Suggest
All HL (highlight) values work on mouseover, all SEL (selected) work on button-press/mousedown, and border changes size beyond size 1.
About the author
One Bloke ... In His Bedroom ... Making Indie Games ...
#2
border size fixed - huzzar!
HL fixed - huzzar!
SL still broken, also now broken for toggle button where it worked before. boo!
04/10/2011 (9:49 am)
1.1 Preview 08 april 2011border size fixed - huzzar!
HL fixed - huzzar!
SL still broken, also now broken for toggle button where it worked before. boo!
#3
edit:
But if you disable "border" then it works as expected - it looks like "border" is now creating a backwards "fill" rather than a border.
04/10/2011 (10:30 am)
Also "fillColor" (standard, HL, NA are fine) has some baffling alpha/transparency issue ... the less alpha you use the more the "borderColor" fills it rather than it becoming transparent.edit:
But if you disable "border" then it works as expected - it looks like "border" is now creating a backwards "fill" rather than a border.
Associate David Montgomery-Blake
David MontgomeryBlake