-
-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathinfowin.h
44 lines (33 loc) · 1.07 KB
/
infowin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* ion/ioncore/infowin.h
*
* Copyright (c) Tuomo Valkonen 1999-2007.
*
* See the included file LICENSE for details.
*/
#ifndef ION_IONCORE_INFOWIN_H
#define ION_IONCORE_INFOWIN_H
#include "common.h"
#include "window.h"
#include "gr.h"
#include "rectangle.h"
#define INFOWIN_BUFFER_LEN 256
DECLCLASS(WInfoWin){
WWindow wwin;
GrBrush *brush;
char *buffer;
char *style;
GrStyleSpec attr;
};
#define INFOWIN_BRUSH(INFOWIN) ((INFOWIN)->brush)
#define INFOWIN_BUFFER(INFOWIN) ((INFOWIN)->buffer)
extern bool infowin_init(WInfoWin *p, WWindow *parent, const WFitParams *fp,
const char *style);
extern WInfoWin *create_infowin(WWindow *parent, const WFitParams *fp,
const char *style);
extern void infowin_deinit(WInfoWin *p);
extern void infowin_set_text(WInfoWin *p, const char *s, int maxw);
extern GrStyleSpec *infowin_stylespec(WInfoWin *p);
extern WRegion *infowin_load(WWindow *par, const WFitParams *fp, ExtlTab tab);
extern void infowin_updategr(WInfoWin *p);
#endif /* ION_IONCORE_INFOWIN_H */