| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
#include "byzanzlayer.h" |
| 19 |
|
| 20 |
#include <X11/extensions/Xdamage.h> |
| 21 |
#include <X11/extensions/Xfixes.h> |
| 22 |
|
| 23 |
#ifndef __HAVE_BYZANZ_LAYER_WINDOW_H__ |
| 24 |
#define __HAVE_BYZANZ_LAYER_WINDOW_H__ |
| 25 |
|
| 26 |
typedef struct _ByzanzLayerWindow ByzanzLayerWindow; |
| 27 |
typedef struct _ByzanzLayerWindowClass ByzanzLayerWindowClass; |
| 28 |
|
| 29 |
#define BYZANZ_TYPE_LAYER_WINDOW (byzanz_layer_window_get_type()) |
| 30 |
#define BYZANZ_IS_LAYER_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BYZANZ_TYPE_LAYER_WINDOW)) |
| 31 |
#define BYZANZ_IS_LAYER_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BYZANZ_TYPE_LAYER_WINDOW)) |
| 32 |
#define BYZANZ_LAYER_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BYZANZ_TYPE_LAYER_WINDOW, ByzanzLayerWindow)) |
| 33 |
#define BYZANZ_LAYER_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BYZANZ_TYPE_LAYER_WINDOW, ByzanzLayerWindowClass)) |
| 34 |
#define BYZANZ_LAYER_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BYZANZ_TYPE_LAYER_WINDOW, ByzanzLayerWindowClass)) |
| 35 |
|
| 36 |
struct _ByzanzLayerWindow { |
| 37 |
ByzanzLayer layer; |
| 38 |
|
| 39 |
cairo_region_t * invalid; |
| 40 |
Damage damage; |
| 41 |
}; |
| 42 |
|
| 43 |
struct _ByzanzLayerWindowClass { |
| 44 |
ByzanzLayerClass layer_class; |
| 45 |
}; |
| 46 |
|
| 47 |
GType byzanz_layer_window_get_type (void) G_GNUC_CONST; |
| 48 |
|
| 49 |
|
| 50 |
#endif |