[Aptitude-svn-commit] r3319 - in branches/aptitude-0.3/aptitude: . src/vscreen

Daniel Burrows dburrows@costa.debian.org
Mon, 06 Jun 2005 17:59:25 +0000


Author: dburrows
Date: Mon Jun  6 17:59:22 2005
New Revision: 3319

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/vs_table.cc
   branches/aptitude-0.3/aptitude/src/vscreen/vs_table.h
Log:
Update the vs_table widget for the new display protocol.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Mon Jun  6 17:59:22 2005
@@ -1,5 +1,9 @@
 2005-06-06  Daniel Burrows  <dburrows@debian.org>
 
+	* src/vscreen/vs_table.cc, src/vscreen/vs_table.h:
+
+	Update the vs_table widget for the new display protocol.
+
 	* src/vscreen/vs_togglebutton.cc:
 
 	Update the vs_togglebutton widget for the new display protocol.

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_table.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_table.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_table.cc	Mon Jun  6 17:59:22 2005
@@ -1307,11 +1307,11 @@
       i->w->alloc_size(0, 0, 0, 0);
 }
 
-void vs_table::paint()
+void vs_table::paint(const style &st)
 {
   for(childlist::iterator i=children.begin(); i!=children.end(); ++i)
     if(i->w->get_visible())
-      i->w->display();
+      i->w->display(st);
 }
 
 void vs_table::dispatch_mouse(short id, int x, int y, int z, mmask_t bstate)

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_table.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_table.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_table.h	Mon Jun  6 17:59:22 2005
@@ -185,7 +185,7 @@
    */
   int height_request(int w);
 
-  void paint();
+  void paint(const style &st);
   void dispatch_mouse(short id, int x, int y, int z, mmask_t bstate);
 
   static keybindings *bindings;