[Aptitude-svn-commit] r3353 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Tue, 07 Jun 2005 05:43:30 +0000
Author: dburrows
Date: Tue Jun 7 05:43:28 2005
New Revision: 3353
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/pkg_ver_item.cc
branches/aptitude-0.3/aptitude/src/pkg_ver_item.h
Log:
Fill in a missing virtual method on pkg_ver_item.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Jun 7 05:43:28 2005
@@ -1,5 +1,9 @@
2005-06-06 Daniel Burrows <dburrows@debian.org>
+ * src/pkg_ver_item.cc:
+
+ Fill in the virtual method "paint" of pkg_ver_item.
+
* src/defaults.cc:
Change the assignment of default colors to an assignment of
Modified: branches/aptitude-0.3/aptitude/src/pkg_ver_item.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/pkg_ver_item.cc (original)
+++ branches/aptitude-0.3/aptitude/src/pkg_ver_item.cc Tue Jun 7 05:43:28 2005
@@ -497,7 +497,8 @@
return A_BOLD|normal_attr;
}
-void pkg_ver_item::paint(vs_tree *win, int y, bool hierarchical)
+void pkg_ver_item::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/pkg_ver_item.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/pkg_ver_item.h (original)
+++ branches/aptitude-0.3/aptitude/src/pkg_ver_item.h Tue Jun 7 05:43:28 2005
@@ -1,6 +1,6 @@
// pkg_ver_item.h (This is -*-c++-*-)
//
-// Copyright 1999,2000,2001 Daniel Burrows
+// Copyright 1999-2002, 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
@@ -50,7 +50,8 @@
const pkgCache::VerIterator &get_version() const {return version;}
virtual int get_normal_attr();
- virtual void paint(vs_tree *win, int y, bool hierarchical);
+ virtual void paint(vs_tree *win, int y, bool hierarchical,
+ const style &st);
virtual const char *tag() const;
virtual const char *label() const;