-/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
render.h for the Openbox window manager
Copyright (c) 2003 Ben Jansens
#ifndef __render_h
#define __render_h
+#include "version.h"
+
#include <X11/Xlib.h> /* some platforms dont include this as needed for Xft */
#define _XFT_NO_COMPAT_ /* no Xft 1 API */
#include <X11/Xft/Xft.h>
#include <glib.h>
+G_BEGIN_DECLS
+
typedef union _RrTextureData RrTextureData;
typedef struct _RrAppearance RrAppearance;
typedef struct _RrSurface RrSurface;
RrAppearance *RrAppearanceCopy (RrAppearance *a);
void RrAppearanceFree (RrAppearance *a);
-int RrFontMeasureString (const RrFont *f, const gchar *str);
-int RrFontHeight (const RrFont *f);
-int RrFontMaxCharWidth (const RrFont *f);
+gint RrFontMeasureString (const RrFont *f, const gchar *str);
+gint RrFontHeight (const RrFont *f);
+gint RrFontMaxCharWidth (const RrFont *f);
void RrPaint (RrAppearance *a, Window win, gint w, gint h);
void RrMinsize (RrAppearance *a, gint *w, gint *h);
Pixmap pmap, Pixmap mask,
gint *w, gint *h, RrPixel32 **data);
+G_END_DECLS
+
#endif /*__render_h*/