Update of /cvsroot/wgui/wgui/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23873/tests
Modified Files:
TestFrame2.cpp TestView2.cpp
Log Message:
CFrame fixes.
Index: TestFrame2.cpp
===================================================================
RCS file: /cvsroot/wgui/wgui/tests/TestFrame2.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** TestFrame2.cpp 25 Jun 2004 19:37:51 -0000 1.7
--- TestFrame2.cpp 23 Nov 2004 23:05:17 -0000 1.8
***************
*** 36,40 ****
wGui::CFrame(wGui::CRect(0, 0, 140, 80) + Location, pParent, pFontEngine, "Simple Frame", false)
{
! m_pButton = new wGui::CButton(ClientToView(wGui::CRect(20, 20, 150, 40)), this, "Test Button");
}
--- 36,40 ----
wGui::CFrame(wGui::CRect(0, 0, 140, 80) + Location, pParent, pFontEngine, "Simple Frame", false)
{
! m_pButton = new wGui::CButton(wGui::CRect(20, 20, 150, 40), this, "Test Button");
}
Index: TestView2.cpp
===================================================================
RCS file: /cvsroot/wgui/wgui/tests/TestView2.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** TestView2.cpp 25 Jun 2004 19:37:51 -0000 1.9
--- TestView2.cpp 23 Nov 2004 23:05:28 -0000 1.10
***************
*** 27,31 ****
CTestView::CTestView(void) :
! wGui::CView(wGui::CRect(0, 0, 800, 600), "Test App 2", false, true)
{
SetWindowText(std::string("Test App 2 - wGui version ") + wGui::CwgStringResourceHandle(wGui::WGRES_VERSION_STRING).String());
--- 27,31 ----
CTestView::CTestView(void) :
! wGui::CView(wGui::CRect(0, 0, 800, 600), "Test App 2", true, false)
{
SetWindowText(std::string("Test App 2 - wGui version ") + wGui::CwgStringResourceHandle(wGui::WGRES_VERSION_STRING).String());
|