mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
DOM: add node to LO_Any and add an exported prototype
This commit is contained in:
parent
53fe498010
commit
9de57d53bd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user