Home | History | Annotate | Download | only in lxdialog

Lines Matching full:input_x

48 	int input_x = 0, scroll = 0, key = 0, button = -1;
100 input_x = strlen(instr);
102 if (input_x >= box_width) {
103 scroll = input_x - box_width + 1;
104 input_x = box_width - 1;
111 wmove(dialog, box_y, box_x + input_x);
130 if (input_x || scroll) {
132 if (!input_x) {
137 instr[scroll + input_x + i] ?
138 instr[scroll + input_x + i] : ' ');
139 input_x = strlen(instr) - scroll;
141 input_x--;
142 instr[scroll + input_x] = '\0';
143 mvwaddch(dialog, box_y, input_x + box_x, ' ');
144 wmove(dialog, box_y, input_x + box_x);
150 if (scroll + input_x < MAX_LEN) {
152 instr[scroll + input_x] = key;
153 instr[scroll + input_x + 1] = '\0';
154 if (input_x == box_width - 1) {
160 wmove(dialog, box_y, input_x++ + box_x);
189 wmove(dialog, box_y, box_x + input_x);
213 wmove(dialog, box_y, box_x + input_x);