2 * ion/ioncore/infowin.h
4 * Copyright (c) Tuomo Valkonen 1999-2007.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #ifndef ION_IONCORE_INFOWIN_H
13 #define ION_IONCORE_INFOWIN_H
18 #include "rectangle.h"
20 #define INFOWIN_BUFFER_LEN 256
30 #define INFOWIN_BRUSH(INFOWIN) ((INFOWIN)->brush)
31 #define INFOWIN_BUFFER(INFOWIN) ((INFOWIN)->buffer)
33 extern bool infowin_init(WInfoWin *p, WWindow *parent, const WFitParams *fp,
35 extern WInfoWin *create_infowin(WWindow *parent, const WFitParams *fp,
38 extern void infowin_deinit(WInfoWin *p);
40 extern void infowin_set_text(WInfoWin *p, const char *s, int maxw);
41 extern GrStyleSpec *infowin_stylespec(WInfoWin *p);
43 extern WRegion *infowin_load(WWindow *par, const WFitParams *fp, ExtlTab tab);
45 extern void infowin_updategr(WInfoWin *p);
47 #endif /* ION_IONCORE_INFOWIN_H */