tag | line | file | source code |
input_x | 50 | scripts/lxdialog/inputbox.c | int input_x = 0, scroll = 0, key = 0, button = -1; |
input_x | 101 | scripts/lxdialog/inputbox.c | input_x = strlen (instr); |
input_x | 103 | scripts/lxdialog/inputbox.c | if (input_x >= box_width) { |
input_x | 104 | scripts/lxdialog/inputbox.c | scroll = input_x - box_width + 1; |
input_x | 105 | scripts/lxdialog/inputbox.c | input_x = box_width - 1; |
input_x | 111 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x + input_x); |
input_x | 130 | scripts/lxdialog/inputbox.c | if (input_x || scroll) { |
input_x | 132 | scripts/lxdialog/inputbox.c | if (!input_x) { |
input_x | 137 | scripts/lxdialog/inputbox.c | waddch (dialog, instr[scroll + input_x + i] ? |
input_x | 138 | scripts/lxdialog/inputbox.c | instr[scroll + input_x + i] : ' '); |
input_x | 139 | scripts/lxdialog/inputbox.c | input_x = strlen (instr) - scroll; |
input_x | 141 | scripts/lxdialog/inputbox.c | input_x--; |
input_x | 142 | scripts/lxdialog/inputbox.c | instr[scroll + input_x] = '\0'; |
input_x | 143 | scripts/lxdialog/inputbox.c | mvwaddch (dialog, box_y, input_x + box_x, ' '); |
input_x | 144 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, input_x + box_x); |
input_x | 150 | scripts/lxdialog/inputbox.c | if (scroll + input_x < MAX_LEN) { |
input_x | 152 | scripts/lxdialog/inputbox.c | instr[scroll + input_x] = key; |
input_x | 153 | scripts/lxdialog/inputbox.c | instr[scroll + input_x + 1] = '\0'; |
input_x | 154 | scripts/lxdialog/inputbox.c | if (input_x == box_width - 1) { |
input_x | 160 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, input_x++ + box_x); |
input_x | 189 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x + input_x); |
input_x | 213 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x + input_x); |