diff options
Diffstat (limited to 'matchbox2/mb-wm-theme.h')
-rw-r--r-- | matchbox2/mb-wm-theme.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/matchbox2/mb-wm-theme.h b/matchbox2/mb-wm-theme.h index fb4b6f5..4b6a78e 100644 --- a/matchbox2/mb-wm-theme.h +++ b/matchbox2/mb-wm-theme.h @@ -22,17 +22,24 @@ #define _HAVE_MB_WM_THEME_H #include <matchbox2/mb-wm-config.h> -#include <matchbox2/mb-wm.h> +#include <matchbox2/mb-wm-object.h> +#include <matchbox2/mb-wm-decor.h> #define MB_WM_THEME(c) ((MBWMTheme*)(c)) #define MB_WM_THEME_CLASS(c) ((MBWMThemeClass*)(c)) #define MB_WM_TYPE_THEME (mb_wm_theme_class_type ()) +typedef struct MBWMTheme MBWMTheme; +typedef struct MBWMThemeClass MBWMThemeClass; + #define MB_WM_THEME_PNG(c) ((MBWMThemePng*)(c)) #define MB_WM_THEME_PNG_CLASS(c) ((MBWMThemePngClass*)(c)) #define MB_WM_TYPE_THEME_PNG (mb_wm_theme_png_class_type ()) -enum MBWMThemeCaps +typedef struct MBWMThemePng MBWMThemePng; +typedef struct MBWMThemePngClass MBWMThemePngClass; + +typedef enum MBWMThemeCaps { MBWMThemeCapsFrameMainButtonActionAccept = (1<<0), MBWMThemeCapsFrameDlgButtonActionAccept = (1<<1), @@ -40,7 +47,7 @@ enum MBWMThemeCaps MBWMThemeCapsFrameDlgButtonActionHelp = (1<<3), MBWMThemeCapsFrameMainButtonActionCustom = (1<<4), MBWMThemeCapsFrameDlgButtonActionCustom = (1<<5), -}; +} MBWMThemeCaps; struct MBWMThemeClass |