diff options
Diffstat (limited to 'Libraries/LibLine/SuggestionDisplay.h')
-rw-r--r-- | Libraries/LibLine/SuggestionDisplay.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Libraries/LibLine/SuggestionDisplay.h b/Libraries/LibLine/SuggestionDisplay.h index 6798ada5d8..346ee4bc59 100644 --- a/Libraries/LibLine/SuggestionDisplay.h +++ b/Libraries/LibLine/SuggestionDisplay.h @@ -45,18 +45,18 @@ public: virtual void set_vt_size(size_t lines, size_t columns) = 0; - size_t origin_x() const { return m_origin_x; } - size_t origin_y() const { return m_origin_y; } + size_t origin_row() const { return m_origin_row; } + size_t origin_col() const { return m_origin_column; } - void set_origin(int x, int y, Badge<Editor>) + void set_origin(int row, int col, Badge<Editor>) { - m_origin_x = x; - m_origin_y = y; + m_origin_row = row; + m_origin_column = col; } protected: - int m_origin_x { 0 }; - int m_origin_y { 0 }; + int m_origin_row { 0 }; + int m_origin_column { 0 }; }; class XtermSuggestionDisplay : public SuggestionDisplay { |