Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Admin
    • Login

    Splash Screen?

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 381 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            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!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post