source: trunk/third/gnome-panel/gnome-panel/multiscreen-stuff.h @ 18631

Revision 18631, 1.6 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18630, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 *   multiscreen-stuff: Multiscreen and Xinerama support for the panel.
3 *
4 *   Copyright (C) 2001 George Lebl <jirka@5z.com>
5 *                 2002 Sun Microsystems Inc.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 * USA
21 *
22 * Authors: George Lebl <jirka@5z.com>,
23 *          Mark McLoughlin <mark@skynet.ie>
24 */
25
26#ifndef MULTISCREEN_STUFF_H
27#define MULTISCREEN_STUFF_H
28
29#include <gtk/gtk.h>
30
31void    multiscreen_init                (void);
32void    multiscreen_reinit              (void);
33
34int     multiscreen_screens             (void);
35int     multiscreen_monitors            (int        screen);
36
37int     multiscreen_x                   (int        screen,
38                                         int        monitor);
39int     multiscreen_y                   (int        screen,
40                                         int        monitor);
41int     multiscreen_width               (int        screen,
42                                         int        monitor);
43int     multiscreen_height              (int        screen,
44                                         int        monitor);
45int     multiscreen_locate_coords       (int        screen,
46                                         int        x,
47                                         int        y);
48int     multiscreen_locate_widget       (int        screen,
49                                         GtkWidget *widget);
50
51#endif /* MULTISCREEN_STUFF_H */
Note: See TracBrowser for help on using the repository browser.