зеркало из https://github.com/mozilla/pjs.git
DOM: add node to LO_Any and add an exported prototype
This commit is contained in:
Родитель
fe4e2944a2
Коммит
4a93d6dd2c
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче