summaryrefslogtreecommitdiff
path: root/src/ncurses_ui.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-09-16 23:01:13 +1000
committerMaxime Coste <mawww@kakoune.org>2019-09-25 22:46:39 +1000
commitf855deaf8b50e6ac6aa030d32769ac175ab75a2d (patch)
treea89d1388c7d522b0fc008c918758b6b229ce928f /src/ncurses_ui.hh
parent9c2d2ad694635ca53ae4e197ac3a3a1116557525 (diff)
Refactor NCursesUI::Window to reduce the exposed methods
This should make an alternate implementation simpler as less state has to be tracked.
Diffstat (limited to 'src/ncurses_ui.hh')
-rw-r--r--src/ncurses_ui.hh7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ncurses_ui.hh b/src/ncurses_ui.hh
index 3a7b406a..021a02e6 100644
--- a/src/ncurses_ui.hh
+++ b/src/ncurses_ui.hh
@@ -103,13 +103,8 @@ private:
void mark_dirty(LineCount pos, LineCount count);
void draw_line(Palette& palette,
const DisplayLine& line,
- ColumnCount col_index,
- ColumnCount max_column,
+ ColumnCount width,
const Face& default_face);
- void add_str(StringView str);
- void clear_to_end_of_line();
- void set_face(Palette& palette, Face face, const Face& default_face);
- void set_background_color(Palette& palette, Face face);
explicit operator bool() const { return win; }