GeUserArea ActivateFading and AdjustColor
-
Hi,
Was wondering how theGeUserAreafunctionsActivateFadingandAdjustColorare supposed to be used. Didn't find any example, nor does the documentation clearly explain when and where the perform the call.Does the
ActivateFadingneeds to be called when mouse hovers over theGeUserArea, detected withBFM_GETCURSORINFOinGeUserArea::Message?
And needs theActivateFadingbe called again related toBFM_CURSORINFO_REMOVE?
Do we then have some kind of "fade in" and "fade out"? Or is there only a single fading?
How to distinguish between fade in and fade out? Since theAdjustColorsets the blend colorS for fading I assume there is a color to fade in to, and one to fade out to? Or is it fade from - to?And then the
AdjustColorarguments: anInt32while the document mentionsCOLOR. Documentation just leads to an enum when clicking on the link. How to provide an appropriate value?What about the float percentage value? Is it between 0.0 and 1.0 or between 0.0 and 100.0?
"Percentage" doesn't say much.So many questions.
-
Here is an example: GUI and Interaction Messages Manual
-
Ah, the BFM_FADE message ...
Thanks for the link. -
What if one would want to use a
GeClipMapfor drawing in theGeUserArea, how to handle the resulting fading? How to access the color components, since the COLOR id used via theAdjustColorcan not be used. -
Can you access the color using
GeUserArea::GetColorRGB()? -
@PluginStudent
Yup ... it's official, I need glasses on top of my glasses.Thanks for pointing it out.