aboutsummaryrefslogtreecommitdiff
path: root/src/Rotated.hh
diff options
context:
space:
mode:
authorunknown <unknown>2002-01-11 11:59:54 (GMT)
committerunknown <unknown>2002-01-11 11:59:54 (GMT)
commit61661d638e34b3ce6c986d5a53b8c08c1051d422 (patch)
treef0b87676e95070afee163f76902efd0c4d5b5fe6 /src/Rotated.hh
parentf98c3c9045397bd9497621deb55b310366f8a5de (diff)
parenta3d2a1cf0a5ab724e19a91915fe97842f52260d5 (diff)
downloadfluxbox-61661d638e34b3ce6c986d5a53b8c08c1051d422.zip
fluxbox-61661d638e34b3ce6c986d5a53b8c08c1051d422.tar.bz2
This commit was manufactured by cvs2svn to create tagRelease-0_1_6
'Release-0_1_6'.
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