#ifndef NEDIT_CALLTIPS_H_INCLUDED
#define NEDIT_CALLTIPS_H_INCLUDED
#include "nedit.h"
#include "textDisp.h"
#define NEDIT_DEFAULT_CALLTIP_FG "black"
#define NEDIT_DEFAULT_CALLTIP_BG "LemonChiffon1"
enum TipHAlignMode {
TIP_LEFT,
TIP_CENTER,
TIP_RIGHT};
enum TipVAlignMode {
TIP_ABOVE,
TIP_BELOW};
enum TipAlignStrict {
TIP_SLOPPY,
TIP_STRICT};
int ShowCalltip(WindowInfo *window,
char *text, Boolean anchored,
int pos,
int hAlign,
int vAlign,
int alignMode);
void KillCalltip(WindowInfo *window,
int calltipID);
void TextDKillCalltip(textDisp *textD,
int calltipID);
int GetCalltipID(WindowInfo *window,
int calltipID);
void TextDRedrawCalltip(textDisp *textD,
int calltipID);
#endif