Home
last modified time | relevance | path

Searched refs:cursor_x (Results 1 – 25 of 906) sorted by relevance

12345678910>>...37

/dports/editors/chexedit/hexedit-0.9.7/src/
H A Dhexkeys.c399 cursor_x == 10 || cursor_x == 13 in handleArrowKeys()
400 || cursor_x == 16 || cursor_x == 19 in handleArrowKeys()
401 || cursor_x == 23 || cursor_x == 26 in handleArrowKeys()
402 || cursor_x == 29 || cursor_x == 32 in handleArrowKeys()
403 || cursor_x == 37 || cursor_x == 40 in handleArrowKeys()
404 || cursor_x == 43 || cursor_x == 46 in handleArrowKeys()
405 || cursor_x == 50 || cursor_x == 53 in handleArrowKeys()
461 (cursor_x == 11 || cursor_x == 14 in handleArrowKeys()
462 || cursor_x == 17 || cursor_x == 20 in handleArrowKeys()
463 || cursor_x == 24 || cursor_x == 27 in handleArrowKeys()
[all …]
H A Dedit.c257 cursor_x == 10 || cursor_x == 13 in over_write()
258 || cursor_x == 16 || cursor_x == 19 in over_write()
259 || cursor_x == 23 || cursor_x == 26 in over_write()
260 || cursor_x == 29 || cursor_x == 32 in over_write()
261 || cursor_x == 37 || cursor_x == 40 in over_write()
262 || cursor_x == 43 || cursor_x == 46 in over_write()
263 || cursor_x == 50 || cursor_x == 53 in over_write()
295 cursor_x == 10 || cursor_x == 13 in over_write()
296 || cursor_x == 16 || cursor_x == 19 in over_write()
297 || cursor_x == 23 || cursor_x == 26 in over_write()
[all …]
/dports/devel/stfl/stfl-0.24/widgets/
H A Dwt_textedit.c56 if (cursor_x < scroll_x) { in wt_textedit_draw()
57 scroll_x = cursor_x; in wt_textedit_draw()
148 cursor_x = cursor_x-1 < line_length-1 ? cursor_x-1 : line_length-1; in wt_textedit_process()
149 stfl_widget_setkv_int(w, L"cursor_x", cursor_x > 0 ? cursor_x : 0); in wt_textedit_process()
154 cursor_x = cursor_x+1 < line_length ? cursor_x+1 : line_length; in wt_textedit_process()
155 stfl_widget_setkv_int(w, L"cursor_x", cursor_x > 0 ? cursor_x : 0); in wt_textedit_process()
207 wcscpy(newtext + cursor_x, text + cursor_x + 1); in wt_textedit_process()
220 if (cursor_x == 0) { in wt_textedit_process()
241 wcscpy(newtext + cursor_x - 1, text + cursor_x); in wt_textedit_process()
276 newtext[cursor_x] = 0; in wt_textedit_process()
[all …]
/dports/net/evans/evans-0.9.1/vendor/github.com/mattn/go-tty/readline/
H A Dreadline.go20 cursor_x int member
127 c.cursor_x = 0
129 if c.cursor_x > 0 {
130 c.cursor_x--
143 c.cursor_x++
148 c.cursor_x--
164 c.cursor_x++
168 c.cursor_x--
183 c.cursor_x = 0
189 c.cursor_x = i
[all …]
/dports/devel/bit/bit-1.1.2/vendor/github.com/mattn/go-tty/ttyutil/
H A Dreadline.go20 cursor_x int member
127 c.cursor_x = 0
129 if c.cursor_x > 0 {
130 c.cursor_x--
143 c.cursor_x++
148 c.cursor_x--
164 c.cursor_x++
168 c.cursor_x--
183 c.cursor_x = 0
189 c.cursor_x = i
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/widgetry/src/widgets/
H A Dtext_box.rs11 cursor_x: usize, field
23 cursor_x: prefilled.len(), in new()
39 if self.cursor_x < self.line.len() { in calculate_text()
43 Line(&self.line[self.cursor_x..=self.cursor_x]), in calculate_text()
44 Line(&self.line[self.cursor_x + 1..]), in calculate_text()
88 if self.cursor_x > 0 { in event()
89 self.cursor_x -= 1; in event()
93 self.cursor_x = (self.cursor_x + 1).min(self.line.len()); in event()
96 if self.cursor_x > 0 { in event()
99 self.cursor_x -= 1; in event()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/views/
H A Dcontainer_widget_gump.cpp79 cursor_x = cursor_y = 0; in ContainerWidgetGump()
112 …screen->blit(area.left + (cursor_x < 0 ? check_x : cursor_x * 16), area.top + (cursor_x < 0 ? chec… in Display()
119 if (cursor_x < cols - 1) { in cursor_right()
121 cursor_x++; in cursor_right()
127 if (cursor_x > -1) { in cursor_left()
128 cursor_x--; in cursor_left()
148 for (; cursor_x > 0; cursor_x--) { in cursor_down()
149 if (get_obj_at_location(cursor_x * 16, cursor_y * 16) != NULL) { in cursor_down()
174 if (cursor_x == -1) { in KeyDown()
178 selected_obj = get_obj_at_location(cursor_x * 16, cursor_y * 16); in KeyDown()
[all …]
/dports/net/samba412/samba-4.12.15/source3/utils/
H A Dregedit_hexedit.c41 int cursor_x; member
99 buf->cursor_x = HEX_COL1; in hexedit_set_buf()
288 if (buf->cursor_x < ASCII_COL) { in is_over_gap()
308 if (buf->cursor_x == HEX_COL1) { in cursor_left()
311 if (buf->cursor_x == HEX_COL2) { in cursor_left()
330 buf->cursor_x--; in cursor_left()
335 buf->cursor_x--; in cursor_left()
343 int new_x = buf->cursor_x + 1; in cursor_right()
373 buf->cursor_x = new_x; in cursor_right()
376 buf->cursor_x++; in cursor_right()
[all …]
/dports/devel/plasma/plasma-5bb07b3/plasma/lib/ui/
H A Dinlineed.py38 self.cursor_x = 0
109 if self.cursor_x >= w:
110 self.cursor_x = w - 1
177 self.cursor_x -= 1
183 self.cursor_x += 1
185 if self.cursor_x >= w:
194 self.cursor_x -= 1
198 self.cursor_x = self.xbegin
206 if self.cursor_x >= w:
208 self.cursor_x = w - 1
[all …]
H A Dlistbox.py46 self.cursor_x = 0
98 x = self.cursor_x
118 x = self.cursor_x
237 self.cursor_x = x
367 self.cursor_x += 1
426 x = self.cursor_x
431 self.cursor_x = x
436 x = self.cursor_x
446 self.cursor_x = x
470 self.cursor_x = 0
[all …]
/dports/audio/gsequencer/gsequencer-3.10.4/ags/X/machine/
H A Dags_pattern_box_callbacks.c36 pattern_box->cursor_x), in ags_pattern_box_focus_in_callback()
54 pattern_box->cursor_x), in ags_pattern_box_focus_out_callback()
59 pattern_box->cursor_x), in ags_pattern_box_focus_out_callback()
220 if(pattern_box->cursor_x > 0){ in ags_pattern_box_key_release_event()
223 pattern_box->cursor_x -= 1; in ags_pattern_box_key_release_event()
228 pattern_box->cursor_x), in ags_pattern_box_key_release_event()
235 pattern_box->cursor_x + 1), in ags_pattern_box_key_release_event()
240 pattern_box->cursor_x + 1), in ags_pattern_box_key_release_event()
261 pattern_box->cursor_x += 1; in ags_pattern_box_key_release_event()
266 pattern_box->cursor_x), in ags_pattern_box_key_release_event()
[all …]
/dports/emulators/tnylpo/tnylpo-1.1.3/
H A Dscreen.c614 if (cursor_x > 0) { in crt_out()
615 cursor_x--; in crt_out()
628 cursor_x = t; in crt_out()
667 if (cursor_x > 0) { in crt_out()
668 cursor_x = 0; in crt_out()
720 if (cursor_x + 1 < cols) cursor_x++; in crt_out()
764 cursor_x++; in crt_out()
772 if (cursor_x > 0) { in crt_out()
773 cursor_x--; in crt_out()
781 cursor_x = 0; in crt_out()
[all …]
/dports/devel/z88dk/z88dk/examples/gb/
H A Dpaint.c258 UBYTE cursor_x; variable
343 cursor_x = 40; in splash()
350 for(; cursor_x < 120; cursor_x++) { in splash()
360 for(; cursor_x > 40; cursor_x--) { in splash()
370 cursor_x = 160/2; in splash()
474 if(key & J_LEFT && cursor_x > 0) in run()
475 cursor_x--; in run()
476 if(key & J_RIGHT && cursor_x < 159) in run()
477 cursor_x++; in run()
504 plot(cursor_x, cursor_y, WHITE, SOLID); in run()
[all …]
/dports/misc/bb/bb-1.3.0/
H A Dmessager.c28 static int cursor_x, cursor_y; variable
33 while (cursor_x < aa_scrwidth(context)) { in newline()
34 context->textbuffer[cursor_x + cursor_y * aa_scrwidth(context)] = ' '; in newline()
36 cursor_x++; in newline()
41 cursor_y++, cursor_x = 0; in newline()
57 context->textbuffer[cursor_x + cursor_y * aa_scrwidth(context)] = c; in put()
59 cursor_x++; in put()
60 if (cursor_x == aa_scrwidth(context)) in put()
67 context->textbuffer[cursor_x + cursor_y * aa_scrwidth(context)] = ' '; in putcursor()
68 aa_gotoxy(context, cursor_x, cursor_y); in putcursor()
[all …]
/dports/x11/havoc/havoc-0.3.1/tsm/
H A Dtsm-screen.c74 cur_x = con->cursor_x; in get_cursor_cell()
91 con->cursor_x = x; in move_cursor()
106 con->cursor_x = x; in move_cursor()
1164 x = con->cursor_x; in tsm_screen_move_left()
1217 x = con->cursor_x; in tsm_screen_tab_right()
1246 x = con->cursor_x; in tsm_screen_tab_left()
1302 con->cursor_x = 0; in tsm_screen_insert_lines()
1344 con->cursor_x = 0; in tsm_screen_delete_lines()
1423 x = con->cursor_x; in tsm_screen_erase_cursor()
1441 x = con->cursor_x; in tsm_screen_erase_chars()
[all …]
/dports/math/geogram/geogram-1.7.7/src/lib/third_party/glfw/tests/
H A Dcursor.c66 static double cursor_x; variable
150 x, y, x - cursor_x, y - cursor_y); in cursor_position_callback()
152 cursor_x = x; in cursor_position_callback()
185 glfwGetCursorPos(window, &cursor_x, &cursor_y); in key_callback()
241 x, y, x - cursor_x, y - cursor_y); in key_callback()
242 cursor_x = x; in key_callback()
245 glfwSetCursorPos(window, cursor_x, cursor_y); in key_callback()
249 x, y, x - cursor_x, y - cursor_y); in key_callback()
250 cursor_x = x; in key_callback()
257 glfwGetCursorPos(window, &cursor_x, &cursor_y); in key_callback()
[all …]
/dports/graphics/bonzomatic/Bonzomatic-2021-03-07/external/glfw/tests/
H A Dcursor.c66 static double cursor_x; variable
150 x, y, x - cursor_x, y - cursor_y); in cursor_position_callback()
152 cursor_x = x; in cursor_position_callback()
185 glfwGetCursorPos(window, &cursor_x, &cursor_y); in key_callback()
241 x, y, x - cursor_x, y - cursor_y); in key_callback()
242 cursor_x = x; in key_callback()
245 glfwSetCursorPos(window, cursor_x, cursor_y); in key_callback()
249 x, y, x - cursor_x, y - cursor_y); in key_callback()
250 cursor_x = x; in key_callback()
257 glfwGetCursorPos(window, &cursor_x, &cursor_y); in key_callback()
[all …]
/dports/graphics/glfw/glfw-3.3.4/tests/
H A Dcursor.c66 static double cursor_x; variable
150 x, y, x - cursor_x, y - cursor_y); in cursor_position_callback()
152 cursor_x = x; in cursor_position_callback()
185 glfwGetCursorPos(window, &cursor_x, &cursor_y); in key_callback()
241 x, y, x - cursor_x, y - cursor_y); in key_callback()
242 cursor_x = x; in key_callback()
245 glfwSetCursorPos(window, cursor_x, cursor_y); in key_callback()
249 x, y, x - cursor_x, y - cursor_y); in key_callback()
250 cursor_x = x; in key_callback()
257 glfwGetCursorPos(window, &cursor_x, &cursor_y); in key_callback()
[all …]
/dports/graphics/rx/rx-0.4.0/cargo-crates/glfw-sys-3.3.0/tests/
H A Dcursor.c65 static double cursor_x; variable
149 x, y, x - cursor_x, y - cursor_y); in cursor_position_callback()
151 cursor_x = x; in cursor_position_callback()
184 glfwGetCursorPos(window, &cursor_x, &cursor_y); in key_callback()
240 x, y, x - cursor_x, y - cursor_y); in key_callback()
241 cursor_x = x; in key_callback()
244 glfwSetCursorPos(window, cursor_x, cursor_y); in key_callback()
248 x, y, x - cursor_x, y - cursor_y); in key_callback()
249 cursor_x = x; in key_callback()
256 glfwGetCursorPos(window, &cursor_x, &cursor_y); in key_callback()
[all …]
/dports/misc/tudu/tudu-0.10.3/src/
H A Dtext.cc22 #define cursor_x (cursor_col % cols) macro
77 win._move(cursor_y, cursor_x); in edit()
127 if (0 == cursor_x) ++cursor_y; in edit()
136 win._move(cursor_y, cursor_x); in edit()
253 cursor_col = cursor_x; in _scroll_down()
269 cursor_col = cursor_x; in _scroll_down()
288 if (0 == cursor_x) --cursor_y; in left()
305 if (0 == cursor_x) ++cursor_y; in right()
325 cursor_col = cursor_x; in down()
368 if (0 == cursor_x) --cursor_y; in backspace()
[all …]
/dports/graphics/grafx2/grafx2/src/
H A Dinit.c280 if (++cursor_x>=gui->w) in Parse_skin()
291 if (++cursor_x>=gui->w) in Parse_skin()
302 if (++cursor_x>gui->w) in Parse_skin()
313 if (++cursor_x>=gui->w) in Parse_skin()
324 if (++cursor_x>=gui->w) in Parse_skin()
335 cursor_x=0; in Parse_skin()
468 cursor_x+=29; in Parse_skin()
552 cursor_x+=16; in Parse_skin()
574 cursor_x+=6; in Parse_skin()
596 cursor_x+=6; in Parse_skin()
[all …]
/dports/games/agame/game/
H A Dgame.c36 g->cursor_x = BOARD_W / 2; in game_new()
71 if(g->cursor_x > 0) g->cursor_x --; in game_do()
75 if(g->cursor_x < BOARD_W-2) g->cursor_x ++; in game_do()
79 g->cursor_x = action->data.set_cursor.x; in game_do()
81 if(g->cursor_x < 0) g->cursor_x = 0; in game_do()
82 if(g->cursor_x > BOARD_W-2) g->cursor_x = BOARD_W-2; in game_do()
100 cell = g->cell[g->cursor_x][g->cursor_y]; in game_do()
101 g->cell[g->cursor_x][g->cursor_y] = g->cell[g->cursor_x+1][g->cursor_y]; in game_do()
102 g->cell[g->cursor_x+1][g->cursor_y] = cell; in game_do()
/dports/games/ensemblist/ensemblist-040126/
H A Dmode2.c418 static int cursor_x; variable
426 …[cursor_line].string[cursor_str].str[cursor_x], &lines[cursor_line].string[cursor_str].str[cursor_… in cursor_rem()
440 cursor_x = x; in cursor_set()
441 …g[cursor_str].str[cursor_x+1], &lines[cursor_line].string[cursor_str].str[cursor_x], lines[cursor_… in cursor_set()
456 cursor_x++; in cursor_write()
457 …g[cursor_str].str[cursor_x+1], &lines[cursor_line].string[cursor_str].str[cursor_x], lines[cursor_… in cursor_write()
465 if (cursor_line && cursor_x>0) { in cursor_del_before()
467 …g[cursor_str].str[cursor_x-1], &lines[cursor_line].string[cursor_str].str[cursor_x], lines[cursor_… in cursor_del_before()
470 cursor_x--; in cursor_del_before()
478 …[cursor_str].str[cursor_x+1], &lines[cursor_line].string[cursor_str].str[cursor_x+2], lines[cursor… in cursor_del_after()
[all …]
/dports/net/mosh/mosh-1.3.2/src/terminal/
H A Dterminaldisplay.cc131 frame.cursor_x = frame.cursor_y = 0; in new_frame()
220 frame.cursor_x = 0; in new_frame()
228 frame.cursor_x = frame.cursor_y = -1; in new_frame()
343 frame.cursor_x += cell.get_width(); in put_row()
394 frame.cursor_x = frame_x; in put_row()
425 frame.cursor_x += cell_width; in put_row()
444 frame.cursor_x = frame_x; in put_row()
456 frame.cursor_x = 0; in put_row()
462 frame.cursor_x = 0; in put_row()
491 const int last_x = cursor_x; in append_move()
[all …]
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/
H A Dphosphor.c96 int cursor_x, cursor_y; member
716 state->cursor_x = 0; in clear()
883 state->cursor_x--; in print_char()
888 state->cursor_x = (state->cursor_x & ~7) + 8; in print_char()
892 state->cursor_x = 0; in print_char()
966 state->cursor_x++; in print_char()
973 state->cursor_x = 0; in print_char()
1121 state->cursor_x = 0; in print_char()
1144 state->cursor_x = 0; in print_char()
1172 end = state->cursor_x; in print_char()
[all …]

12345678910>>...37