DOM: add node to LO_Any and add an exported prototype

This commit is contained in:
shaver%netscape.com 1998-10-02 20:20:42 +00:00
Родитель 53fe498010
Коммит 9de57d53bd
2 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -39,6 +39,10 @@
#include "edttypes.h"
#include "il_types.h"
#ifdef DOM
struct DOM_Node;
#endif
/*
* Colors - some might say that some of this should be user-customizable.
*/
@ -1095,6 +1099,9 @@ struct LO_EdgeStruct_struct {
struct LO_Any_struct {
int16 type;
#ifdef DOM
struct DOM_Node *node;
#endif
int16 x_offset;
int32 ele_id;
int32 x, y;

Просмотреть файл

@ -109,6 +109,10 @@ extern void LO_SetSpanFontFamily(MWContext* context, void *span, char *family);
extern void LO_SetSpanFontWeight(MWContext* context, void *span, char *weight);
extern void LO_SetSpanFontSize(MWContext* context, void *span, int32 size);
extern void LO_SetSpanFontSlant(MWContext* context, void *span, char *slant);
/* Setters for table contents */
extern void LO_SetTableCellAttribute(MWContext *context, void *cell,
const char *name, const char *value);
#endif
extern void LO_SetLayerBgColor(CL_Layer *layer, LO_Color *color);