Searched refs:border_offset (Results 1 – 11 of 11) sorted by relevance
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)97 + gui.border_offset)98 # define FILL_Y(row) ((row) * gui.char_height + gui.border_offset)99 # define Y_2_ROW(y) (((y) - gui.border_offset) / gui.char_height)293 int border_offset; // Total pixel offset for all borders member
1100 w += gui.border_offset << 1; in drawBalloon()1101 h += gui.border_offset << 1; in drawBalloon()1115 w += gui.border_offset << 1; in drawBalloon()1116 h += gui.border_offset << 1; in drawBalloon()
1645 status_area.y = gui.char_height * Rows + gui.border_offset; in xim_set_status_area()1658 status_area.y = gui.char_height * Rows + gui.border_offset; in xim_set_status_area()1672 pre_area.y = gui.char_height * Rows + gui.border_offset; in xim_set_status_area()
1444 text_area_width = gui.num_cols * gui.char_width + gui.border_offset * 2; in gui_position_components()1445 text_area_height = gui.num_rows * gui.char_height + gui.border_offset * 2; in gui_position_components()1480 base_width = 2 * gui.border_offset; in gui_get_base_width()1496 base_height = 2 * gui.border_offset; in gui_get_base_height()4309 y = sb->top * gui.char_height + gui.border_offset; in gui_update_scrollbars()4335 h += gui.border_offset; in gui_update_scrollbars()4336 y -= gui.border_offset; in gui_update_scrollbars()
2518 FILL_X((int)Columns) + gui.border_offset, in gui_mch_flash()2519 FILL_Y((int)Rows) + gui.border_offset); in gui_mch_flash()2523 FILL_X((int)Columns) + gui.border_offset, in gui_mch_flash()2524 FILL_Y((int)Rows) + gui.border_offset); in gui_mch_flash()
3796 gui.border_offset = gui.border_width; in gui_mch_init()5691 area.x = gui.border_offset; in gui_gtk2_draw_string_ext()6026 FILL_X((int)Columns) + gui.border_offset, in gui_mch_flash()6027 FILL_Y((int)Rows) + gui.border_offset); in gui_mch_flash()6035 FILL_X((int)Columns) + gui.border_offset, in gui_mch_flash()6036 FILL_Y((int)Rows) + gui.border_offset); in gui_mch_flash()
401 gui.border_offset = gui.border_width; in gui_x11_create_widgets()1728 h -= gui.border_offset; in gui_mch_set_scrollbar_pos()1730 y -= gui.border_offset; in gui_mch_set_scrollbar_pos()
236 gui.border_offset = gui.border_width; in gui_x11_create_widgets()
2936 (void)SetCursorPos(x + gui.border_offset + rct.left, in gui_mch_setmouse()2937 y + gui.border_offset + rct.top); in gui_mch_setmouse()5419 gui.border_offset = gui.border_width; in gui_mch_init()
1135 gui.border_offset = gui.border_width = GUI_PH_MARGIN + 2; in gui_mch_init()
3342 gui.border_offset = 3; // coordinates are inside window borders in gui_mch_init()