Searched refs:char_width (Results 1 – 13 of 13) sorted by relevance
| /vim-8.2.3635/src/ |
| H A D | gui.h | 86 # define TEXT_X(col) ((col) * gui.char_width) 88 # define FILL_X(col) ((col) * gui.char_width) 90 # define X_2_COL(x) ((x) / gui.char_width) 93 # define TEXT_X(col) ((col) * gui.char_width + gui.border_offset) 94 # define FILL_X(col) ((col) * gui.char_width + gui.border_offset) 95 # define X_2_COL(x) (((x) - gui.border_offset) / gui.char_width) 288 int char_width; // Width of char cell in pixels member
|
| H A D | gui_gtk_x11.c | 1733 x += gui.char_width; in motion_repeat_timer_cb() 2929 || gui.char_width != old_char_width in update_window_manager_hints() 2935 geometry.width_inc = gui.char_width; in update_window_manager_hints() 2952 old_char_width = gui.char_width; in update_window_manager_hints() 4876 width = gui.char_width * PANGO_SCALE; in ascii_glyph_table_init() 4971 if (gui.char_width <= 0) in gui_mch_init_font() 4972 gui.char_width = 8; in gui_mch_init_font() 5361 num_cells * gui.char_width, in draw_glyph_string() 5757 cluster_width = PANGO_SCALE * gui.char_width; in gui_gtk2_draw_string_ext() 6411 (col2 - col1 + 1) * gui.char_width in gui_mch_clear_block() [all …]
|
| H A D | gui_x11.c | 1709 XtNwidthInc, gui.char_width, in gui_mch_set_shellsize() 1806 gui.char_width = fontset_width(fontset); in gui_mch_init_font() 1817 gui.char_width = font->max_bounds.width; in gui_mch_init_font() 2393 clip.width = gui.char_width * cells + 1; in gui_mch_draw_string() 2416 FILL_Y(row), gui.char_width * cells, gui.char_height); in gui_mch_draw_string() 2538 FILL_X(c), FILL_Y(r), (nc) * gui.char_width, (nr) * gui.char_height); in gui_mch_invert_rectangle() 2573 FILL_Y(gui.row), w * gui.char_width - 1, gui.char_height - 1); in gui_mch_draw_hollow_cursor() 2741 (col2 - col1 + 1) * gui.char_width + (col2 == Columns - 1), in gui_mch_clear_block() 2765 gui.char_width * (gui.scroll_region_right - gui.scroll_region_left + 1) in gui_mch_delete_lines() 2790 gui.char_width * (gui.scroll_region_right - gui.scroll_region_left + 1) in gui_mch_insert_lines() [all …]
|
| H A D | gui.c | 414 gui.char_width = 1; in gui_init_check() 1341 cur_width = gui.char_width; in gui_update_cursor() 1348 cur_width += gui.char_width; in gui_update_cursor() 1684 width = Columns * gui.char_width + base_width; in gui_set_shellsize() 1692 Columns = (screen_w - base_width) / gui.char_width; in gui_set_shellsize() 1695 width = Columns * gui.char_width + base_width; in gui_set_shellsize() 1710 if (did_adjust == 2 || (width + gui.char_width >= screen_w in gui_set_shellsize() 1720 min_width = base_width + MIN_COLUMNS * gui.char_width; in gui_set_shellsize() 1730 if ((width + gui.char_width < screen_w in gui_set_shellsize() 4905 if (x < 0 || x > Columns * gui.char_width) in gui_mouse_focus() [all …]
|
| H A D | gui_xim.c | 166 area.width = gui.char_width * (mb_lefthalve(row, col) ? 2 : 1); in im_set_position() 1270 spot_area.width = gui.char_width * Columns; in xim_set_preedit() 1642 status_area.width = gui.char_width * Columns; in xim_set_status_area() 1673 pre_area.width = gui.char_width * Columns - pre_area.x; in xim_set_status_area() 1688 pre_area.width = gui.char_width * Columns; in xim_set_status_area()
|
| H A D | gui_w32.c | 1685 rc.right = rc.left + nc * gui.char_width; in gui_mch_invert_rectangle() 1718 rc.right = rc.left + gui.char_width; in gui_mch_draw_hollow_cursor() 1720 rc.right += gui.char_width; in gui_mch_draw_hollow_cursor() 2962 *cols = (w - base_width) / gui.char_width; in gui_mswin_get_valid_dimensions() 2983 rc.right = gui.num_cols * gui.char_width; in gui_mch_flash() 6212 padding[i] = gui.char_width; in gui_mch_draw_string() 6298 unicodepdy[wlen - 2] = cw * gui.char_width; in gui_mch_draw_string() 6315 gui.char_width, gui.currFgColor, in gui_mch_draw_string() 6352 unicodepdy[i] = cw * gui.char_width; in gui_mch_draw_string() 8287 w = gui.char_width * 2; in gui_mch_drawsign() [all …]
|
| H A D | hardcopy.c | 3228 float char_width; in mch_print_text_out() local 3234 char_width = prt_char_width; in mch_print_text_out() 3267 char_width /= 2; in mch_print_text_out() 3416 prt_text_run += char_width; in mch_print_text_out() 3417 prt_pos_x += char_width; in mch_print_text_out()
|
| H A D | gui_athena.c | 186 data = (data - gui.char_width + 1) / gui.char_width; in gui_athena_scroll_cb_scroll() 192 data = (data + gui.char_width - 1) / gui.char_width; in gui_athena_scroll_cb_scroll()
|
| H A D | gui_photon.c | 2037 rect.lr.x = rect.ul.x + nc * gui.char_width; in gui_mch_invert_rectangle() 2070 { Columns * gui.char_width + gui.border_width - 1 , in gui_mch_clear_all() 2229 r.lr.x = r.ul.x + gui.char_width - 1; in gui_mch_draw_hollow_cursor() 2915 gui.char_width = extent.lr.x - extent.ul.x + 1; in gui_mch_init_font()
|
| H A D | gui_haiku.cc | 1122 adjust_w = ((int)new_width - gui_get_base_width()) % gui.char_width; in FrameResized() 3516 gui.char_width, // int32 width = 0, in gui_mch_set_shellsize() 3948 gui.char_width = (int) vf->StringWidth("n"); in gui_mch_set_font() 4170 rect.right = rect.left + nc * gui.char_width - PEN_WIDTH; in gui_mch_invert_rectangle() 4231 r.right = r.left + cells*gui.char_width - PEN_WIDTH; in gui_mch_draw_hollow_cursor()
|
| H A D | gui_beval.c | 953 PANGO_SCALE * CLAMP(gui.num_cols * gui.char_width, in drawBalloon()
|
| H A D | terminal.c | 4490 x += wp->w_wincol * gui.char_width; in parse_csi()
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | version6.txt | 5855 Solution: Avoid that char_width becomes zero. (Yasuhiro Matsumoto)
|