aboutsummaryrefslogtreecommitdiff
path: root/src/DrawUtil.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2002-12-01 13:42:15 (GMT)
committerrathnor <rathnor>2002-12-01 13:42:15 (GMT)
commit28b5c604490094e187494dcc566bd3d7a05a2c25 (patch)
tree8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/DrawUtil.hh
parentb9134162f9633784d9097df18769a699a62650fe (diff)
downloadfluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.zip
fluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/DrawUtil.hh')
-rw-r--r--src/DrawUtil.hh20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/DrawUtil.hh b/src/DrawUtil.hh
index f3710ae..c388627 100644
--- a/src/DrawUtil.hh
+++ b/src/DrawUtil.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: DrawUtil.hh,v 1.9 2002/11/26 15:45:48 fluxgen Exp $ 22// $Id: DrawUtil.hh,v 1.10 2002/12/01 13:41:55 rathnor Exp $
23 23
24#ifndef DRAWUTIL_HH 24#ifndef DRAWUTIL_HH
25#define DRAWUTIL_HH 25#define DRAWUTIL_HH
@@ -28,17 +28,17 @@
28#include "Font.hh" 28#include "Font.hh"
29 29
30namespace DrawUtil { 30namespace DrawUtil {
31 // note: obsolete! 31// note: obsolete!
32 struct Font { 32struct Font {
33 enum FontJustify {LEFT=0, RIGHT, CENTER}; 33 enum FontJustify {LEFT=0, RIGHT, CENTER};
34 34
35 XFontSet set; 35 XFontSet set;
36 XFontSetExtents *set_extents; 36 XFontSetExtents *set_extents;
37 XFontStruct *fontstruct; 37 XFontStruct *fontstruct;
38 FontJustify justify; 38 FontJustify justify;
39 }; 39};
40 40
41 int doAlignment(int max_width, int bevel, Font::FontJustify justify, 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); 42 const FbTk::Font &font, const char * const text, size_t textlen, size_t &newlen);
43}; //end namespace DrawUtil 43}; //end namespace DrawUtil
44 44