summaryrefslogtreecommitdiffstats
path: root/src/blueshift_w32gdi.pyx
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-15 22:08:59 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-15 22:08:59 +0200
commitbe681ae408e6d5b60347498e1979ea83281dd80f (patch)
tree2e89c8f3cbbda4f0baa7340f001d40d8a2393530 /src/blueshift_w32gdi.pyx
parentfix errors and warnings (diff)
downloadblueshift-be681ae408e6d5b60347498e1979ea83281dd80f.tar.gz
blueshift-be681ae408e6d5b60347498e1979ea83281dd80f.tar.bz2
blueshift-be681ae408e6d5b60347498e1979ea83281dd80f.tar.xz
add w32gdi_crtcs_count
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_w32gdi.pyx')
-rw-r--r--src/blueshift_w32gdi.pyx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/blueshift_w32gdi.pyx b/src/blueshift_w32gdi.pyx
index 25e12b8..793b960 100644
--- a/src/blueshift_w32gdi.pyx
+++ b/src/blueshift_w32gdi.pyx
@@ -83,6 +83,15 @@ def w32gdi_open():
return blueshift_w32gdi_open()
+def w32gdi_crtcs_count():
+ '''
+ Get the number of CRTC:s on the system
+
+ @return The number of CRTC:s on the system
+ '''
+ return blueshift_w32gdi_crtc_count()
+
+
def w32gdi_read(int use_crtc):
'''
Gets the current colour curves