[vte/wip/sixels: 73/111] ring: Move more image bookkeeping vars to private section




commit efc90902516badf9ea63cd6645d8daa25f5cfc70
Author: Hans Petter Jansson <hpj cl no>
Date:   Sat Aug 8 20:42:49 2020 +0200

    ring: Move more image bookkeeping vars to private section

 src/ring.hh | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/src/ring.hh b/src/ring.hh
index ce5fbc74..ab1b58a4 100644
--- a/src/ring.hh
+++ b/src/ring.hh
@@ -104,17 +104,8 @@ public:
                             GCancellable* cancellable,
                             GError** error);
 
-        /* FIXME-hpj: These should be private, but are being accessed from the Terminal class for now:
-         *
-         * >>> */
-
-        int m_next_image_priority;
-
         std::map<gint, vte::image::Image *> *m_image_by_top_map;
         std::map<int, vte::image::Image *> *m_image_priority_map;
-        unsigned int m_image_fast_memory_used;
-
-        /* <<< */
 
 private:
 
@@ -251,6 +242,11 @@ private:
         hyperlink_idx_t m_hyperlink_hover_idx{0};  /* The hyperlink idx of the hovered cell.
                                                  An idx is allocated on hover even if the cell is scrolled 
out to the streams. */
         row_t m_hyperlink_maybe_gc_counter{0};  /* Do a GC when it reaches 65536. */
+
+        /* Image bookkeeping */
+
+        int m_next_image_priority;
+        unsigned int m_image_fast_memory_used;
 };
 
 }; /* namespace base */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]