Go to the source code of this file.
Functions | |
void | color_dump (void) |
Display all the colours in the Pager. | |
const char * | color_log_attrs_list (int attrs) |
Get a string to represent some attributes in the log. | |
void | color_log_color_attrs (struct AttrColor *ac, struct Buffer *swatch) |
Get a colourful string to represent a colour in the log. | |
const char * | color_log_name (char *buf, int buflen, struct ColorElement *elem) |
Get a string to represent a colour name. | |
Colour Dump Command.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file dump.h.
void color_dump | ( | void | ) |
Display all the colours in the Pager.
Definition at line 451 of file dump.c.
const char * color_log_attrs_list | ( | int | attrs | ) |
Get a string to represent some attributes in the log.
attrs | Attributes, e.g. A_UNDERLINE |
ptr | Generated string |
Definition at line 135 of file dump.c.
Get a colourful string to represent a colour in the log.
ac | Colour |
swatch | Buffer for swatch |
Definition at line 52 of file dump.c.
const char * color_log_name | ( | char * | buf, |
int | buflen, | ||
struct ColorElement * | elem | ||
) |
Get a string to represent a colour name.
ptr | Generated string |
Definition at line 165 of file dump.c.