1 | /* |
---|
2 | * multiscreen-stuff: Xinerama (and in the future multidisplay) |
---|
3 | * support for the panel |
---|
4 | * |
---|
5 | * Copyright (C) 2001 George Lebl <jirka@5z.com> |
---|
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 | |
---|
23 | #ifndef MULTISCREEN_STUFF_H |
---|
24 | #define MULTISCREEN_STUFF_H |
---|
25 | |
---|
26 | void multiscreen_init (void); |
---|
27 | |
---|
28 | int multiscreen_screens (void) G_GNUC_CONST; |
---|
29 | |
---|
30 | /* information about a screen */ |
---|
31 | int multiscreen_x (int screen); |
---|
32 | int multiscreen_y (int screen); |
---|
33 | int multiscreen_width (int screen); |
---|
34 | int multiscreen_height (int screen); |
---|
35 | int multiscreen_screen_from_pos (int x, |
---|
36 | int y); |
---|
37 | int multiscreen_screen_from_panel (GtkWidget *widget); |
---|
38 | |
---|
39 | #endif /* MULTISCREEN_STUFF_H */ |
---|