about summary refs log tree commit diff stats
path: root/themes
ModeNameSize
-rw-r--r--aqua1673log stats plain blame
-rw-r--r--batman1591log stats plain blame
-rw-r--r--bios2896log stats plain blame
-rw-r--r--boothj53163log stats plain blame
-rw-r--r--boothj5_laptop2978log stats plain blame
-rw-r--r--boothj5_slack2921log stats plain blame
-rw-r--r--complex1296log stats plain blame
-rw-r--r--forest1683log stats plain blame
-rw-r--r--hacker1611log stats plain blame
-rw-r--r--headache1615log stats plain blame
-rw-r--r--joker1541log stats plain blame
-rw-r--r--mono1517log stats plain blame
-rw-r--r--orange1506log stats plain blame
-rw-r--r--original1602log stats plain blame
-rw-r--r--original_bright1891log stats plain blame
-rw-r--r--shade1537log stats plain blame
-rw-r--r--simple917log stats plain blame
-rw-r--r--spawn1489log stats plain blame
-rw-r--r--whiteness1487log stats plain blame





                                                        

























                                                                          

                      
                                
 
                                                                   
                                     

      

                                                     

      




                                           

                             








                                                                                             
 
                        
#ifndef LYREADCFG_H
#define LYREADCFG_H

#ifndef LYSTRUCTS_H
#include <LYStructs.h>
#endif /* LYSTRUCTS_H */

#if defined(USE_COLOR_STYLE) || defined(USE_COLOR_TABLE)

#define DEFAULT_COLOR -1
#define NO_COLOR      -2
#define ERR_COLOR     -3

/* Note: the sense of colors that Lynx uses for defaults is the reverse of
 * the standard for color-curses.
 */
#ifdef USE_DEFAULT_COLORS
# ifdef USE_SLANG
#  define DEFAULT_FG "default"
#  define DEFAULT_BG "default"
# else
#  ifdef HAVE_USE_DEFAULT_COLORS
#   define DEFAULT_FG DEFAULT_COLOR
#   define DEFAULT_BG DEFAULT_COLOR
#  else
#   define DEFAULT_FG COLOR_BLACK
#   define DEFAULT_BG COLOR_WHITE
#  endif
# endif
#else
# ifdef USE_SLANG
#  define DEFAULT_FG "black"
#  define DEFAULT_BG "white"
# else
#  define DEFAULT_FG COLOR_BLACK
#  define DEFAULT_BG COLOR_WHITE
# endif
#endif /* USE_DEFAULT_COLORS */

extern int default_fg;
extern int default_bg;
extern BOOL default_color_reset;

#if defined(HAVE_USE_DEFAULT_COLORS) && defined(USE_DEFAULT_COLORS)
extern int lynx_default_colors(void);
#endif

extern int check_color(char *color, int the_default);
extern const char *lookup_color(int code);
#endif

extern void read_cfg(char *cfg_filename,
		     char *parent_filename,
		     int nesting_level,
		     FILE *fp0);
extern void free_lynx_cfg(void);
extern BOOLEAN have_read_cfg;

extern FILE *LYOpenCFG(char *cfg_filename, char *parent_filename, char *dft_filename);
extern int lynx_cfg_infopage(DocInfo *newdoc);
extern int lynx_compile_opts(DocInfo *newdoc);
extern int match_item_by_name(lynx_list_item_type *ptr, char *name, BOOLEAN only_overriders);
extern lynx_list_item_type *find_item_by_number(lynx_list_item_type *
						list_ptr,
						char *number);
extern void reload_read_cfg(void);	/* implemented in LYMain.c */
extern void LYSetConfigValue(char *name, char *value);

#endif /* LYREADCFG_H */