aboutsummaryrefslogtreecommitdiff
path: root/src/DrawUtil.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-04-26 15:21:38 (GMT)
committerfluxgen <fluxgen>2003-04-26 15:21:38 (GMT)
commitd3daeff47ade0fcd8f4768f5a15fae4012ec9ea8 (patch)
treefb127b24671805879cef2c06403c7c3395c129bf /src/DrawUtil.hh
parenta26d408964032adec3d4153dc642c5fdf28fb89d (diff)
downloadfluxbox_pavel-d3daeff47ade0fcd8f4768f5a15fae4012ec9ea8.zip
fluxbox_pavel-d3daeff47ade0fcd8f4768f5a15fae4012ec9ea8.tar.bz2
obsolete
Diffstat (limited to 'src/DrawUtil.hh')
-rw-r--r--src/DrawUtil.hh45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/DrawUtil.hh b/src/DrawUtil.hh
deleted file mode 100644
index c388627..0000000
--- a/src/DrawUtil.hh
+++ /dev/null
@@ -1,45 +0,0 @@
1// DrawUtil.hh for fluxbox
2// Copyright (c) 2001-2002 Henrik Kinnunen (fluxgen@linuxmail.org)
3//
4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"),
6// to deal in the Software without restriction, including without limitation
7// the rights to use, copy, modify, merge, publish, distribute, sublicense,
8// and/or sell copies of the Software, and to permit persons to whom the
9// Software is furnished to do so, subject to the following conditions:
10//
11// The above copyright notice and this permission notice shall be included in
12// all copies or substantial portions of the Software.
13//
14// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE.
21
22// $Id: DrawUtil.hh,v 1.10 2002/12/01 13:41:55 rathnor Exp $
23
24#ifndef DRAWUTIL_HH
25#define DRAWUTIL_HH
26
27#include <X11/Xlib.h>
28#include "Font.hh"
29
30namespace DrawUtil {
31// note: obsolete!
32struct Font {
33 enum FontJustify {LEFT=0, RIGHT, CENTER};
34
35 XFontSet set;
36 XFontSetExtents *set_extents;
37 XFontStruct *fontstruct;
38 FontJustify justify;
39};
40
41int doAlignment(int max_width, int bevel, Font::FontJustify justify,
42 const FbTk::Font &font, const char * const text, size_t textlen, size_t &newlen);
43}; //end namespace DrawUtil
44
45#endif //DRAWUTIL_HH