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

Daniel Burrows dburrows@costa.debian.org
Tue, 07 Jun 2005 18:55:07 +0000


Author: dburrows
Date: Tue Jun  7 18:55:05 2005
New Revision: 3380

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/vs_statuschoice.cc
   branches/aptitude-0.3/aptitude/src/vscreen/vs_statuschoice.h
Log:
Update the status-choice widget for styles.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Jun  7 18:55:05 2005
@@ -1,5 +1,9 @@
 2005-06-07  Daniel Burrows  <dburrows@debian.org>
 
+	* src/vscreen/vs_statuschoice.cc, src/vscreen/vs_statuschoice.h:
+
+	Update the statuschoice widget for styles.
+
 	* src/vs_progress.cc, src/vs_progress.h:
 
 	Update the vs_progress code for styles.

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_statuschoice.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_statuschoice.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_statuschoice.cc	Tue Jun  7 18:55:05 2005
@@ -1,6 +1,6 @@
 // vs_statuschoice.cc
 //
-//  Copyright 2000 Daniel Burrows
+//  Copyright 2000, 2004-2005 Daniel Burrows
 //
 //  This program is free software; you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
@@ -59,7 +59,7 @@
     }
 }
 
-void vs_statuschoice::paint()
+void vs_statuschoice::paint(const style &st)
 {
   string todisp=prompt+" ["+choices[0]+"]";
   for(unsigned int i=1; i<choices.size(); i++)

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_statuschoice.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_statuschoice.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_statuschoice.h	Tue Jun  7 18:55:05 2005
@@ -1,6 +1,6 @@
 // vs_statuschoice.h   -*-c++-*-
 //
-//  Copyright 2000 Daniel Burrows
+//  Copyright 2000, 2004-2005 Daniel Burrows
 //
 //  This program is free software; you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
@@ -59,7 +59,7 @@
 
   bool focus_me() {return true;}
 
-  void paint();
+  void paint(const style &st);
 
   sigc::signal1<void, int> chosen;
   // Called when one of the choices is selected (the arguments is the