view console/libgnt/gntkeys.h @ 13907:cc60d0861337

[gaim-migrate @ 16402] This commit has 1234 lines of diff :) Windows can now be moved (alt+m, then the arrow keys, then escape/enter). Add a window to enable/disable accounts. But the 'add' etc. buttons don't have any callbacks yet. I am going to need to do some more widgets (checkbox, combobox) before I do anything else. I have also updated the test programs to work with the changes in libgnt. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 02 Jul 2006 22:13:06 +0000
parents a621329e8c85
children ae4cbed1b309
line wrap: on
line source

#ifndef GNT_KEYS_H
#define GNT_KEYS_H

#define GNT_KEY_POPUP   "[29~"

/* Arrow keys */
#define GNT_KEY_LEFT   "[D"
#define GNT_KEY_RIGHT  "[C"
#define GNT_KEY_UP     "[A"
#define GNT_KEY_DOWN   "[B"

#define GNT_KEY_PGUP   "[5~"
#define GNT_KEY_PGDOWN "[6~"

#define GNT_KEY_ENTER  "\r"

#define GNT_KEY_BACKSPACE "\177"
#define GNT_KEY_DEL    "[3~"

#endif