Commit a20b4599 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

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.
parent 5c60d1cf
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>
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
......
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>
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
......
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>
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
......
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>
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
......
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>
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
......
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>
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
......
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>
* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
......
......@@ -75,6 +75,7 @@ struct _GdkFBKeyboardDevice {
};
static GdkFBKeyboard *gdk_fb_keyboard = NULL;
static GdkKeymap *default_keymap = NULL;
static gboolean xlate_open (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
gdk_fb_keyboard_modifiers ()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment