[Aptitude-devel] r3165 - in branches/aptitude-0.3/aptitude: . src/vscreen
Daniel Burrows
dburrows@costa.debian.org
Thu, 28 Apr 2005 02:16:31 +0000
Author: dburrows
Date: Thu Apr 28 02:16:28 2005
New Revision: 3165
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/vs_multiplex.cc
branches/aptitude-0.3/aptitude/src/vscreen/vs_multiplex.h
Log:
Add a way to create a tabbed multiplex.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Thu Apr 28 02:16:28 2005
@@ -1,5 +1,9 @@
2005-04-27 Daniel Burrows <dburrows@debian.org>
+ * src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h:
+
+ Oh yeah, make it possible to actually turn on the tab support.
+
* doc/en/aptitude.xml, src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h, src/vscreen/vscreen.cc:
Add theoretical support for 'tabbed' multiplexes (untested as
Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_multiplex.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_multiplex.cc (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_multiplex.cc Thu Apr 28 02:16:28 2005
@@ -29,8 +29,8 @@
using namespace std;
-vs_multiplex::vs_multiplex()
- :vs_passthrough(), visible_child(children.end())
+vs_multiplex::vs_multiplex(bool _show_tabs)
+ :vs_passthrough(), visible_child(children.end()), show_tabs(_show_tabs)
{
do_layout.connect(sigc::mem_fun(*this, &vs_multiplex::layout_me));
Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_multiplex.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_multiplex.h (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_multiplex.h Thu Apr 28 02:16:28 2005
@@ -77,7 +77,7 @@
protected:
bool winavail() {return get_win();}
public:
- vs_multiplex();
+ vs_multiplex(bool _show_tabs=false);
virtual ~vs_multiplex();
/** Returns the maximum width requested by any child. */