diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-05-07 13:43:43 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-05-07 16:26:14 +0100 |
| commit | 4e9193a97525efef93c097bd86934ec821dbeeeb (patch) | |
| tree | 9da6861fdd74c5dfbdb0f69d25825a612f255d81 /src/window.hh | |
| parent | b4b08d10b4966c73b56c0823fe888117482ac9df (diff) | |
Slight highlighting related code cleanup
Diffstat (limited to 'src/window.hh')
| -rw-r--r-- | src/window.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/window.hh b/src/window.hh index b287c80b..b2db63fc 100644 --- a/src/window.hh +++ b/src/window.hh @@ -21,6 +21,8 @@ public: const DisplayCoord& position() const { return m_position; } void set_position(DisplayCoord position); + const DisplayCoord& range() const { return m_range; } + const DisplayCoord& dimensions() const { return m_dimensions; } void set_dimensions(DisplayCoord dimensions); @@ -46,8 +48,6 @@ public: void set_client(Client* client) { m_client = client; } - const DisplaySetup& display_setup() const { return m_display_setup; } - void clear_display_buffer(); private: Window(const Window&) = delete; @@ -62,8 +62,8 @@ private: SafePtr<Client> m_client; DisplayCoord m_position; + DisplayCoord m_range; DisplayCoord m_dimensions; - DisplaySetup m_display_setup; DisplayBuffer m_display_buffer; HighlighterGroup m_highlighters; |
