Public Member Functions | |
MenuColorInfo (COLORREF menuColor=ColorUtilities::darkenColor(::GetSysColor(COLOR_WINDOW), 0.02), COLORREF stripColor=ColorUtilities::darkenColor(::GetSysColor(COLOR_3DFACE), 0.02), COLORREF titleColor=ColorUtilities::darkenColor(::GetSysColor(COLOR_MENUBAR), 0.1), COLORREF menuBarColor=::GetSysColor(COLOR_MENUBAR), COLORREF highlightColor=::GetSysColor(COLOR_HIGHLIGHT), COLORREF titleTextColor=::GetSysColor(COLOR_MENUTEXT), COLORREF imageBackground=RGB(0, 0, 0)) | |
Constructs MenuColorInfo objects. | |
Public Attributes | |
COLORREF | colorHighlight |
Highlighted menu item color. | |
COLORREF | colorImageBackground |
Item image background color, used for transparency effects. | |
COLORREF | colorMenu |
Menu color. | |
COLORREF | colorMenuBar |
Menu bar color. | |
COLORREF | colorStrip |
Strip bar color. | |
COLORREF | colorTitle |
Title background color. | |
COLORREF | colorTitleText |
Title text color. |
Contains the different color settings of the WidgetMenuExtended
Default values to constructor makes menu look roughly like MSVC++7.1 menus
MenuColorInfo | ( | COLORREF | menuColor = ColorUtilities::darkenColor( ::GetSysColor( COLOR_WINDOW ), 0.02 ) , |
|
COLORREF | stripColor = ColorUtilities::darkenColor( ::GetSysColor( COLOR_3DFACE ), 0.02 ) , |
|||
COLORREF | titleColor = ColorUtilities::darkenColor( ::GetSysColor( COLOR_MENUBAR ), 0.1 ) , |
|||
COLORREF | menuBarColor = ::GetSysColor( COLOR_MENUBAR ) , |
|||
COLORREF | highlightColor = ::GetSysColor( COLOR_HIGHLIGHT ) , |
|||
COLORREF | titleTextColor = ::GetSysColor( COLOR_MENUTEXT ) , |
|||
COLORREF | imageBackground = RGB( 0, 0, 0 ) | |||
) |
Constructs MenuColorInfo objects.
If all the default arguments are used it will construct an object making menus look roughly like they do in MSVC++ 7.1
Pass your own arguments to construct other color effects