Searched defs:key (Results 1 - 8 of 8) sorted by relevance

/scripts/kconfig/lxdialog/
H A Dyesno.c44 int i, x, y, key = 0, button = 0; local
78 while (key != KEY_ESC) {
79 key = wgetch(dialog);
80 switch (key) {
93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button);
103 key = on_key_esc(dialog);
113 return key; /* ESC pressed */
H A Dinputbox.c48 int input_x = 0, scroll = 0, key = 0, button = -1; local
115 while (key != KEY_ESC) {
116 key = wgetch(dialog);
119 switch (key) {
149 if (key < 0x100 && isprint(key)) {
152 instr[scroll + input_x] = key;
161 waddch(dialog, key);
170 switch (key) {
224 key
[all...]
H A Dchecklist.c121 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; local
208 while (key != KEY_ESC) {
209 key = wgetch(dialog);
213 if (toupper(key) == toupper(item_str()[0]))
217 if (i < max_choice || key == KEY_UP || key == KEY_DOWN ||
218 key == '+' || key == '-') {
219 if (key == KEY_UP || key
[all...]
H A Dmenubox.c187 int key = 0, button = 0, scroll = 0, choice = 0; local
280 while (key != KEY_ESC) {
281 key = wgetch(menu);
283 if (key < 256 && isalpha(key))
284 key = tolower(key);
286 if (strchr("ynmh", key))
292 if (key == tolower(item_str()[j]))
299 if (key
[all...]
H A Dtextbox.c54 int i, x, y, cur_x, cur_y, key = 0; local
125 while ((key != KEY_ESC) && (key != '\n')) {
126 key = wgetch(dialog);
127 switch (key) {
231 if (key == '0')
252 key = on_key_esc(dialog);
264 return key; /* ESC pressed */
H A Dutil.c500 * out one menu too much. Filter away all escaped key sequences since
506 int key; local
512 key = wgetch(win);
519 if (key == KEY_ESC && key2 == ERR)
521 else if (key != ERR && key != KEY_ESC && key2 == ERR)
522 ungetch(key);
/scripts/kconfig/
H A Dnconf.c293 typedef void (*function_key_handler_t)(int *key, struct menu *menu);
294 static void handle_f1(int *key, struct menu *current_item);
295 static void handle_f2(int *key, struct menu *current_item);
296 static void handle_f3(int *key, struct menu *current_item);
297 static void handle_f4(int *key, struct menu *current_item);
298 static void handle_f5(int *key, struct menu *current_item);
299 static void handle_f6(int *key, struct menu *current_item);
300 static void handle_f7(int *key, struct menu *current_item);
301 static void handle_f8(int *key, struct menu *current_item);
302 static void handle_f9(int *key, struc
307 function_key key; member in struct:function_keys
391 handle_f1(int *key, struct menu *current_item) argument
399 handle_f2(int *key, struct menu *current_item) argument
406 handle_f3(int *key, struct menu *current_item) argument
415 handle_f4(int *key, struct menu *current_item) argument
431 handle_f5(int *key, struct menu *current_item) argument
438 handle_f6(int *key, struct menu *current_item) argument
445 handle_f7(int *key, struct menu *current_item) argument
452 handle_f8(int *key, struct menu *current_item) argument
459 handle_f9(int *key, struct menu *current_item) argument
466 process_special_keys(int *key, struct menu *menu) argument
1018 do_match(int key, struct match_state *state, int *ans) argument
[all...]
H A Dqconf.cc74 Q3ValueList<int> ConfigSettings::readSizes(const QString& key, bool *ok) argument
77 QStringList entryList = readListEntry(key, ok);
89 bool ConfigSettings::writeSizes(const QString& key, const Q3ValueList<int>& value) argument
96 return writeEntry(key, stringList);
312 switch (e->key()) {
664 if (ev->key() == Qt::Key_Escape && mode != fullMode && mode != listMode) {
676 switch (ev->key()) {

Completed in 133 milliseconds