changeset 785:7e0562e3bc83

Replace color_highlight with color_msgout
author Mikael Berthe <mikael@lilotux.net>
date Sun, 02 Apr 2006 23:11:55 +0200
parents d7f3b58db522
children 23f7e4f47235
files mcabber/contrib/themes/light.txt mcabber/contrib/themes/light2.txt mcabber/contrib/themes/oliver.txt mcabber/mcabberrc.example mcabber/src/screen.c mcabber/src/screen.h
diffstat 6 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/contrib/themes/light.txt	Sun Apr 02 22:45:05 2006 +0200
+++ b/mcabber/contrib/themes/light.txt	Sun Apr 02 23:11:55 2006 +0200
@@ -3,7 +3,7 @@
 
 set color_background   = white
 set color_general      = black
-set color_highlight    = cyan
+set color_msgout       = cyan
 set color_bgstatus     = black
 set color_status       = green
 set color_roster       = blue
--- a/mcabber/contrib/themes/light2.txt	Sun Apr 02 22:45:05 2006 +0200
+++ b/mcabber/contrib/themes/light2.txt	Sun Apr 02 23:11:55 2006 +0200
@@ -3,7 +3,7 @@
 
 set color_background   = white
 set color_general      = black
-set color_highlight    = blue
+set color_msgout       = blue
 set color_bgstatus     = black
 set color_status       = brightcyan
 set color_roster       = magenta
--- a/mcabber/contrib/themes/oliver.txt	Sun Apr 02 22:45:05 2006 +0200
+++ b/mcabber/contrib/themes/oliver.txt	Sun Apr 02 23:11:55 2006 +0200
@@ -3,7 +3,7 @@
 
 set color_background   = blue
 set color_general      = white
-set color_highlight    = cyan
+set color_msgout       = cyan
 set color_bgstatus     = yellow
 set color_status       = red
 set color_roster       = cyan
--- a/mcabber/mcabberrc.example	Sun Apr 02 22:45:05 2006 +0200
+++ b/mcabber/mcabberrc.example	Sun Apr 02 23:11:55 2006 +0200
@@ -144,7 +144,7 @@
 #
 # background: background color of the chat window and the log window
 # general:    text color in the chat window and the log window
-# highlight:  text color in the chat window for highlighted lines
+# msgout:     text color in the chat window for outgoing messages
 # bgstatus:   background color of the status lines
 # status:     text color of the status lines
 # roster:     text color of the roster (buddylist) normal items
@@ -155,7 +155,7 @@
 #
 #set color_background   = black
 #set color_general      = white
-#set color_highlight    = cyan
+#set color_msgout       = cyan
 #set color_bgstatus     = blue
 #set color_status       = white
 #set color_roster       = green
--- a/mcabber/src/screen.c	Sun Apr 02 22:45:05 2006 +0200
+++ b/mcabber/src/screen.c	Sun Apr 02 23:11:55 2006 +0200
@@ -143,7 +143,7 @@
   const char *colors[] = {
     "", "",
     "general",
-    "highlight",
+    "msgout",
     "status",
     "roster",
     "rostersel",
@@ -190,7 +190,7 @@
           init_pair(i+1, ((color) ? FindColor(color) : COLOR_WHITE),
                     FindColor(background));
           break;
-      case COLOR_HIGHLIGHT:
+      case COLOR_MSGOUT:
           init_pair(i+1, ((color) ? FindColor(color) : COLOR_CYAN),
                     FindColor(background));
           break;
@@ -483,7 +483,7 @@
     // You need to set it to the whole prefix length + 1
     if (line) {
       if (line->flags & HBB_PREFIX_HLIGHT)
-        wattrset(win_entry->win, get_color(COLOR_HIGHLIGHT));
+        wattrset(win_entry->win, get_color(COLOR_MSGOUT));
 
       if (line->timestamp) {
         strftime(date, 30, "%m-%d %H:%M", localtime(&line->timestamp));
--- a/mcabber/src/screen.h	Sun Apr 02 22:45:05 2006 +0200
+++ b/mcabber/src/screen.h	Sun Apr 02 23:11:55 2006 +0200
@@ -18,7 +18,7 @@
 
 enum colors {
   COLOR_GENERAL = 3,
-  COLOR_HIGHLIGHT,
+  COLOR_MSGOUT,
   COLOR_STATUS,
   COLOR_ROSTER,
   COLOR_ROSTERSEL,