summaryrefslogtreecommitdiffstats
path: root/krandr/lowlevel_randr.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
commit7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch)
treec76702a7f6310fbe9d437e347535422e836e94e9 /krandr/lowlevel_randr.h
parenta2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff)
parent27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff)
downloadtdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz
tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'krandr/lowlevel_randr.h')
-rw-r--r--krandr/lowlevel_randr.h103
1 files changed, 0 insertions, 103 deletions
diff --git a/krandr/lowlevel_randr.h b/krandr/lowlevel_randr.h
deleted file mode 100644
index b5825e450..000000000
--- a/krandr/lowlevel_randr.h
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Copyright © 2007 Intel Corporation
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-#include <X11/Xlib.h>
-#include <X11/extensions/Xrandr.h>
-
-struct ScreenInfo;
-
-struct CrtcInfo {
- RRCrtc id;
- XRRCrtcInfo *info;
- int cur_x;
- int cur_y;
- RRMode cur_mode_id;
- Rotation cur_rotation;
- Rotation rotations;
- int cur_noutput;
-
- int changed;
-
- struct ScreenInfo *screen_info;
-};
-
-struct OutputInfo {
- RROutput id;
- XRROutputInfo *info;
- struct CrtcInfo *cur_crtc;
-
- int auto_set;
- int off_set;
-};
-
-struct ScreenInfo {
- Display *dpy;
- Window window;
- XRRScreenResources *res;
- int min_width, min_height;
- int max_width, max_height;
- int cur_width;
- int cur_height;
- int cur_mmWidth;
- int cur_mmHeight;
-
- int n_output;
- int n_crtc;
- struct OutputInfo **outputs;
- struct CrtcInfo **crtcs;
-
- int clone;
- struct CrtcInfo *primary_crtc;
-
- struct CrtcInfo *cur_crtc;
- struct OutputInfo *cur_output;
-};
-
-extern struct ScreenInfo *screen_info;
-extern const uint big_pixbuf[], small_pixbuf[];
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-void free_screen_info (struct ScreenInfo *screen_info);
-
-struct ScreenInfo* internal_read_screen_info (Display *);
-
-int internal_set_screen_size (struct ScreenInfo *screen_info);
-void internal_output_auto (struct ScreenInfo *screen_info, struct OutputInfo *output_info);
-void internal_output_off (struct ScreenInfo *screen_info, struct OutputInfo *output);
-void internal_output_set_primary (struct ScreenInfo *screen_info, RROutput output_id);
-struct CrtcInfo* internal_auto_find_crtc (struct ScreenInfo *screen_info, struct OutputInfo *output_info);
-
-XRRModeInfo *internal_find_mode_by_xid (struct ScreenInfo *screen_info, RRMode mode_id);
-int internal_mode_height (XRRModeInfo *mode_info, Rotation rotation);
-int internal_mode_width (XRRModeInfo *mode_info, Rotation rotation);
-int internal_get_width_by_output_id (struct ScreenInfo *screen_info, RROutput output_id);
-int internal_get_height_by_output_id (struct ScreenInfo *screen_info, RROutput output_id);
-char *internal_get_output_name (struct ScreenInfo *screen_info, RROutput id);
-Status internal_crtc_apply (struct CrtcInfo *crtc_info);
-Status internal_crtc_disable (struct CrtcInfo *crtc);
-int internal_main_low_apply (struct ScreenInfo *screen_info);
-
-#ifdef __cplusplus
-}
-#endif \ No newline at end of file