Mercurial > pidgin
view console/libgnt/gntcolors.h @ 13932:e18155a11d1c
[gaim-migrate @ 16459]
Two changes here:
1. When auto-linkifying a URL, if \r\n immediately follows the address,
don't include the \r as a part of the URL.
2. When replacing \n with <br> in a given string, if the string
contained any \r's then the end of the string would have a number
of unintialized characters at the end equal to the number of \r's
that were removed.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 08 Jul 2006 07:26:57 +0000 |
parents | a621329e8c85 |
children | 0a0d2a1fd2bc |
line wrap: on
line source
#ifndef GNT_COLORS_H #define GNT_COLORS_H typedef enum { GNT_COLOR_NORMAL = 1, GNT_COLOR_HIGHLIGHT, /* eg. when a button is selected */ GNT_COLOR_DISABLED, /* eg. when a button is disabled */ GNT_COLOR_HIGHLIGHT_D, /* eg. when a button is selected, but some other window is in focus */ GNT_COLOR_TEXT_NORMAL, GNT_COLOR_TEXT_INACTIVE, /* when the entry is out of focus */ GNT_COLOR_MNEMONIC, GNT_COLOR_MNEMONIC_D, GNT_COLOR_SHADOW, GNT_COLOR_TITLE, GNT_COLOR_TITLE_D, GNT_COLORS } GntColorType; enum { GNT_COLOR_BLACK = 0, GNT_COLOR_RED, GNT_COLOR_GREEN, GNT_COLOR_BLUE, GNT_COLOR_WHITE, GNT_COLOR_GRAY, GNT_COLOR_DARK_GRAY, GNT_TOTAL_COLORS }; /* populate some default colors */ void gnt_init_colors(); #endif