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

Daniel Burrows dburrows@costa.debian.org
Sat, 04 Jun 2005 17:24:56 +0000


Author: dburrows
Date: Sat Jun  4 17:24:54 2005
New Revision: 3301

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/fragment.h
Log:
Clarify layout()'s guarantees.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Jun  4 17:24:54 2005
@@ -1,5 +1,9 @@
 2005-06-04  Daniel Burrows  <dburrows@debian.org>
 
+	* src/vscreen/fragment.h:
+
+	Add a note clarifying the guarantees provided by layout().
+
 	* src/vscreen/vs_button.cc, src/vscreen/vs_button.h:
 
 	Fix the vs_button class for the new display protocol.

Modified: branches/aptitude-0.3/aptitude/src/vscreen/fragment.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/fragment.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/fragment.h	Sat Jun  4 17:24:54 2005
@@ -32,7 +32,8 @@
    *  \param w the width to which subsequent lines of the fragment
    *  should be formatted.
    *
-   *  \param s the enclosing style of this fragment
+   *  \param s the enclosing style of this fragment.  The fragment's
+   *  size is guaranteed to be independent of s.
    *
    *  \return the lines of this fragment; the caller is responsible
    *  for deleting it.