summaryrefslogtreecommitdiff
path: root/src/privatewindow.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-12 19:13:52 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-08-12 19:13:52 +0200
commit35b351a6b80c6ae464053a9213e8378f78caeeb6 (patch)
treeb62d8f91df0cbc7247ddd5bfe5cd228696c535ac /src/privatewindow.h
parent714bfc427b2a37efabcd97c516ad473e3a14fbc8 (diff)
downloadmobileperf-35b351a6b80c6ae464053a9213e8378f78caeeb6.tar.gz
mobileperf-35b351a6b80c6ae464053a9213e8378f78caeeb6.tar.bz2
Implemented CompTexture as real class.
Diffstat (limited to 'src/privatewindow.h')
-rw-r--r--src/privatewindow.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/privatewindow.h b/src/privatewindow.h
index 9b77b76..315bf0e 100644
--- a/src/privatewindow.h
+++ b/src/privatewindow.h
@@ -4,6 +4,7 @@
#include <compiz-core.h>
#include <compwindow.h>
#include <comppoint.h>
+#include <comptexture.h>
#define WINDOW_INVISIBLE(w) \
((w)->attrib.map_state != IsViewable || \
@@ -17,7 +18,7 @@
class PrivateWindow {
public:
- PrivateWindow (CompWindow *window);
+ PrivateWindow (CompWindow *window, CompScreen *screen);
~PrivateWindow ();
void
@@ -152,8 +153,8 @@ class PrivateWindow {
Window clientLeader;
XSizeHints sizeHints;
Pixmap pixmap;
- CompTexture *texture;
- CompTextureMatrix matrix;
+ CompTexture texture;
+ CompTexture::Matrix matrix;
Damage damage;
bool inputHint;
bool alpha;