Splash Screen?
-
On 14/12/2015 at 01:02, xxxxxxxx wrote:
Dear Python Experts
I´ve made a simple plugin which collects (with assets) a project and send it to our Team Render Server.
And it´s working all fine.But i would really like to make some sort of splash screen, which gives some visual feedback on status on the "collect". Succes, Error etc.
It´s quite simple to achieve with a popup-box, but i would really like to make a Splash Screen which requires no interaction from the artist. (Pressing Ok, Cancel Etc).
Like in OS X, when you turn up/down the volume a simple Overlay is appearing, giving some visual feedback about audio volume.
So it it possible to make this kind of "overlay" in Cinema 4D & Python?
A box Fading on, showing a text Result, and then fading off again, without disturbing the artist with buttons to press?Looking forward to hear from you.
Best Regards
Nicolaj -
On 14/12/2015 at 03:14, xxxxxxxx wrote:
Use a dialog with a timer; when the timer runs out you close the dialog again.
If you really want "fading window" overlays, you will need to use the operating system's functionality directly and lose the OS independence of C4D's dialog system.
-
On 14/12/2015 at 06:59, xxxxxxxx wrote:
Hi Nicolaj,
Following Cairyn post, you can use a user area in a dialog with a timer and no dialog bar/border style (DLG_TYPE_ASYNC_POPUPEDIT for GeDialog.Open()).
GeUserArea class (that enables to perform custom drawings in dialogs) defines 2 interesting methods in your case: ActivateFading() and AdjustColor().
These 2 functions enables/disables the fading and setup the fading colors plus progress. -
On 14/12/2015 at 09:22, xxxxxxxx wrote:
@Cairyn: Thanks mate, i will go with a dialog and a timer
@Yannick Puech: Wauw, thanks alot mate! I will have a look at the GetUserArea!