about summary refs log tree commit diff stats
path: root/src/LYStyle.h
blob: cfc4ae692e6e4226ab37ff75e1225b80ddb2e800 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef LYSTYLE_H
#define LYSTYLE_H

#ifdef USE_COLOR_STYLE

#include "AttrList.h"

/* list of elements */
extern CONST SGML_dtd HTML_dtd;

/* array of currently set styles */
extern HTCharStyle displayStyles[DSTYLE_ELEMENTS];

/* Can we do colour? - RP */
extern int has_color;

/* Set all the buckets in the hash table to be empty */
extern void style_initialiseHashTable NOPARAMS;

extern void parse_userstyles NOPARAMS;

extern void HStyle_addStyle PARAMS((char* buffer));

extern void style_deleteStyleList NOPARAMS;

extern void style_defaultStyleSheet NOPARAMS;

extern int style_readFromFile PARAMS((char* file));

#endif /* USE_COLOR_STYLE */

#endif /* LYSTYLE_H */