Debian Codegraph @

gdk/win32/gdkwin32monitor.h

raw symbols SCIP
1 /*
2 * gdkwin32monitor.h
3 *
4 * Copyright 2016 Red Hat, Inc.
5 *
6 * Matthias Clasen <[email protected]>
7 * Руслан Ижбулатов <lrn[email protected]>
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
18 *
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23 #pragma once
24
25 #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
26 #error "Only <gdk/gdkwin32.h> can be included directly."
27 #endif
28
29 #include <gdk/gdkmonitor.h>
30
31 G_BEGIN_DECLS
32
33 #define GDK_TYPE_WIN32_MONITOR (gdk_win32_monitor_get_type ())
34 #define GDK_WIN32_MONITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_MONITOR, GdkWin32Monitor))
35 #define GDK_IS_WIN32_MONITOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_MONITOR))
36
37 #ifdef GTK_COMPILATION
38 typedef struct _GdkWin32Monitor GdkWin32Monitor;
39 #else
40 typedef GdkMonitor GdkWin32Monitor;
41 #endif
42 typedef struct _GdkWin32MonitorClass GdkWin32MonitorClass;
43
44 GDK_AVAILABLE_IN_ALL
45 GType gdk_win32_monitor_get_type (void) G_GNUC_CONST;
46
47 void gdk_win32_monitor_get_workarea (GdkMonitor *monitor,
48 GdkRectangle *workarea);
49
50 G_END_DECLS
51