[Aptitude-svn-commit] r3322 - in branches/aptitude-0.3/aptitude: . src/vscreen
Daniel Burrows
dburrows@costa.debian.org
Mon, 06 Jun 2005 18:16:08 +0000
Author: dburrows
Date: Mon Jun 6 18:16:06 2005
New Revision: 3322
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/vs_text_layout.h
Log:
Fix compile errors in the text layout header.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Mon Jun 6 18:16:06 2005
@@ -1,5 +1,10 @@
2005-06-06 Daniel Burrows <dburrows@debian.org>
+ * src/vscreen/vs_text_layout.h:
+
+ D'oh, update the signature of freshen_contents() and make lastst
+ non-const.
+
* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
Finish updating the text_layout widget: include style information
Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_text_layout.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_text_layout.h (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_text_layout.h Mon Jun 6 18:16:06 2005
@@ -125,7 +125,7 @@
void set_start(unsigned int new_start);
/** Update the cached contents of the widget, if necessary. */
- void freshen_contents();
+ void freshen_contents(const style &st);
/** Called when this needs layout. */
void layout_me();
@@ -149,7 +149,7 @@
int lastw;
/** The enclosing display style the last time we updated the cached contents. */
- const style lastst;
+ style lastst;
};
#endif