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 | |
---|
31 | void multiscreen_init (void); |
---|
32 | void multiscreen_reinit (void); |
---|
33 | |
---|
34 | int multiscreen_screens (void); |
---|
35 | int multiscreen_monitors (int screen); |
---|
36 | |
---|
37 | int multiscreen_x (int screen, |
---|
38 | int monitor); |
---|
39 | int multiscreen_y (int screen, |
---|
40 | int monitor); |
---|
41 | int multiscreen_width (int screen, |
---|
42 | int monitor); |
---|
43 | int multiscreen_height (int screen, |
---|
44 | int monitor); |
---|
45 | int multiscreen_locate_coords (int screen, |
---|
46 | int x, |
---|
47 | int y); |
---|
48 | int multiscreen_locate_widget (int screen, |
---|
49 | GtkWidget *widget); |
---|
50 | |
---|
51 | #endif /* MULTISCREEN_STUFF_H */ |
---|