#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <io.h>
#include "gdk.h"
#include "gdkprivate-win32.h"
#include "gdkinputprivate.h"
#include "gdkkeysyms.h"
#include <objbase.h>
Go to the source code of this file.
Classes | |
struct | gdk_key |
Defines | |
#define | GDK_NUM_KEYS (sizeof (gdk_keys_by_keyval) / sizeof (gdk_keys_by_keyval[0])) |
Functions | |
int __stdcall | DllMain (HINSTANCE hinstDLL, DWORD dwReason, LPVOID reserved) |
gboolean | _gdk_windowing_init_check (int argc, char **argv) |
void | gdk_win32_api_failed (const gchar *where, gint line, const gchar *api) |
void | gdk_other_api_failed (const gchar *where, gint line, const gchar *api) |
void | gdk_win32_gdi_failed (const gchar *where, gint line, const gchar *api) |
void | gdk_set_use_xshm (gint use_xshm) |
gint | gdk_get_use_xshm (void) |
gint | gdk_screen_width (void) |
gint | gdk_screen_height (void) |
gint | gdk_screen_width_mm (void) |
gint | gdk_screen_height_mm (void) |
void | gdk_key_repeat_disable (void) |
void | gdk_key_repeat_restore (void) |
void | gdk_beep (void) |
void | gdk_windowing_exit (void) |
gchar * | gdk_get_display (void) |
static int | gdk_keys_keyval_compare (const void *pkey, const void *pbase) |
gchar * | gdk_keyval_name (guint keyval) |
static int | gdk_key_compare_by_name (const void *a, const void *b) |
static int | gdk_keys_name_compare (const void *pkey, const void *pbase) |
guint | gdk_keyval_from_name (const gchar *keyval_name) |
Variables | |
static gboolean | gdk_synchronize = FALSE |
GdkArgDesc | _gdk_windowing_args [] |
static struct gdk_key | gdk_keys_by_keyval [] |
static struct gdk_key * | gdk_keys_by_name = NULL |
#define GDK_NUM_KEYS (sizeof (gdk_keys_by_keyval) / sizeof (gdk_keys_by_keyval[0])) |
Definition at line 1553 of file gdkmain-win32.c.
Referenced by gdk_keyval_from_name(), and gdk_keyval_name().
gboolean _gdk_windowing_init_check | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 64 of file gdkmain-win32.c.
References FALSE, gdk_atom_intern(), gdk_clipboard_atom, gdk_DC, gdk_event_func_from_window_proc, gdk_input_ignore_wintab, gdk_ole2_dnd_atom, gdk_ProgInstance, gdk_root_window, gdk_selection_clear_msg, gdk_selection_notify_msg, gdk_selection_property, gdk_selection_request_msg, gdk_win32_dropfiles_atom, gdk_win32_selection_init(), getenv(), i, j, k, NULL, TRUE, and windows_version.
Referenced by gdk_init_check().
int __stdcall DllMain | ( | HINSTANCE | hinstDLL, | |
DWORD | dwReason, | |||
LPVOID | reserved | |||
) |
void gdk_beep | ( | void | ) |
Definition at line 226 of file gdkmain-win32.c.
gchar* gdk_get_display | ( | void | ) |
gint gdk_get_use_xshm | ( | void | ) |
static int gdk_key_compare_by_name | ( | const void * | a, | |
const void * | b | |||
) | [static] |
Definition at line 1573 of file gdkmain-win32.c.
References name.
Referenced by gdk_keyval_from_name().
void gdk_key_repeat_disable | ( | void | ) |
void gdk_key_repeat_restore | ( | void | ) |
Definition at line 221 of file gdkmain-win32.c.
Referenced by gdk_exit_func(), and TGWin32::SetKeyAutoRepeat().
static int gdk_keys_keyval_compare | ( | const void * | pkey, | |
const void * | pbase | |||
) | [static] |
static int gdk_keys_name_compare | ( | const void * | pkey, | |
const void * | pbase | |||
) | [static] |
Definition at line 1579 of file gdkmain-win32.c.
References name.
Referenced by gdk_keyval_from_name().
Definition at line 1585 of file gdkmain-win32.c.
References g_new, g_return_val_if_fail, gdk_key_compare_by_name(), gdk_keys_by_keyval, gdk_keys_by_name, gdk_keys_name_compare(), GDK_NUM_KEYS, GDK_VoidSymbol, gdk_key::keyval, and NULL.
Definition at line 1562 of file gdkmain-win32.c.
References gchar, gdk_keys_by_keyval, gdk_keys_keyval_compare(), GDK_NUM_KEYS, gdk_key::name, and NULL.
Referenced by print_event().
Definition at line 109 of file gdkmain-win32.c.
References g_warning().
Referenced by gdk_win32_gdi_failed().
gint gdk_screen_height | ( | void | ) |
Definition at line 171 of file gdkmain-win32.c.
References gdk_parent_root.
Referenced by gdk_window_set_geometry_hints(), and TGWin32::GetGeometry().
gint gdk_screen_height_mm | ( | void | ) |
gint gdk_screen_width | ( | void | ) |
Definition at line 151 of file gdkmain-win32.c.
References gdk_parent_root.
Referenced by gdk_window_set_geometry_hints(), and TGWin32::GetGeometry().
gint gdk_screen_width_mm | ( | void | ) |
Definition at line 191 of file gdkmain-win32.c.
References gdk_DC.
Referenced by TGWin32::ScreenWidthMM().
void gdk_set_use_xshm | ( | gint | use_xshm | ) |
Definition at line 126 of file gdkmain-win32.c.
Definition at line 101 of file gdkmain-win32.c.
References g_free(), g_warning(), and gchar.
Referenced by gdk_win32_gdi_failed().
Definition at line 115 of file gdkmain-win32.c.
References gdk_other_api_failed(), gdk_win32_api_failed(), IS_WIN_NT, and windows_version.
void gdk_windowing_exit | ( | void | ) |
Initial value:
{ {"sync", GDK_ARG_BOOL, &gdk_synchronize, (GdkArgFunc) NULL}, {"no-wintab", GDK_ARG_BOOL, &gdk_input_ignore_wintab, (GdkArgFunc) NULL}, {"ignore-wintab", GDK_ARG_BOOL, &gdk_input_ignore_wintab, (GdkArgFunc) NULL}, {"event-func-from-window-proc", GDK_ARG_BOOL, &gdk_event_func_from_window_proc, (GdkArgFunc) NULL}, {NULL} }
Definition at line 45 of file gdkmain-win32.c.
Referenced by gdk_init_check().
struct gdk_key gdk_keys_by_keyval[] [static] |
Referenced by gdk_keyval_from_name(), and gdk_keyval_name().
struct gdk_key* gdk_keys_by_name = NULL [static] |
gboolean gdk_synchronize = FALSE [static] |
Definition at line 43 of file gdkmain-win32.c.