[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/test factory.cpp,1.4,1.5 pokus.xml,1.1.1.1,1.
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/test factory.cpp,1.4,1.5 pokus.xml,1.1.1.1,1.2 xmlloader.cpp,1.2,1.3 |
Date: |
Fri, 28 Jun 2002 05:29:59 -0400 |
Update of /cvsroot/paragui/paragui/test
In directory subversions:/tmp/cvs-serv11008/test
Modified Files:
factory.cpp pokus.xml xmlloader.cpp
Log Message:
more work on the new XML layout loader
Index: factory.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/test/factory.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** factory.cpp 26 Jun 2002 16:00:21 -0000 1.4
--- factory.cpp 28 Jun 2002 09:29:57 -0000 1.5
***************
*** 17,26 ****
app.SetEmergencyQuit(true);
! PG_Factory::RegisterClass<PG_ThemeWidget>("themewidget");
! PG_Factory::RegisterClass<PG_Button>("button");
! PG_Factory::RegisterClass<PG_Window>("window");
! PG_Factory::RegisterClass<PG_Label>("label");
! MyFactory::RegisterClass<PG_Label>(1);
PG_Widget* w = PG_Factory::CreateObject("themewidget");
--- 17,26 ----
app.SetEmergencyQuit(true);
! PG_Factory::RegisterClass<PG_ThemeWidget, PG_Widget>("themewidget");
! PG_Factory::RegisterClass<PG_Button, PG_Widget>("button");
! PG_Factory::RegisterClass<PG_Window, PG_Widget>("window");
! PG_Factory::RegisterClass<PG_Label, PG_Widget>("label");
! MyFactory::RegisterClass<PG_Label, PG_Widget>(1);
PG_Widget* w = PG_Factory::CreateObject("themewidget");
Index: pokus.xml
===================================================================
RCS file: /cvsroot/paragui/paragui/test/pokus.xml,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** pokus.xml 15 Apr 2002 13:22:29 -0000 1.1.1.1
--- pokus.xml 28 Jun 2002 09:29:57 -0000 1.2
***************
*** 49,59 ****
<listbox pos="360,500,100,90" multisel="0">
! <listboxitem height="15" ltext="First" select="1"/>
! <listboxitem height="15" ltext="Second"/>
! <listboxitem height="15" ltext="Third" select="1"/>
! <listboxitem height="15" ltext="Fouth" select="1"/>
! <listboxitem height="15" ltext="Fifth"/>
! <listboxitem height="15" ltext="Sixth"/>
! <listboxitem height="15" ltext="Seventh"/>
</listbox>
--- 49,59 ----
<listbox pos="360,500,100,90" multisel="0">
! <listboxitem height="15" text="First" select="1"/>
! <listboxitem height="15" text="Second"/>
! <listboxitem height="15" text="Third" select="1"/>
! <listboxitem height="15" text="Fouth" select="1"/>
! <listboxitem height="15" text="Fifth"/>
! <listboxitem height="15" text="Sixth"/>
! <listboxitem height="15" text="Seventh"/>
</listbox>
Index: xmlloader.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/test/xmlloader.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** xmlloader.cpp 27 Jun 2002 15:37:44 -0000 1.2
--- xmlloader.cpp 28 Jun 2002 09:29:57 -0000 1.3
***************
*** 4,8 ****
--- 4,14 ----
#include "pgfactory.h"
+ #include "pgthemewidget.h"
#include "pgbutton.h"
+ #include "pgwindow.h"
+ #include "pglabel.h"
+ #include "pglistbox.h"
+ #include "pglistboxitem.h"
+ #include "pgwidgetlist.h"
int main() {
***************
*** 20,24 ****
}
! PG_Factory::RegisterClass<PG_Button>("button");
PG_XMLLayoutLoader xmlloader;
--- 26,37 ----
}
! PG_Factory::RegisterClass<PG_Button, PG_Widget>("button");
! PG_Factory::RegisterClass<PG_Window, PG_Widget>("window");
! PG_Factory::RegisterClass<PG_Label, PG_Widget>("label");
! PG_Factory::RegisterClass<PG_ThemeWidget, PG_Widget>("gradientwidget");
! PG_Factory::RegisterClass<PG_ThemeWidget, PG_Widget>("themewidget");
! PG_Factory::RegisterClass<PG_ListBox, PG_Widget>("listbox");
! PG_Factory::RegisterClass<PG_ListBoxItem, PG_ListBox>("listboxitem");
! PG_Factory::RegisterClass<PG_WidgetList, PG_Widget>("widgetlist");
PG_XMLLayoutLoader xmlloader;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/test factory.cpp,1.4,1.5 pokus.xml,1.1.1.1,1.2 xmlloader.cpp,1.2,1.3,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/include pgfactory.h,1.7,1.8 pglabel.h,1.5,1.6 pgxmllayoutloader.h,1.3,1.4 pgxmltag.h,1.1,1.2
- Next by Date:
[paragui-cvs] CVS: paragui/src/widgets pglistboxbaseitem.cpp,1.6,1.7 pglistboxitem.cpp,1.7,1.8
- Previous by thread:
[paragui-cvs] CVS: paragui/include pgfactory.h,1.7,1.8 pglabel.h,1.5,1.6 pgxmllayoutloader.h,1.3,1.4 pgxmltag.h,1.1,1.2
- Next by thread:
[paragui-cvs] CVS: paragui/src/widgets pglistboxbaseitem.cpp,1.6,1.7 pglistboxitem.cpp,1.7,1.8
- Index(es):