diff options
Diffstat (limited to 'matchbox2/mb-wm-theme-png.h')
-rw-r--r-- | matchbox2/mb-wm-theme-png.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/matchbox2/mb-wm-theme-png.h b/matchbox2/mb-wm-theme-png.h new file mode 100644 index 0000000..e134c9b --- /dev/null +++ b/matchbox2/mb-wm-theme-png.h @@ -0,0 +1,56 @@ +/* + * Matchbox Window Manager II - A lightweight window manager not for the + * desktop. + * + * Authored By Tomas Frydrych <tf@o-hand.com> + * + * Copyright (c) 2005 OpenedHand Ltd - http://o-hand.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef _HAVE_MB_WM_THEME_PNG_H +#define _HAVE_MB_WM_THEME_PNG_H + +#include <matchbox2/mb-wm-config.h> +#include <matchbox2/mb-wm-theme.h> + +#include <X11/extensions/Xrender.h> + +#if USE_PANGO +#include <pango/pango.h> +#include <pango/pangoxft.h> +#endif + +struct MBWMThemePngClass +{ + MBWMThemeClass parent; + +}; + +struct MBWMThemePng +{ + MBWMTheme parent; + + Pixmap xdraw; + Picture xpic; + Pixmap shape_mask; + +#if USE_PANGO + PangoContext * context; + PangoFontMap * fontmap; +#endif +}; + +int mb_wm_theme_png_class_type (void); + +#endif |