paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/test paratest.cpp,1.2.6.5,1.2.6.6


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/test paratest.cpp,1.2.6.5,1.2.6.6
Date: Thu, 25 Jul 2002 09:10:41 -0400

Update of /cvsroot/paragui/paragui/test
In directory subversions:/tmp/cvs-serv1878a/test

Modified Files:
      Tag: devel-1-0
        paratest.cpp 
Log Message:
added template function GetWidgetByName<T> returning the specified widget type



Index: paratest.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/test/paratest.cpp,v
retrieving revision 1.2.6.5
retrieving revision 1.2.6.6
diff -C2 -r1.2.6.5 -r1.2.6.6
*** paratest.cpp        15 Jul 2002 14:29:33 -0000      1.2.6.5
--- paratest.cpp        25 Jul 2002 13:10:39 -0000      1.2.6.6
***************
*** 490,496 ****
            PG_LogMSG("'100' found by ID (name '%s')", tmp->GetName());
            
!       tmp = PG_Application::GetWidgetByName("WindowTwo");
!       if (tmp)
!           PG_LogMSG("'WindowTwo' found by name (id %d)", tmp->GetID());
            
        tmp = PG_Application::GetWidgetById(101);
--- 490,496 ----
            PG_LogMSG("'100' found by ID (name '%s')", tmp->GetName());
            
!       PG_Window* tempw = 
PG_Application::GetWidgetByName<PG_Window>("WindowTwo");
!       if (tempw)
!           PG_LogMSG("'WindowTwo' found by name (id %d)", tempw->GetID());
            
        tmp = PG_Application::GetWidgetById(101);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]