#if !defined(GUI_BEVAL_H) && (defined(FEAT_BEVAL) || defined(PROTO))
#define GUI_BEVAL_H
#ifdef FEAT_GUI_GTK
# ifdef USE_GTK3
# include <gtk/gtk.h>
# else
# include <gtk/gtkwidget.h>
# endif
#else
# if defined(FEAT_GUI_X11)
# include <X11/Intrinsic.h>
# endif
#endif
typedef enum
{
ShS_NEUTRAL,
ShS_PENDING,
ShS_UPDATE_PENDING,
ShS_SHOWING
} BeState;
typedef struct BalloonEvalStruct
{
#ifdef FEAT_GUI_GTK
GtkWidget *target;
GtkWidget *balloonShell;
GtkWidget *balloonLabel;
unsigned int timerID;
BeState showState;
int x;
int y;
unsigned int state;
#else
# if !defined(FEAT_GUI_W32)
Widget target;
Widget balloonShell;
Widget balloonLabel;
XtIntervalId timerID;
BeState showState;
XtAppContext appContext;
Position x;
Position y;
Position x_root;
Position y_root;
int state;
# else
HWND target;
HWND balloon;
int x;
int y;
BeState showState;
# endif
#endif
int ts;
char_u *msg;
void (*msgCB)(struct BalloonEvalStruct *, int);
void *clientData;
#if !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_W32)
Dimension screen_width;
Dimension screen_height;
#endif
} BalloonEval;
#define EVAL_OFFSET_X 15
#define EVAL_OFFSET_Y 10
#include "gui_beval.pro"
#endif