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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Gui Colors

    SDK Help
    0
    1
    177
    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
      Helper
      last edited by

      On 03/05/2014 at 19:54, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R14 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi folks,
       
      I've been around this one before, but am still finding it difficult to locate and obtain certain gui colour values.
       
      I'm now needing to get colours such as COLOR_ICONS_BG_ACTIVE_HIGHLIGHT and COLOR_QUICKTAB_TEXT_ACTIVE for some custom tabs I've made, and have tried getting these by using GetViewColor()/GetColorRGB()/GetWorldContainer() but none are returning any colour values. I've read that colours like these can't be obtained before a GeDialog()/GeUserArea()'s InitValues() function is called - but I'm needing to get these before this function.
       
      Is there another container (world container/reference perhaps?) that I can get with these values (or referenced values) from to use before InitValues() is called?
       
      Cheers,
       
      WP.
       
      P.s. I think a bit of work could be done in the sdk to show where and how colour values are obtained. I think it might be a good idea also to allow the user to drag the interface colours from the preferences dialog to the console to obtain the colours text id value too.

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