aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am4
-rw-r--r--src/Rotated.hh83
2 files changed, 2 insertions, 85 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8e5f514..4a0ada6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -49,7 +49,7 @@ fluxbox_SOURCES= BaseDisplay.cc BaseDisplay.hh Basemenu.cc Basemenu.hh \
49 Workspace.cc Workspace.hh Workspacemenu.cc Workspacemenu.hh \ 49 Workspace.cc Workspace.hh Workspacemenu.cc Workspacemenu.hh \
50 fluxbox.cc fluxbox.hh bsd-snprintf.c bsd-snprintf.h \ 50 fluxbox.cc fluxbox.hh bsd-snprintf.c bsd-snprintf.h \
51 i18n.cc i18n.hh main.cc Tab.hh Tab.cc Keys.cc Keys.hh\ 51 i18n.cc i18n.hh main.cc Tab.hh Tab.cc Keys.cc Keys.hh\
52 IconBar.cc IconBar.hh Theme.hh Theme.cc misc.hh misc.cc \ 52 IconBar.cc IconBar.hh Theme.hh Theme.cc misc.hh misc.cc
53 Rotated.hh 53
54MAINTAINERCLEANFILES= Makefile.in 54MAINTAINERCLEANFILES= Makefile.in
55 55
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