New functions.
2001-06-12 Alexander Larsson <alla@lysator.liu.se> * gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default, gdk_keymap_get_direction): New functions.
This commit is contained in:
committed by
Alexander Larsson
parent
5c60d1cf77
commit
a20b45995f
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-12 Alexander Larsson <alla@lysator.liu.se>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
|
||||||
|
gdk_keymap_get_direction): New functions.
|
||||||
|
|
||||||
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-12 Alexander Larsson <alla@lysator.liu.se>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
|
||||||
|
gdk_keymap_get_direction): New functions.
|
||||||
|
|
||||||
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-12 Alexander Larsson <alla@lysator.liu.se>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
|
||||||
|
gdk_keymap_get_direction): New functions.
|
||||||
|
|
||||||
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-12 Alexander Larsson <alla@lysator.liu.se>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
|
||||||
|
gdk_keymap_get_direction): New functions.
|
||||||
|
|
||||||
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-12 Alexander Larsson <alla@lysator.liu.se>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
|
||||||
|
gdk_keymap_get_direction): New functions.
|
||||||
|
|
||||||
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-12 Alexander Larsson <alla@lysator.liu.se>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
|
||||||
|
gdk_keymap_get_direction): New functions.
|
||||||
|
|
||||||
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-12 Alexander Larsson <alla@lysator.liu.se>
|
||||||
|
|
||||||
|
* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
|
||||||
|
gdk_keymap_get_direction): New functions.
|
||||||
|
|
||||||
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
|
||||||
|
|||||||
@ -75,6 +75,7 @@ struct _GdkFBKeyboardDevice {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static GdkFBKeyboard *gdk_fb_keyboard = NULL;
|
static GdkFBKeyboard *gdk_fb_keyboard = NULL;
|
||||||
|
static GdkKeymap *default_keymap = NULL;
|
||||||
|
|
||||||
static gboolean xlate_open (GdkFBKeyboard *kb);
|
static gboolean xlate_open (GdkFBKeyboard *kb);
|
||||||
static void xlate_close (GdkFBKeyboard *kb);
|
static void xlate_close (GdkFBKeyboard *kb);
|
||||||
@ -143,6 +144,22 @@ static GdkFBKeyboardDevice keyb_devs[] =
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GdkKeymap*
|
||||||
|
gdk_keymap_get_default (void)
|
||||||
|
{
|
||||||
|
if (default_keymap == NULL)
|
||||||
|
default_keymap = g_object_new (gdk_keymap_get_type (), NULL);
|
||||||
|
|
||||||
|
return default_keymap;
|
||||||
|
}
|
||||||
|
|
||||||
|
PangoDirection
|
||||||
|
gdk_keymap_get_direction (GdkKeymap *keymap)
|
||||||
|
{
|
||||||
|
/* FIXME: Only supports LTR keymaps at the moment */
|
||||||
|
return PANGO_DIRECTION_LTR;
|
||||||
|
}
|
||||||
|
|
||||||
guint
|
guint
|
||||||
gdk_fb_keyboard_modifiers ()
|
gdk_fb_keyboard_modifiers ()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user