paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/include pgfactory.h,1.2,1.3 pglabel.h,1.4,1.5


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/include pgfactory.h,1.2,1.3 pglabel.h,1.4,1.5 pgwindow.h,1.7,1.8
Date: Wed, 26 Jun 2002 07:45:09 -0400

Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv9911/include

Modified Files:
        pgfactory.h pglabel.h pgwindow.h 
Log Message:
more factory stuff



Index: pgfactory.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgfactory.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pgfactory.h 26 Jun 2002 11:22:17 -0000      1.2
--- pgfactory.h 26 Jun 2002 11:45:07 -0000      1.3
***************
*** 16,20 ****
  template<class T> class PG_FactoryObject : public virtual 
PG_FactoryBaseObject {
  public:
!       static T* CreateObject(PG_Widget* parent = NULL) {
                return new T(parent);
        }
--- 16,20 ----
  template<class T> class PG_FactoryObject : public virtual 
PG_FactoryBaseObject {
  public:
!       static T* CreateObject(PG_Widget* parent) {
                return new T(parent);
        }
***************
*** 23,27 ****
  namespace PG_Factory {
  
!       typedef PG_Widget* (*CREATEFN)(PG_Widget* parent = NULL);
        
        void RegisterCreateFn(const std::string& classname, CREATEFN fn);
--- 23,27 ----
  namespace PG_Factory {
  
!       typedef PG_Widget* (*CREATEFN)(PG_Widget* parent);
        
        void RegisterCreateFn(const std::string& classname, CREATEFN fn);

Index: pglabel.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pglabel.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** pglabel.h   27 Apr 2002 15:36:54 -0000      1.4
--- pglabel.h   26 Jun 2002 11:45:07 -0000      1.5
***************
*** 51,55 ****
        @param style                    initial widget style (from xml theme)
        */
!       PG_Label(PG_Widget* parent, const PG_Rect& r, const char* text, const 
char* style="Label");
  
        /** Only destructor */
--- 51,55 ----
        @param style                    initial widget style (from xml theme)
        */
!       PG_Label(PG_Widget* parent, const PG_Rect& r = PG_Rect(), const char* 
text = "", const char* style="Label");
  
        /** Only destructor */

Index: pgwindow.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgwindow.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** pgwindow.h  2 May 2002 09:50:38 -0000       1.7
--- pgwindow.h  26 Jun 2002 11:45:07 -0000      1.8
***************
*** 55,59 ****
  
        /** */
!       PG_Window(PG_Widget* parent, const PG_Rect& r, const char* windowtext, 
Uint32 flags = WF_DEFAULT, const char* style="Window", int heightTitlebar = 25);
  
        /** */
--- 55,59 ----
  
        /** */
!       PG_Window(PG_Widget* parent, const PG_Rect& r = PG_Rect(), const char* 
windowtext = "", Uint32 flags = WF_DEFAULT, const char* style="Window", int 
heightTitlebar = 25);
  
        /** */
***************
*** 67,70 ****
--- 67,72 ----
  
        int RunModal();
+       
+       void SetTitle(const char* title);
        
        PG_SignalWindowClose sigWindowClose;




reply via email to

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