Debian Codegraph @

gdk/win32/gdkglobals-win32.c

raw
1 /* GDK - The GIMP Drawing Kit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 * Copyright (C) 1998-2002 Tor Lillqvist
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 /*
20 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
21 * file for a list of people on the GTK+ Team. See the ChangeLog
22 * files for a list of changes. These files are distributed with
23 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
24 */
25
26 #include "config.h"
27 #include "gdktypes.h"
28 #include "gdkprivate-win32.h"
29
30 GdkDisplay *_gdk_display = NULL;
31
32 gint _gdk_offset_x, _gdk_offset_y;
33
34 HDC _gdk_display_hdc;
35 HINSTANCE _gdk_dll_hinstance;
36 HINSTANCE _gdk_app_hmodule;
37
38 gint _gdk_input_ignore_core;
39 GdkWin32TabletInputAPI _gdk_win32_tablet_input_api;
40
41 HKL _gdk_input_locale;
42 gboolean _gdk_input_locale_is_ime = FALSE;
43 UINT _gdk_input_codepage;
44
45 gint _gdk_max_colors = 0;
46
47 GdkWin32ModalOpKind _modal_operation_in_progress = GDK_WIN32_MODAL_OP_NONE;
48 HWND _modal_move_resize_window = NULL;
49
50 /* The singleton selection object pointer */
51 GdkWin32Selection *_win32_selection = NULL;