[vte/wip/sixels: 63/82] ring: Move more image bookkeeping vars to private section
- From: Hans Petter Jansson <hansp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/sixels: 63/82] ring: Move more image bookkeeping vars to private section
- Date: Fri, 26 Jun 2020 00:48:24 +0000 (UTC)
commit f6447f5200783e0a5e46882fd788d692c2b2b5a4
Author: Hans Petter Jansson <hpj cl no>
Date: Sun Jun 21 00:11:43 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]