remove unused BufferPane::draw_buffer_character()
This commit is contained in:
parent
b5cb693317
commit
be201ab73d
@ -377,22 +377,6 @@ int BufferPane::character_width(uint32_t character)
|
||||
}
|
||||
}
|
||||
|
||||
void BufferPane::draw_buffer_character(int screen_column, int screen_row, uint32_t character)
|
||||
{
|
||||
if (character < 0x20u)
|
||||
{
|
||||
m_window->gl()->draw_character(win_x(col_x(screen_column)), win_y(row_y(screen_row)),
|
||||
'^', *m_window->font(), 1.0, 1.0, 1.0, 1.0);
|
||||
m_window->gl()->draw_character(win_x(col_x(screen_column + 1)), win_y(row_y(screen_row)),
|
||||
(character - 0x20u + 'A'), *m_window->font(), 1.0, 1.0, 1.0, 1.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_window->gl()->draw_character(win_x(col_x(screen_column)), win_y(row_y(screen_row)),
|
||||
character, *m_window->font(), 1.0, 1.0, 1.0, 1.0);
|
||||
}
|
||||
}
|
||||
|
||||
void BufferPane::draw_cursor(int x, int y, int i, int columns)
|
||||
{
|
||||
if (m_command_mode && (!m_focused))
|
||||
|
@ -45,7 +45,6 @@ protected:
|
||||
int draw_buffer_line(int screen_row, const Buffer::Iterator & start_of_line);
|
||||
void draw_character(uint32_t character, int screen_row, int screen_column);
|
||||
int character_width(uint32_t character);
|
||||
void draw_buffer_character(int screen_column, int screen_row, uint32_t character);
|
||||
void draw_cursor(int x, int y, int i, int columns);
|
||||
int calculate_rows_in_cursor_line(const Buffer::Iterator & start_of_line);
|
||||
int calculate_rows_in_line_with_iterator_offset(const Buffer::Iterator & start_of_line, const Buffer::Iterator & reference, int * iterator_row_offset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user