[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/test layouttest.cpp,1.1.1.1.6.1,1.1.1.1.6.2 l
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/test layouttest.cpp,1.1.1.1.6.1,1.1.1.1.6.2 listbox.cpp,1.1.2.5,1.1.2.6 pokus.xml,1.1.1.1,1.1.1.1.6.1 |
Date: |
Sun, 06 Apr 2003 08:13:09 -0400 |
Update of /cvsroot/paragui/paragui/test
In directory subversions:/tmp/cvs-serv19547/test
Modified Files:
Tag: devel-1-0
layouttest.cpp listbox.cpp pokus.xml
Log Message:
layout-loader fixes
Index: layouttest.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/test/layouttest.cpp,v
retrieving revision 1.1.1.1.6.1
retrieving revision 1.1.1.1.6.2
diff -C2 -r1.1.1.1.6.1 -r1.1.1.1.6.2
*** layouttest.cpp 14 Jun 2002 13:48:54 -0000 1.1.1.1.6.1
--- layouttest.cpp 6 Apr 2003 12:13:07 -0000 1.1.1.1.6.2
***************
*** 17,25 ****
}
! PG_Window wnd(NULL, PG_Rect(0,0,400,300), "Test");
! wnd.LoadLayout("pokus.xml");
!
! SDL_Delay(2000);
! wnd.Show();
// Enter main loop
--- 17,21 ----
}
! app.LoadLayout("pokus.xml");
// Enter main loop
Index: listbox.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/test/Attic/listbox.cpp,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -r1.1.2.5 -r1.1.2.6
*** listbox.cpp 5 Apr 2003 14:48:33 -0000 1.1.2.5
--- listbox.cpp 6 Apr 2003 12:13:07 -0000 1.1.2.6
***************
*** 33,36 ****
--- 33,37 ----
PG_ListBox listbox(NULL, PG_Rect(10,10,300,100));
listbox.SetEventCallback(MSG_SELECTITEM, handleListBoxItem);
+ listbox.Show();
PG_ListBoxItem* items[10];
***************
*** 49,54 ****
listbox.AddItem(items[i]);
}
!
! listbox.Show();
app.Run();
--- 50,54 ----
listbox.AddItem(items[i]);
}
! listbox.Update();
app.Run();
Index: pokus.xml
===================================================================
RCS file: /cvsroot/paragui/paragui/test/pokus.xml,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.6.1
diff -C2 -r1.1.1.1 -r1.1.1.1.6.1
*** pokus.xml 15 Apr 2002 13:22:29 -0000 1.1.1.1
--- pokus.xml 6 Apr 2003 12:13:07 -0000 1.1.1.1.6.1
***************
*** 6,10 ****
<menubar pos="100,50,300,25">
! <popupmenu text="test" hide="1">
<popupmenuitem caption="item1" id="1"/>
<popupmenuitem caption="item2" id="2"/>
--- 6,10 ----
<menubar pos="100,50,300,25">
! <popupmenu text="test">
<popupmenuitem caption="item1" id="1"/>
<popupmenuitem caption="item2" id="2"/>
***************
*** 12,21 ****
<popupmenuitem caption="item4" id="4"/>
</popupmenu>
! <popupmenu text="test2" hide="1">
<popupmenuitem caption="item1" id="1"/>
</popupmenu>
</menubar>
! <button text="button3" id="7" pos="10,10,80,30" toggle="1"
pressed="1" border="5,10,15" transparency="0,128,255"/>
<button text="grad button" id="7" pos="90,150,100,20"
upgrad="255,0,0, 0,255,0, 0,0,255, 255,255,0" downgrad="0,255,0, 0,0,255,
0,0,0, 255,255,255" selgrad="0,0,255, 0,0,0, 255,0,0, 0,255,255"/>
--- 12,21 ----
<popupmenuitem caption="item4" id="4"/>
</popupmenu>
! <popupmenu text="test2">
<popupmenuitem caption="item1" id="1"/>
</popupmenu>
</menubar>
! <button text="button3" id="7" pos="10,10,80,30" toggle="1"
pressed="1" border="5,10,15" transparency="0,128,255" hide="1"/>
<button text="grad button" id="7" pos="90,150,100,20"
upgrad="255,0,0, 0,255,0, 0,0,255, 255,255,0" downgrad="0,255,0, 0,0,255,
0,0,0, 255,255,255" selgrad="0,0,255, 0,0,0, 255,0,0, 0,255,255"/>
***************
*** 51,56 ****
<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"/>
--- 51,56 ----
<listboxitem height="15" ltext="First" select="1"/>
<listboxitem height="15" ltext="Second"/>
! <listboxitem height="15" ltext="Third"/>
! <listboxitem height="15" ltext="Fouth"/>
<listboxitem height="15" ltext="Fifth"/>
<listboxitem height="15" ltext="Sixth"/>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/test layouttest.cpp,1.1.1.1.6.1,1.1.1.1.6.2 listbox.cpp,1.1.2.5,1.1.2.6 pokus.xml,1.1.1.1,1.1.1.1.6.1,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/src/widgets pglayout.cpp,1.2.6.6,1.2.6.7 pgwidgetlist.cpp,1.3.6.6,1.3.6.7
- Next by Date:
[paragui-cvs] CVS: paragui paragui.spec.in,1.1.6.1,1.1.6.2
- Previous by thread:
[paragui-cvs] CVS: paragui/src/widgets pglayout.cpp,1.2.6.6,1.2.6.7 pgwidgetlist.cpp,1.3.6.6,1.3.6.7
- Next by thread:
[paragui-cvs] CVS: paragui paragui.spec.in,1.1.6.1,1.1.6.2
- Index(es):