summaryrefslogtreecommitdiff
path: root/src/privatescreen.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-13 16:52:58 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-08-13 16:52:58 +0200
commitc9b8f6dff3c7457f5e05802335327200fa169110 (patch)
tree918f736a25b802c1b1fbc481a200ed7533615c87 /src/privatescreen.h
parent343a9b678681205c7c2883d4824263da6a3c81cf (diff)
downloadunity-window-decorator-c9b8f6dff3c7457f5e05802335327200fa169110.tar.gz
unity-window-decorator-c9b8f6dff3c7457f5e05802335327200fa169110.tar.bz2
Moved definitions from compiz-core.h to the right headers.
Diffstat (limited to 'src/privatescreen.h')
-rw-r--r--src/privatescreen.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/privatescreen.h b/src/privatescreen.h
index ae3da92..cc2b2d8 100644
--- a/src/privatescreen.h
+++ b/src/privatescreen.h
@@ -7,6 +7,43 @@
#include <comppoint.h>
#include <comptexture.h>
+#define COMP_SCREEN_OPTION_DETECT_REFRESH_RATE 0
+#define COMP_SCREEN_OPTION_LIGHTING 1
+#define COMP_SCREEN_OPTION_REFRESH_RATE 2
+#define COMP_SCREEN_OPTION_HSIZE 3
+#define COMP_SCREEN_OPTION_VSIZE 4
+#define COMP_SCREEN_OPTION_OPACITY_STEP 5
+#define COMP_SCREEN_OPTION_UNREDIRECT_FS 6
+#define COMP_SCREEN_OPTION_DEFAULT_ICON 7
+#define COMP_SCREEN_OPTION_SYNC_TO_VBLANK 8
+#define COMP_SCREEN_OPTION_NUMBER_OF_DESKTOPS 9
+#define COMP_SCREEN_OPTION_DETECT_OUTPUTS 10
+#define COMP_SCREEN_OPTION_OUTPUTS 11
+#define COMP_SCREEN_OPTION_OVERLAPPING_OUTPUTS 12
+#define COMP_SCREEN_OPTION_FOCUS_PREVENTION_LEVEL 13
+#define COMP_SCREEN_OPTION_FOCUS_PREVENTION_MATCH 14
+#define COMP_SCREEN_OPTION_TEXTURE_COMPRESSION 15
+#define COMP_SCREEN_OPTION_FORCE_INDEPENDENT 16
+#define COMP_SCREEN_OPTION_NUM 17
+
+#define OUTPUT_OVERLAP_MODE_SMART 0
+#define OUTPUT_OVERLAP_MODE_PREFER_LARGER 1
+#define OUTPUT_OVERLAP_MODE_PREFER_SMALLER 2
+#define OUTPUT_OVERLAP_MODE_LAST OUTPUT_OVERLAP_MODE_PREFER_SMALLER
+
+#define FOCUS_PREVENTION_LEVEL_NONE 0
+#define FOCUS_PREVENTION_LEVEL_LOW 1
+#define FOCUS_PREVENTION_LEVEL_HIGH 2
+#define FOCUS_PREVENTION_LEVEL_VERYHIGH 3
+#define FOCUS_PREVENTION_LEVEL_LAST FOCUS_PREVENTION_LEVEL_VERYHIGH
+
+#define COMP_SCREEN_DAMAGE_PENDING_MASK (1 << 0)
+#define COMP_SCREEN_DAMAGE_REGION_MASK (1 << 1)
+#define COMP_SCREEN_DAMAGE_ALL_MASK (1 << 2)
+
+extern const CompMetadataOptionInfo
+coreScreenOptionInfo[COMP_SCREEN_OPTION_NUM];
+
class PrivateScreen {
public: