高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】view In Monochrome
view in monochrome
view in monochrome
i have modified this file to view a dwg in one color only with the opengl devices. (in dd_nonlibs\examples\exrender\win folder)
i send it to the forum if someone want to use it
thierry
i add the new propertie to the device like that in my view class :
if(pproperties.get())
{
pproperties->putat("windowhdc", odrxvariantvalue((long)m_hwindowdc));
if (l_device != "wingdi")
pproperties->putat("monochrome", theapp.getmonochrome() ? odrxvariantvalue(true) : odrxvariantvalue(false)); fff">
if(pproperties->has("doublebufferenabled")) // check if property is supported
{
pproperties->putat( "doublebufferenabled", odrxvariantvalue(true));
}
}
attached files
|