mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-15 14:22:57 -06:00
Fix for vista menu (bytefield)
git-svn-id: svn://ultimatepp.org/upp/trunk@496 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
82941550c0
commit
660da2c7ba
1 changed files with 5 additions and 1 deletions
|
|
@ -450,8 +450,12 @@ void ChHostSkin()
|
|||
{
|
||||
MenuBar::Style& s = MenuBar::StyleDefault().Write();
|
||||
if(vista_aero) {
|
||||
s.itemtext = XpColor(XP_MENU, 14 /*MENU_POPUPITEM*/, 2 /*HOT*/, 3803/*TMT_TEXTCOLOR*/);
|
||||
s.topitemtext[0] = s.topitemtext[1] = s.topitemtext[2] =
|
||||
s.itemtext = XpColor(XP_MENU, 8 /*MENU_POPUPITEM*/,
|
||||
2 /*HOT*/, 3803/*TMT_TEXTCOLOR*/);
|
||||
Win32Look(s.item, XP_MENU, 14 /*MENU_POPUPITEM*/, 2 /*HOT*/);
|
||||
Win32Look(s.topitem[1], XP_MENU, 8 , 2 /*HOT*/);
|
||||
Win32Look(s.topitem[2], XP_MENU, 8 , 3 /*HOT*/);
|
||||
Win32Look(s.popupiconbar, XP_MENU, 13, 1);
|
||||
s.leftgap = 32;
|
||||
s.textgap = 6;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue