NetSurf
|
NetSurf UI colours (interface). More...
#include "netsurf/types.h"
Go to the source code of this file.
Functions | |
nserror | nscolour_update (void) |
Update the nscolour table from the current nsoptions. More... | |
nserror | nscolour_get_stylesheet (const char **stylesheet_out) |
Get a pointer to a stylesheet for nscolours. More... | |
Variables | |
colour | nscolours [] |
NetSurf UI colour table. More... | |
NetSurf UI colours (interface).
Interface to acquire common colours used throughout NetSurf's interface.
Definition in file nscolour.h.
enum nscolour |
NetSurf UI colour key.
Definition at line 33 of file nscolour.h.
nserror nscolour_get_stylesheet | ( | const char ** | stylesheet_out | ) |
Get a pointer to a stylesheet for nscolours.
Definition at line 206 of file nscolour.c.
References buffer, colour_rb_swap, NSCOLOUR_WIN_EVEN_BG, NSCOLOUR_WIN_EVEN_BG_HOVER, NSCOLOUR_WIN_EVEN_BORDER, NSCOLOUR_WIN_EVEN_FG, NSCOLOUR_WIN_EVEN_FG_BAD, NSCOLOUR_WIN_EVEN_FG_FADED, NSCOLOUR_WIN_EVEN_FG_GOOD, NSCOLOUR_WIN_EVEN_FG_SUBTLE, NSCOLOUR_WIN_ODD_BG, NSCOLOUR_WIN_ODD_BG_HOVER, NSCOLOUR_WIN_ODD_FG, NSCOLOUR_WIN_ODD_FG_BAD, NSCOLOUR_WIN_ODD_FG_FADED, NSCOLOUR_WIN_ODD_FG_GOOD, NSCOLOUR_WIN_ODD_FG_SUBTLE, nscolours, NSERROR_NOSPACE, and NSERROR_OK.
Referenced by dirlist_generate_title().
nserror nscolour_update | ( | void | ) |
Update the nscolour table from the current nsoptions.
Definition at line 132 of file nscolour.c.
References blend_colour, colour_to_bw_nearest, ns_system_colour_char(), nscolour__get(), NSCOLOUR_BUTTON_BG, NSCOLOUR_BUTTON_FG, NSCOLOUR_SCROLL_WELL, NSCOLOUR_SEL_BG, NSCOLOUR_SEL_FG, NSCOLOUR_SEL_FG_SUBTLE, NSCOLOUR_TEXT_INPUT_BG, NSCOLOUR_TEXT_INPUT_FG, NSCOLOUR_TEXT_INPUT_FG_SUBTLE, NSCOLOUR_WIN_EVEN_BG, NSCOLOUR_WIN_EVEN_BG_HOVER, NSCOLOUR_WIN_EVEN_BORDER, NSCOLOUR_WIN_EVEN_FG, NSCOLOUR_WIN_EVEN_FG_BAD, NSCOLOUR_WIN_EVEN_FG_FADED, NSCOLOUR_WIN_EVEN_FG_GOOD, NSCOLOUR_WIN_EVEN_FG_SUBTLE, NSCOLOUR_WIN_ODD_BG, NSCOLOUR_WIN_ODD_BG_HOVER, NSCOLOUR_WIN_ODD_BORDER, NSCOLOUR_WIN_ODD_FG, NSCOLOUR_WIN_ODD_FG_BAD, NSCOLOUR_WIN_ODD_FG_FADED, NSCOLOUR_WIN_ODD_FG_GOOD, NSCOLOUR_WIN_ODD_FG_SUBTLE, nscolours, and NSERROR_OK.
Referenced by netsurf_init().
|
extern |
NetSurf UI colour table.
Definition at line 38 of file nscolour.c.
Referenced by dirlist_generate_title(), local_history_init(), nscolour_get_stylesheet(), nscolour_update(), page_info_init(), scrollbar_redraw(), treeview_create(), and treeview_init_plot_styles().