Replies: 2 comments 3 replies
-
Have a look how it's used in
As soon as you call either Important: you can't just create the FadeQuad as a function-local variable, set the parameters, start the fade and then end the function, because that will destroy the FadeQuad at the end of the function. You need to keep the FadeQuad around, for example as a member variable in a class. |
Beta Was this translation helpful? Give feedback.
-
Yes, functions_module.cpp uses it. The FadeQuad is stored in the Module, so module.cpp creates it and function_module.cpp access it. In the KotOR games, it's used for scripting. I.e. the script can say fade in or out, and the FadeQuad will do that. |
Beta Was this translation helpful? Give feedback.
-
Hi,
i'm continuing to develop NWN2 code using Xoreos as base. I'm developing all the GUI/UI without problem, but i don't understand how made a fadein, fadeout between GUI.
I found in graphics/aurora FadeQuad, but i don't understand how to use it.
Must create a FadeQuad object, set the wait,run,start arguments and add in the show() of the GUI ?
Someone could help me understand how this work ?
Best Regards
Beta Was this translation helpful? Give feedback.
All reactions