Getting C4D Interface Color



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 26/10/2012 at 10:45, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:    
    Platform:      
    Language(s) :

    ---------
    I can't find the correct constant for the "General - Background" color. Does anyone know how it is called? I could find the VIEWCOLOR_GRID_MINOR which seems to be eqaul to the main background color, but if this one is changed its not the same color any more. 😉

    I want my UserArea to have the same background as the dialog, that's why I need this color.

    Thanks,



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 29/10/2012 at 02:42, xxxxxxxx wrote:

    The constant for the interface background color is COLOR_BG, you can get its value calling:

    dlg.GetColorRGB(c4d.COLOR_BG)
    

    With dlg being a GeDialog..



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 29/10/2012 at 07:16, xxxxxxxx wrote:

    Thank you very very much Yannick. I really didn't see this function. :)


Log in to reply