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

Daniel Burrows dburrows at costa.debian.org
Tue Aug 9 19:35:53 UTC 2005


Author: dburrows
Date: Tue Aug  9 19:35:50 2005
New Revision: 3787

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.cc
   branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.h
Log:
Implement paint to make vs_staticitem concrete.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Aug  9 19:35:50 2005
@@ -1,5 +1,9 @@
 2005-08-09  Daniel Burrows  <dburrows at debian.org>
 
+	* src/vscreen/vs_staticitem.cc, src/vscreen/vs_staticitem.h:
+
+	  Make vs_staticitem a concrete class.
+
 	* src/vscreen/vscreen.cc:
 
 	  When trapping KEY_RESIZE, check first that we have a

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.cc	Tue Aug  9 19:35:50 2005
@@ -1,6 +1,6 @@
 // vs_staticitem.cc
 //
-//  Copyright 2000 Daniel Burrows
+//  Copyright 2000, 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
@@ -22,7 +22,7 @@
 #include "vs_staticitem.h"
 #include "vs_tree.h"
 
-void vs_staticitem::paint(vs_tree *win, int y, bool hierarchical)
+void vs_staticitem::paint(vs_tree *win, int y, bool hierarchical, const style &st)
 {
   int basex=hierarchical?2*get_depth():0;
   int width,height;

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_staticitem.h	Tue Aug  9 19:35:50 2005
@@ -30,7 +30,7 @@
 public:
   vs_staticitem(std::wstring _name, std::wstring _value)
     :vs_treeitem(false),name(_name),value(_value) {}
-  void paint(vs_tree *win, int y, bool hierarchical);
+  void paint(vs_tree *win, int y, bool hierarchical, const style &st);
   const wchar_t *tag() const {return value.c_str();}
   const wchar_t *label() const {return value.c_str();}
 };



More information about the Aptitude-svn-commit mailing list