forked from AuroraMiddleware/gtk
Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562)
2006-04-19 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562)
This commit is contained in:
parent
31cb2ead9e
commit
8ae3fade37
@ -1,3 +1,8 @@
|
|||||||
|
2006-04-19 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9]
|
||||||
|
to GDK_KP_[0-9]. (#337562)
|
||||||
|
|
||||||
2006-04-18 Matthias Clasen <mclasen@redhat.com>
|
2006-04-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than
|
* gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2006-04-19 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9]
|
||||||
|
to GDK_KP_[0-9]. (#337562)
|
||||||
|
|
||||||
2006-04-18 Matthias Clasen <mclasen@redhat.com>
|
2006-04-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than
|
* gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than
|
||||||
|
@ -156,6 +156,26 @@ handle_special (guint vk,
|
|||||||
*ksymp = GDK_KP_Subtract; break;
|
*ksymp = GDK_KP_Subtract; break;
|
||||||
case VK_DIVIDE:
|
case VK_DIVIDE:
|
||||||
*ksymp = GDK_KP_Divide; break;
|
*ksymp = GDK_KP_Divide; break;
|
||||||
|
case VK_NUMPAD0:
|
||||||
|
*ksymp = GDK_KP_0; break;
|
||||||
|
case VK_NUMPAD1:
|
||||||
|
*ksymp = GDK_KP_1; break;
|
||||||
|
case VK_NUMPAD2:
|
||||||
|
*ksymp = GDK_KP_2; break;
|
||||||
|
case VK_NUMPAD3:
|
||||||
|
*ksymp = GDK_KP_3; break;
|
||||||
|
case VK_NUMPAD4:
|
||||||
|
*ksymp = GDK_KP_4; break;
|
||||||
|
case VK_NUMPAD5:
|
||||||
|
*ksymp = GDK_KP_5; break;
|
||||||
|
case VK_NUMPAD6:
|
||||||
|
*ksymp = GDK_KP_6; break;
|
||||||
|
case VK_NUMPAD7:
|
||||||
|
*ksymp = GDK_KP_7; break;
|
||||||
|
case VK_NUMPAD8:
|
||||||
|
*ksymp = GDK_KP_8; break;
|
||||||
|
case VK_NUMPAD9:
|
||||||
|
*ksymp = GDK_KP_9; break;
|
||||||
case VK_F1:
|
case VK_F1:
|
||||||
*ksymp = GDK_F1; break;
|
*ksymp = GDK_F1; break;
|
||||||
case VK_F2:
|
case VK_F2:
|
||||||
|
Loading…
Reference in New Issue
Block a user