From: <zou...@us...> - 2008-02-12 21:18:39
|
Revision: 1005 http://dcplusplus.svn.sourceforge.net/dcplusplus/?rev=1005&view=rev Author: zouzou123gen Date: 2008-02-12 13:18:34 -0800 (Tue, 12 Feb 2008) Log Message: ----------- fix bold font for menu titles Modified Paths: -------------- dcplusplus/trunk/smartwin/source/widgets/WidgetMenu.cpp Modified: dcplusplus/trunk/smartwin/source/widgets/WidgetMenu.cpp =================================================================== --- dcplusplus/trunk/smartwin/source/widgets/WidgetMenu.cpp 2008-02-12 20:58:39 UTC (rev 1004) +++ dcplusplus/trunk/smartwin/source/widgets/WidgetMenu.cpp 2008-02-12 21:18:34 UTC (rev 1005) @@ -61,7 +61,7 @@ { LOGFONT lf; ::GetObject((HFONT)GetStockObject(DEFAULT_GUI_FONT), sizeof(lf), &lf); - lf.lfWeight *= 2; // bolder + lf.lfWeight = FW_BOLD; itsTitleFont = SmartWin::FontPtr(new SmartWin::Font(::CreateFontIndirect(&lf), true)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |