[Wgui-cvs] wgui/src wg_frame.cpp,1.33,1.34 wg_textbox.cpp,1.35,1.36
Status: Beta
Brought to you by:
greenwire
|
From: Rob W. <gre...@us...> - 2006-02-15 16:09:38
|
Update of /cvsroot/wgui/wgui/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25476/src Modified Files: wg_frame.cpp wg_textbox.cpp Log Message: Textbox warning fix and CFrame transparency-while-dragging disabled. Index: wg_textbox.cpp =================================================================== RCS file: /cvsroot/wgui/wgui/src/wg_textbox.cpp,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** wg_textbox.cpp 11 Feb 2006 00:05:29 -0000 1.35 --- wg_textbox.cpp 15 Feb 2006 16:09:27 -0000 1.36 *************** *** 777,781 **** if (pKeyboardMessage->Modifiers & KMOD_SHIFT) { ! m_SelLength = endPos; } else --- 777,781 ---- if (pKeyboardMessage->Modifiers & KMOD_SHIFT) { ! m_SelLength = stdex::safe_static_cast<long int>(endPos); } else Index: wg_frame.cpp =================================================================== RCS file: /cvsroot/wgui/wgui/src/wg_frame.cpp,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** wg_frame.cpp 29 Dec 2005 13:46:19 -0000 1.33 --- wg_frame.cpp 15 Feb 2006 16:09:27 -0000 1.34 *************** *** 152,158 **** } } ! // this is a quick trick to convert the surface to being semi-transparent ! CPainter Painter(&FloatingSurface, CPainter::PAINT_AND); ! Painter.DrawRect(m_FrameGhostRect + Offset, true, CRGBColor(0xFF, 0xFF, 0xFF, 0x80), CRGBColor(0xFF, 0xFF, 0xFF, 0x80)); } } --- 152,159 ---- } } ! // // this is a quick trick to convert the surface to being semi-transparent ! // this is temporarily disabled due to it causing a crash when the frame extends beyond the borders of the parent view ! // CPainter Painter(&FloatingSurface, CPainter::PAINT_AND); ! // Painter.DrawRect(m_FrameGhostRect + Offset, true, CRGBColor(0xFF, 0xFF, 0xFF, 0x80), CRGBColor(0xFF, 0xFF, 0xFF, 0x80)); } } |