[vte/wip/sixels: 27/111] image: Cosmetic changes to variable ordering and comments




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

    image: Cosmetic changes to variable ordering and comments

 src/image.hh | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/src/image.hh b/src/image.hh
index bc13e764..73852b5c 100644
--- a/src/image.hh
+++ b/src/image.hh
@@ -25,19 +25,20 @@ namespace image {
 
 struct Image {
 private:
-        gint m_left;                /* left position in cell unit at the vte virtual screen */
-        gint m_width;               /* width in cell unit */
-        gint m_top;                 /* top position in cell unit at the vte virtual screen */
-        gint m_height;              /* height in cell unit */
-        VteStream *m_stream;        /* NULL if it's serialized */
-        gint m_pixelwidth;          /* image width in pixels */
-        gint m_pixelheight;         /* image hieght in pixels */
-        gulong m_position;          /* indicates the position at the stream if it's serialized */
-        size_t m_nread;             /* private use: for read callback */
-        size_t m_nwrite;            /* private use: for write callback */
-        cairo_surface_t *m_surface; /* internal cairo image */
+        gint m_pixelwidth;          /* Image width in pixels */
+        gint m_pixelheight;         /* Image height in pixels */
+        gint m_left;                /* Left position in cell units */
+        gint m_top;                 /* Top position in cell units */
+        gint m_width;               /* Width in cell units */
+        gint m_height;              /* Height in cell units */
+        VteStream *m_stream;        /* For serialization */
+        gulong m_position;          /* Indicates the position at the stream if it's serialized */
+        size_t m_nread;             /* Private use: for read callback */
+        size_t m_nwrite;            /* Private use: for write callback */
+        cairo_surface_t *m_surface; /* Internal cairo image */
 public:
-        explicit Image(cairo_surface_t *surface, gint pixelwidth, gint pixelheight, gint col, gint row, gint 
w, gint h, _VteStream *stream);
+        explicit Image(cairo_surface_t *surface, gint pixelwidth, gint pixelheight,
+                       gint col, gint row, gint w, gint h, _VteStream *stream);
         ~Image();
         glong get_left() const;
         glong get_top() const;


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