.NET color scheme?
BlitzMax Forums/Brucey's Modules/.NET color scheme?| 
 | ||
| The property grid example has a menu option for a .NET color scheme, but no code to set it.  Is this a supported feature?  How can I view it? | 
| 
 | ||
| It would appear (from the C++ sample) that it simply sets the margin, caption background and line colours to 212,208,200. Which doesn't seem very exciting, colour-wise, but I suppose it does the trick. From the original sample - of which my port is incomplete : 
    else if ( id == ID_COLOURSCHEME3 )
    {
        // .NET
        wxColour my_grey_1(212,208,200);
        wxColour my_grey_2(236,233,216);
        m_pPropGridManager->Freeze();
        m_pPropGridManager->GetGrid()->SetMarginColour( my_grey_1 );
        m_pPropGridManager->GetGrid()->SetCaptionBackgroundColour( my_grey_1 );
        m_pPropGridManager->GetGrid()->SetLineColour( my_grey_1 );
        m_pPropGridManager->Thaw();
    }
 | 
| 
 | ||
| Ha.  I don't suppose there is any way to get that nice blue interface .NET uses is there? | 
| 
 | ||
| I imagine so. The UI colours are configurable. | 
| 
 | ||
| How? | 
| 
 | ||
| Google. wxWidgets has documentation, you know. | 
| 
 | ||
| I'm not sure the relevant methods have been exposed yet - eg SetCaptionBackgroundColour | 
| 
 | ||
| That works.  But how can you change the colors of menus and toolbars and stuff? | 
| 
 | ||
| Hmm, it sure would be nice to have a way to define the colors for the whole app.. |