src/gtkconv.c

changeset 12354
899c1084b442
parent 12353
5c4a1dd6a671
child 12356
2d10c7761f17
equal deleted inserted replaced
12353:5c4a1dd6a671 12354:899c1084b442
105 105
106 #define NUM_NICK_COLORS (sizeof(nick_colors) / sizeof(*nick_colors)) 106 #define NUM_NICK_COLORS (sizeof(nick_colors) / sizeof(*nick_colors))
107 #endif 107 #endif
108 108
109 /* From http://www.w3.org/TR/AERT#color-contrast */ 109 /* From http://www.w3.org/TR/AERT#color-contrast */
110 #define MIN_BRIGHTNESS_CONTRAST 125 110 #define MIN_BRIGHTNESS_CONTRAST 75
111 #define MIN_COLOR_CONTRAST 500 111 #define MIN_COLOR_CONTRAST 200
112 112
113 #define NUM_NICK_COLORS 220 113 #define NUM_NICK_COLORS 220
114 static GdkColor *nick_colors = NULL; 114 static GdkColor *nick_colors = NULL;
115 115
116 typedef struct { 116 typedef struct {

mercurial