GeUserArea ActivateFading and AdjustColor
-
Hi,
Was wondering how theGeUserArea
functionsActivateFading
andAdjustColor
are supposed to be used. Didn't find any example, nor does the documentation clearly explain when and where the perform the call.Does the
ActivateFading
needs to be called when mouse hovers over theGeUserArea
, detected withBFM_GETCURSORINFO
inGeUserArea::Message
?
And needs theActivateFading
be 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 theAdjustColor
sets 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
AdjustColor
arguments: anInt32
while 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
GeClipMap
for drawing in theGeUserArea
, how to handle the resulting fading? How to access the color components, since the COLOR id used via theAdjustColor
can 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.