Lines Matching refs:gui
86 # define TEXT_X(col) ((col) * gui.char_width)
87 # define TEXT_Y(row) ((row) * gui.char_height + gui.char_ascent)
88 # define FILL_X(col) ((col) * gui.char_width)
89 # define FILL_Y(row) ((row) * gui.char_height)
90 # define X_2_COL(x) ((x) / gui.char_width)
91 # define Y_2_ROW(y) ((y) / gui.char_height)
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)
96 # define TEXT_Y(row) ((row) * gui.char_height + gui.char_ascent \
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)
479 extern gui_T gui; // this is defined in gui.c