diff options
author | Søren Sandmann <sandmann@redhat.com> | 2005-04-13 19:04:26 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2005-04-13 19:04:26 +0000 |
commit | 444eee8f7f690935ce6b84439ea599f108ea85e8 (patch) | |
tree | ee580d514fe5f229968b7877202ca20c5b0ab945 | |
parent | c473b680e68edf6552f8e19de7094ad03c6e5a60 (diff) | |
download | metacity-444eee8f7f690935ce6b84439ea599f108ea85e8.tar.gz |
Add this file
Wed Apr 13 14:58:18 2005 Søren Sandmann <sandmann@redhat.com>
* lmctypes.h: Add this file
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/lmctypes.h | 34 |
2 files changed, 38 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Wed Apr 13 14:58:18 2005 Søren Sandmann <sandmann@redhat.com> + + * lmctypes.h: Add this file + Wed Apr 13 14:39:54 2005 Søren Sandmann <sandmann@redhat.com> * Commit first attempt at using GL diff --git a/src/lmctypes.h b/src/lmctypes.h new file mode 100644 index 00000000..96d8ac42 --- /dev/null +++ b/src/lmctypes.h @@ -0,0 +1,34 @@ +#ifndef __LMC_TYPES_H__ +#define __LMC_TYPES_H__ + +#include <glib.h> +#include <X11/Xlib.h> + +G_BEGIN_DECLS + +typedef struct _LmcBorderInfo LmcBorderInfo; +typedef struct _LmcPropertyValue LmcPropertyValue; + +struct _LmcBorderInfo +{ + short left, right, top, bottom; + short left_unscaled, right_unscaled, top_unscaled, bottom_unscaled; +}; + +struct _LmcPropertyValue +{ + Atom type; /* None means property does not exist */ + int format; /* 8, 16, 32 */ + + union { + unsigned char *b; + short *s; + long *l; + } data; + + unsigned long n_items; /* Number of 8, 16, or 32 bit quantities */ +}; + +G_END_DECLS + +#endif /* __LMC_TYPES_H__ */ |