2 * ion/ioncore/infowin.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_INFOWIN_H
10 #define ION_IONCORE_INFOWIN_H
15 #include "rectangle.h"
17 #define INFOWIN_BUFFER_LEN 256
27 #define INFOWIN_BRUSH(INFOWIN) ((INFOWIN)->brush)
28 #define INFOWIN_BUFFER(INFOWIN) ((INFOWIN)->buffer)
30 extern bool infowin_init(WInfoWin
*p
, WWindow
*parent
, const WFitParams
*fp
,
32 extern WInfoWin
*create_infowin(WWindow
*parent
, const WFitParams
*fp
,
35 extern void infowin_deinit(WInfoWin
*p
);
37 extern void infowin_set_text(WInfoWin
*p
, const char *s
, int maxw
);
38 extern GrStyleSpec
*infowin_stylespec(WInfoWin
*p
);
40 extern WRegion
*infowin_load(WWindow
*par
, const WFitParams
*fp
, ExtlTab tab
);
42 extern void infowin_updategr(WInfoWin
*p
);
44 #endif /* ION_IONCORE_INFOWIN_H */