Debian Codegraph @

gdk/macos/gdkmacosmonitor-private.h

raw symbols SCIP
1 /*
2 * Copyright © 2020 Red Hat, Inc.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * SPDX-License-Identifier: LGPL-2.1-or-later
18 */
19
20 #pragma once
21
22 #include <AppKit/AppKit.h>
23
24 #include "gdkmacosdisplay.h"
25 #include "gdkmacosmonitor.h"
26 #include "gdkmacossurface.h"
27
28 #include "gdkmonitorprivate.h"
29
30 G_BEGIN_DECLS
31
32 char *_gdk_macos_monitor_get_localized_name (NSScreen *screen);
33 char *_gdk_macos_monitor_get_connector_name (CGDirectDisplayID screen_id);
34 GdkMacosMonitor *_gdk_macos_monitor_new (GdkMacosDisplay *display,
35 CGDirectDisplayID screen_id);
36 CGDirectDisplayID _gdk_macos_monitor_get_screen_id (GdkMacosMonitor *self);
37 gboolean _gdk_macos_monitor_reconfigure (GdkMacosMonitor *self);
38 CGColorSpaceRef _gdk_macos_monitor_copy_colorspace (GdkMacosMonitor *self);
39 void _gdk_macos_monitor_add_frame_callback (GdkMacosMonitor *self,
40 GdkMacosSurface *surface);
41 void _gdk_macos_monitor_remove_frame_callback (GdkMacosMonitor *self,
42 GdkMacosSurface *surface);
43 void _gdk_macos_monitor_clamp (GdkMacosMonitor *self,
44 GdkRectangle *area);
45
46 G_END_DECLS
47