[Swift-commit] r5827 - trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Jul 12 12:40:02 CDT 2012


Author: hategan
Date: 2012-07-12 12:40:02 -0500 (Thu, 12 Jul 2012)
New Revision: 5827

Modified:
   trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/Frame.java
Log:
invert frame title colors; looks nicer

Modified: trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/Frame.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/Frame.java	2012-07-12 17:34:24 UTC (rev 5826)
+++ trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/Frame.java	2012-07-12 17:40:02 UTC (rev 5827)
@@ -42,7 +42,8 @@
 			}
 
 			context.frame(sx, sy, width, height);
-			context.bgColor(bgColor);
+			context.bgColor(fgColor);
+			context.fgColor(bgColor);
 			if (title != null) {
 				int tl = title.length() + 2;
 				int space = width - tl;




More information about the Swift-commit mailing list