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

Daniel Burrows dburrows@costa.debian.org
Tue, 07 Jun 2005 01:45:52 +0000


Author: dburrows
Date: Tue Jun  7 01:45:50 2005
New Revision: 3343

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/vscreen.cc
Log:
Change default style setings: remove unnecessary reverses and
fix the color of highlighted multiplexer tabs.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Jun  7 01:45:50 2005
@@ -1,5 +1,10 @@
 2005-06-06  Daniel Burrows  <dburrows@debian.org>
 
+	* src/vscreen/vscreen.cc:
+
+	Fix the color of highlighted multiplexer tabs, and get rid of
+	unnecessary reverse attributes.
+
 	* src/vscreen/testvscreen.cc:
 
 	Also make sure that the scrollbar fills its vertical space. (this

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vscreen.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vscreen.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vscreen.cc	Tue Jun  7 01:45:50 2005
@@ -309,14 +309,14 @@
 
   set_style("MenuEntry", style_fg(COLOR_WHITE)+style_bg(COLOR_BLUE));
   set_style("MenuBorder", style_fg(COLOR_WHITE)+style_bg(COLOR_BLUE)+style_attrs_on(A_BOLD));
-  set_style("HighlightedMenuEntry", style_fg(COLOR_WHITE)+style_bg(COLOR_BLUE)+style_attrs_flip(A_REVERSE));
+  set_style("HighlightedMenuEntry", style_fg(COLOR_BLUE)+style_bg(COLOR_WHITE));
   set_style("DisabledMenuEntry",
 	    style_fg(COLOR_BLACK)+style_bg(COLOR_BLUE)+style_attrs_on(A_DIM));
   set_style("MenuBar", style_fg(COLOR_WHITE)+style_bg(COLOR_BLUE)+style_attrs_on(A_BOLD));
-  set_style("HighlightedMenuBar", style_fg(COLOR_WHITE)+style_bg(COLOR_BLUE)+style_attrs_flip(A_REVERSE));
+  set_style("HighlightedMenuBar", style_fg(COLOR_BLUE)+style_bg(COLOR_WHITE));
 
   set_style("MultiplexTab", style_fg(COLOR_WHITE)+style_bg(COLOR_BLUE));
-  set_style("MultiplexTabHighlighted", style_attrs_flip(A_REVERSE));
+  set_style("MultiplexTabHighlighted", style_fg(COLOR_BLUE)+style_bg(COLOR_WHITE));
 
   // Edit lines will *always* appear white-on-black.
   set_style("EditLine", style_fg(COLOR_WHITE)+style_bg(COLOR_BLACK));