aboutsummaryrefslogtreecommitdiff
path: root/src/Rotated.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-13 21:00:00 (GMT)
committerfluxgen <fluxgen>2001-12-13 21:00:00 (GMT)
commit4765321b3a5f97d753ee054a05d9307f30ab3839 (patch)
tree7193919b2b6d27cb1f0176d10f794e96041fabfa /src/Rotated.hh
parent40ba49676890064e3a519bc7cb46ec7203d2d909 (diff)
downloadfluxbox_pavel-4765321b3a5f97d753ee054a05d9307f30ab3839.zip
fluxbox_pavel-4765321b3a5f97d753ee054a05d9307f30ab3839.tar.bz2
Removed Rotated.hh
Diffstat (limited to 'src/Rotated.hh')
-rw-r--r--src/Rotated.hh83
1 files changed, 0 insertions, 83 deletions
diff --git a/src/Rotated.hh b/src/Rotated.hh
deleted file mode 100644
index c07e1ce..0000000
--- a/src/Rotated.hh
+++ /dev/null
@@ -1,83 +0,0 @@
1/* ************************************************************************ */
2
3
4/* Header file for the `xvertext' routines.
5
6 Copyright (c) 1992 Alan Richardson (mppa3@uk.ac.sussex.syma) */
7
8
9/* ************************************************************************ */
10
11
12#ifndef _XVERTEXT_INCLUDED_
13#define _XVERTEXT_INCLUDED_
14
15
16#define XV_VERSION 2.0
17#define XV_COPYRIGHT "xvertext routines Copyright (c) 1992 Alan Richardson"
18
19
20/* ---------------------------------------------------------------------- */
21
22
23/* *** The font structures *** */
24
25struct BitmapStruct {
26 int bit_w;
27 int bit_h;
28
29 Pixmap bm;
30};
31
32struct XRotCharStruct {
33 int ascent;
34 int descent;
35 int lbearing;
36 int rbearing;
37 int width;
38
39 BitmapStruct glyph;
40};
41
42struct XRotFontStruct {
43 int dir;
44 int height;
45 int max_ascent;
46 int max_descent;
47 int max_char;
48 int min_char;
49 char *name;
50
51 XFontStruct *xfontstruct;
52
53 XRotCharStruct per_char[95];
54};
55
56
57/* ---------------------------------------------------------------------- */
58
59
60extern float XRotVersion(char *, int);
61extern XRotFontStruct *XRotLoadFont(Display *, char *, float);
62extern void XRotUnloadFont(Display *, XRotFontStruct *);
63extern unsigned int XRotTextWidth(XRotFontStruct *, char *, int);
64extern void XRotDrawString(Display *, XRotFontStruct *, Drawable, GC,
65 int, int, char *, int);
66
67/* ---------------------------------------------------------------------- */
68
69extern int xv_errno;
70
71#define XV_NOFONT 1 /* no such font on X server */
72#define XV_NOMEM 2 /* couldn't do malloc */
73#define XV_NOXIMAGE 3 /* couldn't create an XImage */
74
75
76/* ---------------------------------------------------------------------- */
77
78
79#else
80
81extern int xv_errno;
82
83#endif