summaryrefslogtreecommitdiff
path: root/gdk/gdkkeysyms.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>1999-10-31 21:35:39 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-10-31 21:35:39 +0000
commit00c5e838710a01ed97a46d96910b6f118d240b99 (patch)
tree2d8a8d72f6e39231ed9fa72a09069025ff559f64 /gdk/gdkkeysyms.h
parent241f9c9dabdd3f021adb139b25a455260dc473ae (diff)
downloadgdk-pixbuf-00c5e838710a01ed97a46d96910b6f118d240b99.tar.gz
Add new keysyms from X11R6.4 (including EuroSign).
1999-10-31 Tor Lillqvist <tml@iki.fi> * gdk/gdkkeysyms.h: Add new keysyms from X11R6.4 (including EuroSign). * gdk/gdktypes.h: Add note about wchar_t not necessarily being the same type as GdkWChar, especially on Win32. * gdk/win32/*.c: Change gdk_root_parent to be a pointer. * gdk/win32/*.c: Assume all strings are UTF-8. Convert to Unicode before passing to Windows GDI for drawing etc. Convert to the system default codepage before passing to Windows as window titles. * gdk/win32/gdkprivate.h: Add more fields to GdkWindowPrivate to support changing input locale on the fly. * gdk/win32/gdkevent.c: Support input language (keyboard locale) on-the-fly changes. Convert incoming characters from the current codepage to Unicode (and then to a UTF-8 multi-byte string) based on the current input language. Use keysym<->Unicode mapping tables and functions borrowed from xterm sources. Support IMEs (Input Method Editors) for CJK languages. On non-CJK editions of Win9x, use the ActiveX-based Active IMM (Input Method Manager) if available. IMEs and the Active IMM are available under the disguise of Chinese, Korean and Japanese support for IE and Outlook Express from "Windows Update" for Win98. On Win2k, the CJK support is present in all editions (as long as you install it). Call DispatchMessage from gdk_events_queue() (and thus gdk_WindowProc()), instead of duplicating the code in gdk_WindowProc(). Reworked the grab handling and propagation code, factored out duplicated code snippets into separate functions. Other cleanups, too. * gdk/win32/surrogate-dimm.h: Provide just the bits we need from the <dimm.h> header describing the Active IMM. * gdk/win32/gdkfont.c: Pretend to support fontsets, but so far just do the same as for "single" fonts. * gdk/win32/gdk.c: Call CoInitialize() (COM initialisation) from gdk_init_check, and CoUninitialize() from gdk_exit_func. Handle the new keysyms from gdkkeysyms.h. * gtk/gtkfontsel.c (Win32): Load the font for the preview as a fontset, so that gtkentry uses wide characters. * gtk/gtkrc.c (Win32): Get the locale with gwin_getlocale(). Call GTk+'s system directory "gtk+", not "gtk".
Diffstat (limited to 'gdk/gdkkeysyms.h')
-rw-r--r--gdk/gdkkeysyms.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gdk/gdkkeysyms.h b/gdk/gdkkeysyms.h
index cc3ed517e..56798d4e6 100644
--- a/gdk/gdkkeysyms.h
+++ b/gdk/gdkkeysyms.h
@@ -10,6 +10,7 @@
#define GDK_Escape 0xFF1B
#define GDK_Delete 0xFFFF
#define GDK_Multi_key 0xFF20
+#define GDK_Codeinput 0xFF37
#define GDK_SingleCandidate 0xFF3C
#define GDK_MultipleCandidate 0xFF3D
#define GDK_PreviousCandidate 0xFF3E
@@ -30,6 +31,7 @@
#define GDK_Kana_Shift 0xFF2E
#define GDK_Eisu_Shift 0xFF2F
#define GDK_Eisu_toggle 0xFF30
+#define GDK_Kanji_Bangou 0xFF37
#define GDK_Zen_Koho 0xFF3D
#define GDK_Mae_Koho 0xFF3E
#define GDK_Home 0xFF50
@@ -608,6 +610,9 @@
#define GDK_uogonek 0x3f9
#define GDK_utilde 0x3fd
#define GDK_umacron 0x3fe
+#define GDK_OE 0x13bc
+#define GDK_oe 0x13bd
+#define GDK_Ydiaeresis 0x13be
#define GDK_overline 0x47e
#define GDK_kana_fullstop 0x4a1
#define GDK_kana_openingbracket 0x4a2
@@ -1315,3 +1320,16 @@
#define GDK_Hangul_J_KkogjiDalrinIeung 0xef9
#define GDK_Hangul_J_YeorinHieuh 0xefa
#define GDK_Korean_Won 0xeff
+#define GDK_EcuSign 0x20a0
+#define GDK_ColonSign 0x20a1
+#define GDK_CruzeiroSign 0x20a2
+#define GDK_FFrancSign 0x20a3
+#define GDK_LiraSign 0x20a4
+#define GDK_MillSign 0x20a5
+#define GDK_NairaSign 0x20a6
+#define GDK_PesetaSign 0x20a7
+#define GDK_RupeeSign 0x20a8
+#define GDK_WonSign 0x20a9
+#define GDK_NewSheqelSign 0x20aa
+#define GDK_DongSign 0x20ab
+#define GDK_EuroSign 0x20ac